You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2015/03/26 18:46:43 UTC
[2/8] incubator-streams git commit: added AL headers to test scripts
added AL headers to test scripts
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/a3240c84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/a3240c84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/a3240c84
Branch: refs/heads/master
Commit: a3240c84e1dd4988b6ffdc606a5c991cd5ddc34f
Parents: db5b199
Author: sblackmon <sb...@w2odigital.com>
Authored: Tue Feb 10 15:41:51 2015 -0600
Committer: sblackmon <sb...@w2odigital.com>
Committed: Tue Feb 10 15:41:51 2015 -0600
----------------------------------------------------------------------
.../src/test/resources/pigconvertertest.pig | 19 +++++++++++++++++++
.../test/resources/pigprocessdatumcopytest.pig | 19 +++++++++++++++++++
.../src/test/resources/pigprocessdatumtest.pig | 19 +++++++++++++++++++
.../resources/pigprocessdocumentappendtest.pig | 19 +++++++++++++++++++
.../test/resources/pigprocessdocumenttest.pig | 19 +++++++++++++++++++
5 files changed, 95 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/a3240c84/streams-runtimes/streams-runtime-pig/src/test/resources/pigconvertertest.pig
----------------------------------------------------------------------
diff --git a/streams-runtimes/streams-runtime-pig/src/test/resources/pigconvertertest.pig b/streams-runtimes/streams-runtime-pig/src/test/resources/pigconvertertest.pig
index 9e92f16..f515429 100644
--- a/streams-runtimes/streams-runtime-pig/src/test/resources/pigconvertertest.pig
+++ b/streams-runtimes/streams-runtime-pig/src/test/resources/pigconvertertest.pig
@@ -1,3 +1,22 @@
+/*
+ * 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 PROCESSOR org.apache.streams.pig.StreamsProcessDatumExec('org.apache.streams.converter.ActivityConverterProcessor');
in = LOAD '*' USING PigStorage('\t') AS (id: chararray, source: chararray, timestamp: long, object: chararray);
out = FOREACH in GENERATE FLATTEN(PROCESSOR(id, source, timestamp, object));
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/a3240c84/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumcopytest.pig
----------------------------------------------------------------------
diff --git a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumcopytest.pig b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumcopytest.pig
index 63e5fa8..1c472ee 100644
--- a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumcopytest.pig
+++ b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumcopytest.pig
@@ -1,3 +1,22 @@
+/*
+ * 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 PROCESSOR org.apache.streams.pig.StreamsProcessDatumExec('org.apache.streams.pig.test.CopyThriceProcessor');
in = LOAD '*' USING PigStorage('\t') AS (id: chararray, source: chararray, timestamp: long, object: chararray);
out = FOREACH in GENERATE FLATTEN(PROCESSOR(id, source, timestamp, object));
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/a3240c84/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumtest.pig
----------------------------------------------------------------------
diff --git a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumtest.pig b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumtest.pig
index 7271add..e4d75bb 100644
--- a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumtest.pig
+++ b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdatumtest.pig
@@ -1,3 +1,22 @@
+/*
+ * 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 PROCESSOR org.apache.streams.pig.StreamsProcessDatumExec('org.apache.streams.pig.test.DoNothingProcessor');
in = LOAD '*' USING PigStorage('\t') AS (id: chararray, source: chararray, timestamp: long, object: chararray);
out = FOREACH in GENERATE FLATTEN(PROCESSOR(id, source, timestamp, object));
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/a3240c84/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumentappendtest.pig
----------------------------------------------------------------------
diff --git a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumentappendtest.pig b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumentappendtest.pig
index 6b159ea..20b6055 100644
--- a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumentappendtest.pig
+++ b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumentappendtest.pig
@@ -1,3 +1,22 @@
+/*
+ * 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 PROCESSOR org.apache.streams.pig.StreamsProcessDocumentExec('org.apache.streams.pig.test.AppendStringProcessor', 'doody');
in = LOAD '*' USING PigStorage('\t') AS (id: chararray, source: chararray, timestamp: long, object: chararray);
out = FOREACH in GENERATE id, source, timestamp, PROCESSOR(object);
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/a3240c84/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumenttest.pig
----------------------------------------------------------------------
diff --git a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumenttest.pig b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumenttest.pig
index 60df581..599c83f 100644
--- a/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumenttest.pig
+++ b/streams-runtimes/streams-runtime-pig/src/test/resources/pigprocessdocumenttest.pig
@@ -1,3 +1,22 @@
+/*
+ * 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 PROCESSOR org.apache.streams.pig.StreamsProcessDocumentExec('org.apache.streams.pig.test.DoNothingProcessor');
in = LOAD '*' USING PigStorage('\t') AS (id: chararray, source: chararray, timestamp: long, object: chararray);
out = FOREACH in GENERATE id, source, timestamp, PROCESSOR(object);