Skip to content
New issue

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

refactor(core): use capability of column default value #2859

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Apr 9, 2024

What changes were proposed in this pull request?

  • remove the column default value validation in Hive catalog and Iceberg catalog
  • available column default capability in the framework

Why are the changes needed?

Fix: #2953

Does this PR introduce any user-facing change?

no

How was this patch tested?

tests added

@mchades mchades self-assigned this Apr 9, 2024
@mchades mchades marked this pull request as ready for review April 15, 2024 13:06
@jerryshao
Copy link
Contributor

Unrelated to the changes here, @mchades can you create a static DEFAULT Capability and use as default one, not creating a temporary object.

  @Evolving
  protected Capability newCapability() {
    return new Capability() {};
  }

@mchades
Copy link
Contributor Author

mchades commented Apr 16, 2024

@jerryshao DEFAULT Capability added

Copy link
Contributor

@jerryshao jerryshao left a comment

Choose a reason for hiding this comment

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

LGTM.

@jerryshao jerryshao merged commit 2bb3e66 into apache:main Apr 16, 2024
22 checks passed
@mchades mchades deleted the cap-default branch November 22, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] use the capability of column default value
2 participants