You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Alexey Kudinkin (Jira)" <ji...@apache.org> on 2022/09/15 20:31:00 UTC
[jira] [Closed] (HUDI-4776) missing specify value for the preCombineField when use merge into
[ https://issues.apache.org/jira/browse/HUDI-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kudinkin closed HUDI-4776.
---------------------------------
Resolution: Fixed
> 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
> Priority: Critical
> Labels: pull-request-available
> Fix For: 0.12.1
>
>
>
> {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)