This is an automated email from the ASF dual-hosted git repository. qiaojialin pushed a commit to branch update_license in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 6749bb1ad675239d0ac0bca3fceb3d7ddedbf08e Author: qiaojialin <[email protected]> AuthorDate: Tue Mar 12 13:58:02 2019 +0800 update license in SQL Parser and License --- License | 16 ++++++++-------- .../org/apache/iotdb/db/sql/parse/AstErrorNode.java | 21 +++++++++++++++++++++ .../java/org/apache/iotdb/db/sql/parse/AstNode.java | 21 +++++++++++++++++++++ .../apache/iotdb/db/sql/parse/AstNodeOrigin.java | 20 ++++++++++++++++++++ .../java/org/apache/iotdb/db/sql/parse/Node.java | 21 +++++++++++++++++++++ .../org/apache/iotdb/db/sql/parse/ParseDriver.java | 21 +++++++++++++++++++++ .../org/apache/iotdb/db/sql/parse/ParseError.java | 21 +++++++++++++++++++++ .../apache/iotdb/db/sql/parse/ParseException.java | 21 +++++++++++++++++++++ .../org/apache/iotdb/db/sql/parse/ParseUtils.java | 21 +++++++++++++++++++++ 9 files changed, 175 insertions(+), 8 deletions(-) diff --git a/License b/License index cd6febd..56aa849 100644 --- a/License +++ b/License @@ -210,11 +210,11 @@ for text of these licenses. Apache Software Foundation License 2.0 -------------------------------------- -ql/src/java/org/apache/hadoop/hive/ql/lib/Node.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ASTErrorNode.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNodeOrigin.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ParseError.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ParseException.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java -ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstErrorNode.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNode.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNodeOrigin.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/Node.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseDriver.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseError.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseException.java +iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseUtils.java \ No newline at end of file diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstErrorNode.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstErrorNode.java index a54123d..2227273 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstErrorNode.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstErrorNode.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ASTErrorNode.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import org.antlr.runtime.RecognitionException; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNode.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNode.java index 6911e89..b36dae1 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNode.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNode.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ASTNode.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import java.io.Serializable; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNodeOrigin.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNodeOrigin.java index 7cf5bc2..f021847 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNodeOrigin.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/AstNodeOrigin.java @@ -32,6 +32,26 @@ package org.apache.iotdb.db.sql.parse; * with a reference to an AstNodeOrign describing v and its usage within the query. */ +/** + * Based on ASTNodeOrigin.java from Apache Hive + * + * 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. + */ + public class AstNodeOrigin { private final String objectType; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/Node.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/Node.java index c8a39ac..e3ce3e7 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/Node.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/Node.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on Node.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import java.util.List; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseDriver.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseDriver.java index 72fb845..6e1d6c2 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseDriver.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseDriver.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ParseDriver.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import java.util.ArrayList; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseError.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseError.java index 5859468..6662f2e 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseError.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseError.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ParseError.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import org.antlr.runtime.BaseRecognizer; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseException.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseException.java index 517d7ae..f6fe8fe 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseException.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseException.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ParseException.java from Apache Hive + * + * 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.iotdb.db.sql.parse; import java.util.List; diff --git a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseUtils.java b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseUtils.java index 9a1c50a..e473996 100644 --- a/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseUtils.java +++ b/iotdb/src/main/java/org/apache/iotdb/db/sql/parse/ParseUtils.java @@ -16,6 +16,27 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * Based on ParseUtils.java from Apache Hive + * + * 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.iotdb.db.sql.parse; /**
