Skip to content

Conversation

@nastra
Copy link
Contributor

@nastra nastra commented Apr 25, 2023

No description provided.

@nastra nastra force-pushed the view-version-improvement branch from 193e14a to 635947f Compare April 25, 2023 07:43
@nastra nastra changed the title Core: Move 'operation' check to ViewVersion Views: Move 'operation' check to ViewVersion Apr 25, 2023
@nastra nastra force-pushed the view-version-improvement branch from 635947f to 72a3f89 Compare April 25, 2023 07:46
* @return the string operation which produced the view version
*/
@Value.Derived
@Value.Lazy
Copy link
Contributor Author

@nastra nastra Apr 25, 2023

Choose a reason for hiding this comment

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

@Value.Derived is eagerly computing the value before check() is executed. Switching to @Value.Lazy here so that the check() method is executed

Copy link
Contributor

Choose a reason for hiding this comment

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

@nastra, why does this matter? All that would happen is that this is set to null and then the check method throws an exception.

@jackye1995
Copy link
Contributor

Looks like there are some merge conflicts, could you rebase?

@nastra nastra force-pushed the view-version-improvement branch from 72a3f89 to 3c2efee Compare April 26, 2023 05:23
@jackye1995
Copy link
Contributor

Thanks for the fix!

@jackye1995 jackye1995 merged commit f475a6b into apache:master Apr 26, 2023
@nastra nastra deleted the view-version-improvement branch April 26, 2023 07:16
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants