Skip to content

Conversation

@aokolnychyi
Copy link
Contributor

This PR migrates IcebergSplit to use SerializableTable to support changes in #2984.

InputFormatConfig.InMemoryDataModel model = conf.getEnum(InputFormatConfig.IN_MEMORY_DATA_MODEL,
InputFormatConfig.InMemoryDataModel.GENERIC);
try (CloseableIterable<CombinedScanTask> tasksIterable = scan.planTasks()) {
Table serializableTable = SerializableTable.copyOf(table);
Copy link
Contributor Author

@aokolnychyi aokolnychyi Aug 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kbendick, I moved it outside the loop.

@github-actions github-actions bot added the MR label Aug 17, 2021
@aokolnychyi
Copy link
Contributor Author

Copy link
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the MR related change is pretty straightforward, I don't have any additional concern. It also promotes the use of SerializableTable across engines, which is a good thing in general.

Copy link
Member

@RussellSpitzer RussellSpitzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aokolnychyi aokolnychyi merged commit 8181600 into apache:master Aug 17, 2021
@aokolnychyi
Copy link
Contributor Author

Thanks for reviewing, @jackye1995 @RussellSpitzer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants