You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/10/22 04:17:09 UTC

[GitHub] [hudi] YannByron opened a new pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

YannByron opened a new pull request #3844:
URL: https://github.com/apache/hudi/pull/3844


   - Upgrading spark3 version from the spark3.0.x to spark 3.1.x
   
   - Support both spark 3.0.x and spark 3.1.x.
   
   - Build package for spark 3.0.x use: 
   
   - - mvn clean install -DskipTests -Pspark3 -PisSpark3.0
   
     For other spark3 version :
   
    - - mvn clean install -DskipTests -Pspark3
   
   ## Brief change log
   
   *(for example:)*
     - *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042) 
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816) 
   * ea2335eef74b5625c26856a736fb60f35c2762bf Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740624602



##########
File path: hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/AvroConversionHelper.scala
##########
@@ -131,7 +131,7 @@ object AvroConversionHelper {
                 case null =>
                   new Timestamp(item.asInstanceOf[Long])
                 case other =>
-                  throw new IncompatibleSchemaException(
+                  throw new HoodieInCompatibleSchemaException(

Review comment:
       ```suggestion
                     throw new HoodieIncompatibleSchemaException(
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.
+ */
+public class HoodieInCompatibleSchemaException extends Exception {

Review comment:
       ```suggestion
   public class HoodieIncompatibleSchemaException extends Exception {
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.

Review comment:
       ```suggestion
    * Exception for incompatible schema.
   ```

##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       are we able to use `assertThrows()` here from junit 5? or leave it the scala way also fine.

##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       can we UT this?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea2335eef74b5625c26856a736fb60f35c2762bf Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947) 
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998) 
   * 5ab785701f98d764389f42183fe848aa9b71d444 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740646803



##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740646803



##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740624602



##########
File path: hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/AvroConversionHelper.scala
##########
@@ -131,7 +131,7 @@ object AvroConversionHelper {
                 case null =>
                   new Timestamp(item.asInstanceOf[Long])
                 case other =>
-                  throw new IncompatibleSchemaException(
+                  throw new HoodieInCompatibleSchemaException(

Review comment:
       ```suggestion
                     throw new HoodieIncompatibleSchemaException(
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.
+ */
+public class HoodieInCompatibleSchemaException extends Exception {

Review comment:
       ```suggestion
   public class HoodieIncompatibleSchemaException extends Exception {
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.

Review comment:
       ```suggestion
    * Exception for incompatible schema.
   ```

##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       are we able to use `assertThrows()` here from junit 5? or leave it the scala way also fine.

##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       can we UT this?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072",
       "triggerID" : "957613548",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056) 
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740624602



##########
File path: hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/AvroConversionHelper.scala
##########
@@ -131,7 +131,7 @@ object AvroConversionHelper {
                 case null =>
                   new Timestamp(item.asInstanceOf[Long])
                 case other =>
-                  throw new IncompatibleSchemaException(
+                  throw new HoodieInCompatibleSchemaException(

Review comment:
       ```suggestion
                     throw new HoodieIncompatibleSchemaException(
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.
+ */
+public class HoodieInCompatibleSchemaException extends Exception {

Review comment:
       ```suggestion
   public class HoodieIncompatibleSchemaException extends Exception {
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/exception/HoodieInCompatibleSchemaException.java
##########
@@ -0,0 +1,33 @@
+/*
+ * 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.exception;
+
+/**
+ * Exception for in compatible schema.

Review comment:
       ```suggestion
    * Exception for incompatible schema.
   ```

##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       are we able to use `assertThrows()` here from junit 5? or leave it the scala way also fine.

##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       can we UT this?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072",
       "triggerID" : "957613548",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "957613548",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740646803



##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.

##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       ok

##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.

##########
File path: hudi-spark-datasource/hudi-spark/pom.xml
##########
@@ -490,6 +490,12 @@
       <artifactId>mockito-junit-jupiter</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>

Review comment:
       The `slf4j-api` dependency is used by Spark3.1 when run hudi-spark UTs. And it's in test scope.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan merged pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan merged pull request #3844:
URL: https://github.com/apache/hudi/pull/3844


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea2335eef74b5625c26856a736fb60f35c2762bf Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947) 
   * d0bf8223818e3575f347b184d6e7ed1042a93096 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816) 
   * ea2335eef74b5625c26856a736fb60f35c2762bf UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-954461989


   @hudi-bot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740646803



##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.

##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       ok

##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestHoodieSqlBase.scala
##########
@@ -92,6 +96,19 @@ class TestHoodieSqlBase extends FunSuite with BeforeAndAfterAll {
     assertResult(true)(hasException)
   }
 
+  protected def checkExceptionContain(sql: String)(errorMsg: String): Unit = {
+    var hasException = false
+    try {
+      spark.sql(sql)
+    } catch {
+      case e: Throwable =>
+        assertResult(true)(e.getMessage.contains(errorMsg))
+        hasException = true
+    }
+    assertResult(true)(hasException)

Review comment:
       Just leave it for now. Some UTs don't have the `expectedType` which is the first parameter in `org.junit.jupiter.api.Assertions.assertThrows()`, we just wanna to compare the exception message.

##########
File path: hudi-spark-datasource/hudi-spark/pom.xml
##########
@@ -490,6 +490,12 @@
       <artifactId>mockito-junit-jupiter</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>

Review comment:
       The `slf4j-api` dependency is used by Spark3.1 when run hudi-spark UTs. And it's in test scope.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-957133846






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-957133846






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-954503141


   @hudi-bot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dc22049caf4e7a04c1d89541f9e633a524c701c Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784) 
   * 4bee60d825d0229ba438928463200ccd973003fa UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dc22049caf4e7a04c1d89541f9e633a524c701c Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5ab785701f98d764389f42183fe848aa9b71d444 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072",
       "triggerID" : "957613548",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "957613548",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3072) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dc22049caf4e7a04c1d89541f9e633a524c701c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-954609790


   @vinothchandar @xushiyan I have removed slf4j dependency and rebase and push.
   But CI failed. Got three different results wIth three running. Any suggestion for this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740647095



##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {

Review comment:
       ok




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816) 
   * ea2335eef74b5625c26856a736fb60f35c2762bf Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947) 
   * d0bf8223818e3575f347b184d6e7ed1042a93096 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056) 
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r740864850



##########
File path: hudi-spark-datasource/hudi-spark/pom.xml
##########
@@ -490,6 +490,12 @@
       <artifactId>mockito-junit-jupiter</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>

Review comment:
       The `slf4j-api` dependency is used by Spark3.1 when run hudi-spark UTs. And it's in test scope.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-957133846


   @xushiyan Can you please review this again ~ 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5ab785701f98d764389f42183fe848aa9b71d444 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027) 
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042) 
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042) 
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056) 
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-950245793


   @hudi-bot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] vinothchandar commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r738403935



##########
File path: hudi-spark-datasource/hudi-spark3/src/main/java/org/apache/hudi/spark3/internal/ReflectUtil.java
##########
@@ -0,0 +1,46 @@
+/*
+ * 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.spark3.internal;
+
+import org.apache.spark.sql.catalyst.plans.logical.InsertIntoStatement;
+import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan;
+import scala.Option;
+import scala.collection.Seq;
+import scala.collection.immutable.Map;
+
+import java.lang.reflect.Constructor;
+
+public class ReflectUtil {
+
+  public static InsertIntoStatement createInsertInto(boolean isSpark30, LogicalPlan table, Map<String, Option<String>> partition, Seq<String> userSpecifiedCols,

Review comment:
       thinking out loud. this uses reflection, but only seems to operate with a plan, so should be fine, performance overhead wise




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] vinothchandar commented on a change in pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#discussion_r738400209



##########
File path: hudi-spark-datasource/hudi-spark/pom.xml
##########
@@ -490,6 +490,12 @@
       <artifactId>mockito-junit-jupiter</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>

Review comment:
       could we stick to log4j?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0bf8223818e3575f347b184d6e7ed1042a93096 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956) Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998) 
   * 5ab785701f98d764389f42183fe848aa9b71d444 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-955866502


   @hudi-bot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3042",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056",
       "triggerID" : "fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062",
       "triggerID" : "2d71706ff653a31b650f2acea666f0ff6afb01f6",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd00cbebdedb5f4d37bb0438627bdabe8e5bc36d Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3056) 
   * 2d71706ff653a31b650f2acea666f0ff6afb01f6 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3062) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] YannByron commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
YannByron commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-957613548


   @hudi-bot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan merged pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan merged pull request #3844:
URL: https://github.com/apache/hudi/pull/3844


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan merged pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
xushiyan merged pull request #3844:
URL: https://github.com/apache/hudi/pull/3844


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2947",
       "triggerID" : "ea2335eef74b5625c26856a736fb60f35c2762bf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2949",
       "triggerID" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2952",
       "triggerID" : "954461989",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2956",
       "triggerID" : "954503141",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d0bf8223818e3575f347b184d6e7ed1042a93096",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2998",
       "triggerID" : "955866502",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027",
       "triggerID" : "5ab785701f98d764389f42183fe848aa9b71d444",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "dcbda0ccee10967317dfcf3359445b6442fa33a0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5ab785701f98d764389f42183fe848aa9b71d444 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3027) 
   * dcbda0ccee10967317dfcf3359445b6442fa33a0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dc22049caf4e7a04c1d89541f9e633a524c701c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dc22049caf4e7a04c1d89541f9e633a524c701c Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784) 
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot edited a comment on pull request #3844: [HUDI-1869] Upgrading Spark3 To 3.1

Posted by GitBox <gi...@apache.org>.
hudi-bot edited a comment on pull request #3844:
URL: https://github.com/apache/hudi/pull/3844#issuecomment-949285568


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2784",
       "triggerID" : "6dc22049caf4e7a04c1d89541f9e633a524c701c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798",
       "triggerID" : "4bee60d825d0229ba438928463200ccd973003fa",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4bee60d825d0229ba438928463200ccd973003fa",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816",
       "triggerID" : "950245793",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 4bee60d825d0229ba438928463200ccd973003fa Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2798) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=2816) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org