You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "KnightChess (Jira)" <ji...@apache.org> on 2022/09/05 03:49:00 UTC

[jira] [Created] (HUDI-4776) missing specify value for the preCombineField when use merge into

KnightChess created HUDI-4776:
---------------------------------

             Summary: missing specify value for the preCombineField when use merge into
                 Key: HUDI-4776
                 URL: https://issues.apache.org/jira/browse/HUDI-4776
             Project: Apache Hudi
          Issue Type: Bug
          Components: spark-sql
            Reporter: KnightChess
            Assignee: KnightChess


 
{code:java}
org.apache.spark.sql.AnalysisException: Missing specify value for the preCombineField: ts in merge-into update action. You should add '... update set ts = xx....' to the when-matched clause.  at org.apache.spark.sql.hudi.analysis.HoodieResolveReferences$$anonfun$apply$1.$anonfun$applyOrElse$19(HoodieAnalysis.scala:387)  at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)  at scala.collection.immutable.List.foreach(List.scala:392)  at scala.collection.TraversableLike.map(TraversableLike.scala:238)  at scala.collection.TraversableLike.map$(TraversableLike.scala:231)  at scala.collection.immutable.List.map(List.scala:298)  at org.apache.spark.sql.hudi.analysis.HoodieResolveReferences$$anonfun$apply$1.$anonfun$applyOrElse$14(HoodieAnalysis.scala:377)  at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)  at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)  at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)