You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "chenwyi2 (via GitHub)" <gi...@apache.org> on 2023/08/22 08:46:04 UTC

[GitHub] [iceberg] chenwyi2 commented on pull request #7389: Spark 3.4: Implement rewrite position deletes

chenwyi2 commented on PR #7389:
URL: https://github.com/apache/iceberg/pull/7389#issuecomment-1687748714

   when i backport to spark 3.1 with error:
   java.lang.IllegalArgumentException: Cannot parse path or identifier: 9a439584-c00f-45a5-9df7-31adfe182900
   	at org.apache.iceberg.spark.Spark3Util.catalogAndIdentifier(Spark3Util.java:722)
   	at org.apache.iceberg.spark.Spark3Util.catalogAndIdentifier(Spark3Util.java:713)
   	at org.apache.iceberg.spark.source.IcebergSource.catalogAndIdentifier(IcebergSource.java:141)
   	at org.apache.iceberg.spark.source.IcebergSource.extractIdentifier(IcebergSource.java:167)
   	at org.apache.spark.sql.DataFrameReader.$anonfun$load$1(DataFrameReader.scala:288)
    i think the problem is 
   `        Dataset<Row> posDeletes =
                   spark
                           .read()
                           .format("iceberg")
                           .option(SparkReadOptions.FILE_SCAN_TASK_SET_ID, groupId)
                           .option(SparkReadOptions.SPLIT_SIZE, splitSize(inputSize(group)))
                           .option(SparkReadOptions.FILE_OPEN_COST, "0")
                           .load(groupId);`
   it seems like spark 3.1 can not read table based on groupId?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org