You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by si...@apache.org on 2022/05/21 16:23:03 UTC

[hudi] branch master updated: [HUDI-3890] fix rat plugin issue with sql files (#5644)

This is an automated email from the ASF dual-hosted git repository.

sivabalan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 32a5d268f5 [HUDI-3890] fix rat plugin issue with sql files (#5644)
32a5d268f5 is described below

commit 32a5d268f54b781e7893ffe08a8767987e153e04
Author: uday08bce <ud...@gmail.com>
AuthorDate: Sat May 21 18:22:55 2022 +0200

    [HUDI-3890] fix rat plugin issue with sql files (#5644)
---
 .../hudi-spark/src/test/resources/sql-statements.sql      | 15 +++++++++++++++
 pom.xml                                                   |  1 -
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/hudi-spark-datasource/hudi-spark/src/test/resources/sql-statements.sql b/hudi-spark-datasource/hudi-spark/src/test/resources/sql-statements.sql
index e19dd1eb6b..3e92d31e3a 100644
--- a/hudi-spark-datasource/hudi-spark/src/test/resources/sql-statements.sql
+++ b/hudi-spark-datasource/hudi-spark/src/test/resources/sql-statements.sql
@@ -1,3 +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.
 
 # SET OPTION
 set hoodie.insert.shuffle.parallelism = 1;
diff --git a/pom.xml b/pom.xml
index 9e7b4ab14a..d898d34d35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -444,7 +444,6 @@
               <exclude>**/target/**</exclude>
               <exclude>**/generated-sources/**</exclude>
               <exclude>.github/**</exclude>
-              <exclude>**/*.sql</exclude>
               <!-- local files not in version control -->
               <exclude>**/*.iml</exclude>
               <exclude>.mvn/**</exclude>