Skip to content

Core: Make TableScanContext immutable - #5985

Merged
jackye1995 merged 1 commit into
apache:masterfrom
nastra:immutable-table-scan-context
Apr 27, 2023
Merged

jackye1995 merged 1 commit into
apache:masterfrom
nastra:immutable-table-scan-context

Conversation

@nastra

@nastra nastra commented Oct 14, 2022 •

Copy link
Copy Markdown
Contributor

This is a shorter alternative to #5982

@nastra
nastra force-pushed the immutable-table-scan-context branch from 31aaad0 to e1ab18d Compare October 14, 2022 11:38
@nastra nastra changed the title Core: Optimize code in TableScanContext Core: Make TableScanContext immutable Oct 14, 2022
@github-actions github-actions Bot added the core label Oct 14, 2022
@nastra
nastra force-pushed the immutable-table-scan-context branch from e1ab18d to 4d478d4 Compare October 14, 2022 11:44

@xxubai xxubai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks great!

@zinking

zinking commented Oct 18, 2022

Copy link
Copy Markdown
Contributor

+1 for the refactoring refactoring.
is builder also generated by the annotation?

@nastra

nastra commented Oct 18, 2022

Copy link
Copy Markdown
Contributor Author

+1 for the refactoring refactoring. is builder also generated by the annotation?

yes the Builder is also being generated by the Immutables library

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like it, makes it much more concise and easier to read

@nastra
nastra force-pushed the immutable-table-scan-context branch from 4d478d4 to 3bd5705 Compare March 23, 2023 09:13
@nastra
nastra force-pushed the immutable-table-scan-context branch from 3bd5705 to f5f0463 Compare April 26, 2023 11:40

@jackye1995 jackye1995 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to me!

@jackye1995

Copy link
Copy Markdown
Contributor

I will go ahead to merge this to unblock #5984, and mark Liwei as coauthor to close #5982. Thanks everyone!

@jackye1995
jackye1995 merged commit 882459d into apache:master Apr 27, 2023
@nastra
nastra deleted the immutable-table-scan-context branch April 27, 2023 05:19
manisin pushed a commit to Snowflake-Labs/iceberg that referenced this pull request May 9, 2023
zhongyujiang pushed a commit to zhongyujiang/iceberg that referenced this pull request Apr 16, 2025
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.

5 participants