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

[#1590] docs: Add doc for column default value #2003

Merged
merged 5 commits into from
Feb 4, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Feb 3, 2024

What changes were proposed in this pull request?

Add doc for column default value

Why are the changes needed?

Fix: #1590

Does this PR introduce any user-facing change?

no

How was this patch tested?

no need

@mchades mchades self-assigned this Feb 3, 2024
@mchades mchades added this to the Gravitino 0.4.0 milestone Feb 3, 2024
@mchades mchades force-pushed the doc-default-value branch 2 times, most recently from 934d5ca to 097fdcb Compare February 3, 2024 06:35
@mchades mchades marked this pull request as ready for review February 3, 2024 06:35
@mchades mchades requested a review from jerryshao February 3, 2024 06:36

:::note
When Gravitino loads a table from a catalog that supports default value, if Gravitino is unable to parse the default value, it will use an [Unparsed Expression](./expression.md#unparsed-expression) to preserve the original default value, ensuring that the table can be loaded successfully.
:::
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should list some of the expressions you supported for column default value. Also point the "unparsed-expression" for others you don't support.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also update the case to add default value support here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@jerryshao jerryshao removed this from the Gravitino 0.4.0 milestone Feb 3, 2024
@mchades mchades added the need backport Issues that need to backport to another branch label Feb 4, 2024
docs/expression.md Outdated Show resolved Hide resolved
docs/expression.md Outdated Show resolved Hide resolved
@mchades mchades requested a review from jerryshao February 4, 2024 10:21
@jerryshao jerryshao merged commit 3ea808c into apache:main Feb 4, 2024
7 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 4, 2024
### What changes were proposed in this pull request?

Add doc for column default value

### Why are the changes needed?

Fix: #1590 

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

no need
@mchades mchades deleted the doc-default-value 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
need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Add user doc for column default value
3 participants