You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ch...@apache.org on 2013/01/24 23:35:25 UTC
svn commit: r1438240 [3/3] - in /pig/trunk: ./ conf/
contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/data/jh/
contrib/zebra/src/test/e2e/mergeJoin/ contrib/zebra/src/test/e2e/multi-query/
contrib/zebra/src/test/e2e/orderPreserveUnion...
Modified: pig/trunk/test/org/apache/pig/newplan/logical/relational/LOTestHelper.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/newplan/logical/relational/LOTestHelper.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/newplan/logical/relational/LOTestHelper.java (original)
+++ pig/trunk/test/org/apache/pig/newplan/logical/relational/LOTestHelper.java Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.pig.newplan.logical.relational;
import org.apache.hadoop.conf.Configuration;
Modified: pig/trunk/test/org/apache/pig/newplan/logical/relational/TestLocationInPhysicalPlan.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/newplan/logical/relational/TestLocationInPhysicalPlan.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/newplan/logical/relational/TestLocationInPhysicalPlan.java (original)
+++ pig/trunk/test/org/apache/pig/newplan/logical/relational/TestLocationInPhysicalPlan.java Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.pig.newplan.logical.relational;
import java.io.File;
Modified: pig/trunk/test/org/apache/pig/test/PigExecTestCase.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/PigExecTestCase.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/PigExecTestCase.java (original)
+++ pig/trunk/test/org/apache/pig/test/PigExecTestCase.java Thu Jan 24 22:35:22 2013
@@ -0,0 +1,18 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
Modified: pig/trunk/test/org/apache/pig/test/PigStorageWithStatistics.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/PigStorageWithStatistics.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/PigStorageWithStatistics.java (original)
+++ pig/trunk/test/org/apache/pig/test/PigStorageWithStatistics.java Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.pig.test;
import java.io.IOException;
Modified: pig/trunk/test/org/apache/pig/test/TestDefaultDateTimeZone.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestDefaultDateTimeZone.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestDefaultDateTimeZone.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestDefaultDateTimeZone.java Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.pig.test;
import java.io.File;
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult2.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult2.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult2.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult2.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult3.txt
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult3.txt?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult3.txt (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult3.txt Thu Jan 24 22:35:22 2013
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
register /data/pigudf.jar;
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult4.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult4.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult4.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult4.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult6.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult6.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult6.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult6.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
define mymacro1(A, rate) returns B {
C = group $A by $0 parallel $rate;
B = foreach C generate group, COUNT($A);
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResult7.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResult7.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResult7.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResult7.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228_woah' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResultCmdLnPriorDeclare.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResultCmdLnPriorDeclare.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResultCmdLnPriorDeclare.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResultCmdLnPriorDeclare.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResultComment.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResultComment.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResultComment.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResultComment.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
-- %declare date '20080228'
-- l = load '$xyz';
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResultDefault.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResultDefault.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResultDefault.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResultDefault.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResultDollarSign.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResultDollarSign.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResultDollarSign.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResultDollarSign.pig Thu Jan 24 22:35:22 2013
@@ -1,2 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
a = load 'data';
b = filter by ($0 == 'x') and ($1 == 'y');
Modified: pig/trunk/test/org/apache/pig/test/data/ExpectedResultMulDecs.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/ExpectedResultMulDecs.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/ExpectedResultMulDecs.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/ExpectedResultMulDecs.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/explainScript.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/explainScript.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/explainScript.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/explainScript.pig Thu Jan 24 22:35:22 2013
@@ -1 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
rmf input-copy.txt; cat 'foo'; a = load '1.txt' ; aliases;illustrate a; copyFromLocal foo bar; copyToLocal foo bar; describe a; mkdir foo; run bar.pig; exec bar.pig; cp foo bar; explain a;cd 'bar'; pwd; ls ; fs -ls ; fs -rmr foo; mv foo bar; dump a;store a into 'input-copy.txt' ; a = load '2.txt' as (b);explain a; rm foo; store a into 'bar';
Modified: pig/trunk/test/org/apache/pig/test/data/generate_date.sh
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/generate_date.sh?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/generate_date.sh (original)
+++ pig/trunk/test/org/apache/pig/test/data/generate_date.sh Thu Jan 24 22:35:22 2013
@@ -1,4 +1,20 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
if [ $# -eq 0 ]
then
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
A = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int, y:int);
B = distinct A;
C = FILTER B by x > 3;
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate2.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate2.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate2.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate2.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
A = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int, y:int);
B = FILTER A by x > 3;
C = FILTER A by x < 3;
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate3.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate3.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate3.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate3.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
A = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int);
A1 = group A by x;
A2 = foreach A1 generate group, COUNT(A);
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate4.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate4.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate4.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate4.pig Thu Jan 24 22:35:22 2013
@@ -1,2 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
A = load 'test/org/apache/pig/test/data/TestIllustrateInput_invalid.txt' using PigStorage(',') as (x:int, y:int);
STORE A INTO 'A.txt';
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate5.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate5.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate5.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate5.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
A = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int, y:int);
B = group A by x;
C = foreach B generate group, COUNT(A);
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate6.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate6.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate6.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate6.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
a = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int, y:int);
b = group a all;
c = foreach b generate COUNT(a) as count; d = foreach a generate x / c.count; store d into 'test.out';
Modified: pig/trunk/test/org/apache/pig/test/data/illustrate7.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/illustrate7.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/illustrate7.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/illustrate7.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
a = load 'test/org/apache/pig/test/data/TestIllustrateInput.txt' as (x:int, y:int);
b = load 'test/org/apache/pig/test/data/TestIllustrateInput2.txt' as (x:int, y:int);
c = join a by x, b by x;
Modified: pig/trunk/test/org/apache/pig/test/data/input1.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input1.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input1.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input1.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/input2.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input2.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input2.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input2.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$param' using PigStorage('\x01');
%declare param '2008.txt'
Modified: pig/trunk/test/org/apache/pig/test/data/input3.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input3.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input3.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input3.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/input4.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input4.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input4.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input4.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%declare date `sh test/org/apache/pig/test/data/generate_date.sh`
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
Modified: pig/trunk/test/org/apache/pig/test/data/input5.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input5.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input5.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input5.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
%declare udfs /data/pigudf.jar
register $udfs;
Modified: pig/trunk/test/org/apache/pig/test/data/input6.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input6.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input6.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input6.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
define mymacro1(A, rate) returns B {
C = group $A by $0 parallel $rate;
B = foreach C generate group, COUNT($A);
Modified: pig/trunk/test/org/apache/pig/test/data/input7.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/input7.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/input7.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/input7.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/${date}_woah' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputCmdlineParamPriortoDeclare.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputCmdlineParamPriortoDeclare.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputCmdlineParamPriortoDeclare.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputCmdlineParamPriortoDeclare.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$param' using PigStorage('\x01');
%declare param '2008.txt'
Modified: pig/trunk/test/org/apache/pig/test/data/inputCmdnameAsParamDeclare.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputCmdnameAsParamDeclare.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputCmdnameAsParamDeclare.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputCmdnameAsParamDeclare.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%declare cmd 'test/org/apache/pig/test/data/generate_date'
%declare date '20080228'
Modified: pig/trunk/test/org/apache/pig/test/data/inputComment.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputComment.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputComment.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputComment.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
-- %declare date '20080228'
-- l = load '$xyz';
%default date /* comment */ 1000 -- setting default
Modified: pig/trunk/test/org/apache/pig/test/data/inputDefault.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputDefault.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputDefault.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputDefault.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%default date '20080228'
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputDollarSign.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputDollarSign.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputDollarSign.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputDollarSign.pig Thu Jan 24 22:35:22 2013
@@ -1,2 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
a = load 'data';
b = filter by $filter;
Modified: pig/trunk/test/org/apache/pig/test/data/inputEscape.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputEscape.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputEscape.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputEscape.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%default column1 'asdf'
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputMultipleDeclares.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputMultipleDeclares.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputMultipleDeclares.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputMultipleDeclares.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputMultipleParams.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputMultipleParams.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputMultipleParams.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputMultipleParams.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputNoVars.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputNoVars.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputNoVars.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputNoVars.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
register /home/y/lib/java/pigtest/testudf.jar;
A = load '/user/pig/tests/data/singlefile/textdoc' using TextLoader();
Modified: pig/trunk/test/org/apache/pig/test/data/inputSubWithinLiteral.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputSubWithinLiteral.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputSubWithinLiteral.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputSubWithinLiteral.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinShellCommand.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinShellCommand.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinShellCommand.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinShellCommand.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%DECLARE date '20080228'
Modified: pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinValue.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinValue.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinValue.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputSubstitutionWithinValue.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%Declare var1 '1'
%DECLARE var2 '6'
Modified: pig/trunk/test/org/apache/pig/test/data/inputThreeParams.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/inputThreeParams.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/inputThreeParams.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/inputThreeParams.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
%default tableName 'value to be skipped'
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/$date' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/jsonStorage1.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/jsonStorage1.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/jsonStorage1.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/jsonStorage1.pig Thu Jan 24 22:35:22 2013
@@ -1,2 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
a = load 'test/org/apache/pig/test/data/jsonStorage1.txt' as (a0:int, a1:{t:(a10:int, a11:chararray)},a2:(a20:double, a21), a3:map[chararray]);
store a into 'jsonStorage1.json' using JsonStorage();
Modified: pig/trunk/test/org/apache/pig/test/data/output1.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/output1.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/output1.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/output1.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/output3.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/output3.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/output3.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/output3.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01');
bb = filter aa by (ARITY == '16') and ( $4 eq '' or $4 eq 'NULL' or $4 eq 'ss') parallel 400;
Modified: pig/trunk/test/org/apache/pig/test/data/testsub.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/testsub.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/testsub.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/testsub.pig Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
foo = load '$FILE' as (foo, fast, regenerate);
bar = limit foo $LIMIT;
baz = foreach bar generate $FUNCTION($0);
Modified: pig/trunk/test/org/apache/pig/test/data/testsubnested_exec.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/testsubnested_exec.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/testsubnested_exec.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/testsubnested_exec.pig Thu Jan 24 22:35:22 2013
@@ -1 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
exec -param_file test/org/apache/pig/test/data/test.ppf test/org/apache/pig/test/data/testsub.pig;
Modified: pig/trunk/test/org/apache/pig/test/data/testsubnested_run.pig
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/data/testsubnested_run.pig?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/data/testsubnested_run.pig (original)
+++ pig/trunk/test/org/apache/pig/test/data/testsubnested_run.pig Thu Jan 24 22:35:22 2013
@@ -1 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
run -param LIMIT=5 -param FILE=foo -param FUNCTION=COUNT test/org/apache/pig/test/data/testsub.pig;
Modified: pig/trunk/test/resources/org/apache/pig/test/ClassLoaderSanityCheck.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/resources/org/apache/pig/test/ClassLoaderSanityCheck.java?rev=1438240&r1=1438239&r2=1438240&view=diff
==============================================================================
--- pig/trunk/test/resources/org/apache/pig/test/ClassLoaderSanityCheck.java (original)
+++ pig/trunk/test/resources/org/apache/pig/test/ClassLoaderSanityCheck.java Thu Jan 24 22:35:22 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.pig.test;
/**