ajreid21 opened a new pull request, #14568: URL: https://github.com/apache/iceberg/pull/14568
Currently, when you deserialize the FileScanTask JSON using RESTFileScanTaskParser.fromJson, the deserializer checks whether delete_file_references node exists (but not whether it's empty), and if so, the deserializer fails at https://github.com/apache/iceberg/blob/7368e5990d8ba52401c681bd9dfaf03a6b1e7016/core/src/main/java/org/apache/iceberg/rest/RESTFileScanTaskParser.java#L90 . TableScanResponseParser.serializeScanTasks currently always puts an empty deleted_file_references list, even if the field does not exist -- https://github.com/apache/iceberg/blob/7368e5990d8ba52401c681bd9dfaf03a6b1e7016/core/src/main/java/org/apache/iceberg/rest/TableScanResponseParser.java#L121 -- 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]
