This is an automated email from the ASF dual-hosted git repository.
smarthi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git
The following commit(s) were added to refs/heads/master by this push:
new ed54eb2 [MINOR] Add missing licenses (#1271)
ed54eb2 is described below
commit ed54eb20a5c9c82c348bc39387ef73f835ad6821
Author: leesf <[email protected]>
AuthorDate: Wed Jan 22 21:06:45 2020 +0800
[MINOR] Add missing licenses (#1271)
---
docker/demo/presto-batch1.commands | 18 ++++++++++++++++++
docker/demo/presto-batch2-after-compaction.commands | 18 ++++++++++++++++++
docker/demo/presto-table-check.commands | 18 ++++++++++++++++++
.../hudi/utilities/TestHiveIncrementalPuller.java | 18 ++++++++++++++++++
4 files changed, 72 insertions(+)
diff --git a/docker/demo/presto-batch1.commands
b/docker/demo/presto-batch1.commands
index 3e39df8..35f2b51 100644
--- a/docker/demo/presto-batch1.commands
+++ b/docker/demo/presto-batch1.commands
@@ -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.
+################################################################################
+
select symbol, max(ts) from stock_ticks_cow group by symbol HAVING symbol =
'GOOG';
select symbol, max(ts) from stock_ticks_mor_ro group by symbol HAVING symbol =
'GOOG';
select symbol, ts, volume, open, close from stock_ticks_cow where symbol =
'GOOG';
diff --git a/docker/demo/presto-batch2-after-compaction.commands
b/docker/demo/presto-batch2-after-compaction.commands
index dee4630..11d094b 100644
--- a/docker/demo/presto-batch2-after-compaction.commands
+++ b/docker/demo/presto-batch2-after-compaction.commands
@@ -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.
+################################################################################
+
select symbol, max(ts) from stock_ticks_mor_ro group by symbol HAVING symbol =
'GOOG';
select symbol, ts, volume, open, close from stock_ticks_mor_ro where symbol
= 'GOOG';
diff --git a/docker/demo/presto-table-check.commands
b/docker/demo/presto-table-check.commands
index 26abcfc..bcbeeed 100644
--- a/docker/demo/presto-table-check.commands
+++ b/docker/demo/presto-table-check.commands
@@ -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.
+################################################################################
+
show tables;
diff --git
a/hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHiveIncrementalPuller.java
b/hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHiveIncrementalPuller.java
index 74a7587..8c9f5ec 100644
---
a/hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHiveIncrementalPuller.java
+++
b/hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHiveIncrementalPuller.java
@@ -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.hudi.utilities;
import org.junit.Assert;