Manu Zhang created SPARK-54491:
----------------------------------
Summary: Insert into temp view on DSv2 table failed
Key: SPARK-54491
URL: https://issues.apache.org/jira/browse/SPARK-54491
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 4.1.0
Reporter: Manu Zhang
I'm testing Spark 4.1 support for Iceberg in
[https://github.com/apache/iceberg/pull/14155]. It looks
[https://github.com/apache/spark/pull/52876] has broken this Iceberg test
[https://github.com/apache/iceberg/blob/main/spark/v4.0/spark/src/test/java/org/apache/iceberg/spark/source/TestDataSourceOptions.java#L459]
with following error.
{code:java}
Exception in thread "test-extra-commit-message-writer-thread"
java.lang.RuntimeException: org.apache.spark.SparkException: [INTERNAL_ERROR]
Found the unresolved operator: 'InsertIntoStatement TableReference[id#5,
data#6]
default_iceberg.`/var/folders/pv/9kgp4f8j685fqb28n83cdb800000gq/T/junit-16494569145098127962`.`iceberg-table`,
false, false, false SQLSTATE: XX000
== SQL (line 1, position 1) ==
INSERT INTO target VALUES (3, 'c'), (4, 'd')
^^^^^^^^^^^^^^^^^^
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]