Feature Request / Improvement
Right now, FileScanTaskParser JSON serializer only handles BaseFileScanTask for data files (see issue #1698 ). There are other FileScanTask impl classes that are not covered: StaticDataTask, AllManifestsTable$ManifestListReadTask, BaseEntriesTable$ManifestReadTask, BaseFilesTable$ManifestReadTask. This was discovered while I was trying to Flink FLIP-27 IcebergSource with metadata tables unit tests.
I propose that we add a type (or impl) filed to the JSON format that captures the FQCN of the FileScanTask implementation class. Fortunately, with JSON format, this can be a backward compatible change. if the type field is not present, the implementation class is defaulted to BaseFileScanTask.
We can also incrementally add the missing implementations. The next one to tackle should be the StaticDataTask.
cc @nastra @rdblue @aokolnychyi @pvary
Query engine
None
Feature Request / Improvement
Right now,
FileScanTaskParserJSON serializer only handlesBaseFileScanTaskfor data files (see issue #1698 ). There are otherFileScanTaskimpl classes that are not covered:StaticDataTask,AllManifestsTable$ManifestListReadTask,BaseEntriesTable$ManifestReadTask,BaseFilesTable$ManifestReadTask. This was discovered while I was trying to Flink FLIP-27IcebergSourcewith metadata tables unit tests.I propose that we add a
type(orimpl) filed to the JSON format that captures the FQCN of theFileScanTaskimplementation class. Fortunately, with JSON format, this can be a backward compatible change. if thetypefield is not present, the implementation class is defaulted toBaseFileScanTask.We can also incrementally add the missing implementations. The next one to tackle should be the
StaticDataTask.cc @nastra @rdblue @aokolnychyi @pvary
Query engine
None