owencwl commented on issue #5424:
URL: https://github.com/apache/iceberg/issues/5424#issuecomment-1549324534
I am also facing similar kind of issue with merge into functionality. spark
3.2 + iceberg 0.13.1:
spark-sql:
merge into `spark_catalog`.`default`.`merge_test` as t using (select 1 as
id,'123456' as `data`,'flink1.14.5' as `category`,cast('2016-08-31' as date) as
ts) as s on t.id=s.id
when matched then delete
when not matched then insert *;
spark-error:
Error in query: Project [id#50L, data#51, category#52, ts#53]
+- RowFilterAndDataMaskingMarker
+- RelationV2[id#50L, data#51, category#52, ts#53]
spark_catalog.default.merge_test
is not an Iceberg table
Is it the reason for the temporary table (named s)??
scala-source-code:
org.apache.spark.sql.catalyst.analysis.RewriteMergeIntoTable
EliminateSubqueryAliases(aliasedTable) match {
case r: DataSourceV2Relation => xxxxxxxx
case p =>
throw new AnalysisException(s"$p is not an Iceberg table")
Why does such a problem arise????
--
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]