We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main (development)
Spark
Reproduction Steps (pseudo test code)
createTable("id bigint NOT NULL, category string"); Table table = validationCatalog.loadTable(tableIdent); table.replaceSortOrder().asc("id", NullOrder.NULLS_FIRST).commit(); DataFile dataFile = DataFiles.builder(table.spec()) .withPath(table.location()) .withFormat(FileFormat.ORC) .withRecordCount(100) .withFileSizeInBytes(table.newScan().targetSplitSize() * 10) .withSortOrder(SortOrder.builderFor(table.schema()).asc("id", NullOrder.NULLS_FIRST).build()).build(); table.newAppend().appendFile(dataFile).commit(); for (FileScanTask scanTask : table.newScan().planFiles()) { scanTask.file().sortOrderId() is null // Sort order id information is lost }
The text was updated successfully, but these errors were encountered:
That doesn't look right. @zhangminglei are you interested in providing a PR?
Sorry, something went wrong.
Yes. I am interested.
Successfully merging a pull request may close this issue.
Apache Iceberg version
main (development)
Query engine
Spark
Please describe the bug 🐞
Reproduction Steps (pseudo test code)
The text was updated successfully, but these errors were encountered: