alex2308 opened a new issue, #6615:
URL: https://github.com/apache/iceberg/issues/6615
### Apache Iceberg version
1.1.0 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
I'm trying to update an existing table with the merge into operation using a
local dataframe as source for my updates, when doing that I get an error:
"Requirement failed", any idea how to fix that?
Here is the merge statement:
`MERGE INTO iceberg_catalog.dummy.affinity_scores_iceberg a
USING affinity
ON a.mediauser_marketingid = affinity.mediauser_marketingid and
a.touchpoint_touchpointbrand=affinity.touchpoint_touchpointbrand and
a.affinity_subject=affinity.affinity_subject
WHEN MATCHED AND a.affinity_score<>affinity.affinity_score then update
set a.affinity_score=affinity.affinity_score
WHEN NOT MATCHED THEN INSERT *`
Where affinity is a dataframe that is created as a temp view with the
following line:
`affinity_scores_latest.createTempView("affinity")`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]