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

[#5359] fix(ob-catalog): fix ob catalog default value parse error #5378

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Oct 30, 2024

What changes were proposed in this pull request?

fix ob catalog default value parse error

Why are the changes needed?

For OceanBase catalog, the IS_GENERATEDCOLUMN value of the column ResultSet is set to NO, which is causing isExpression to be false and leading to a parse error.

Fix: #5359

Does this PR introduce any user-facing change?

no

How was this patch tested?

tests added

@mchades mchades added the branch-0.7 Automatically cherry-pick commit to branch-0.7 label Oct 30, 2024
@mchades mchades self-assigned this Oct 30, 2024
@mchades
Copy link
Contributor Author

mchades commented Oct 30, 2024

@yuanoOo could you plz help to review, thx~

Copy link
Contributor

@yuanoOo yuanoOo 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 feb96f0 into apache:main Oct 31, 2024
26 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 31, 2024
)

### What changes were proposed in this pull request?

fix ob catalog default value parse error

### Why are the changes needed?

For OceanBase catalog, the `IS_GENERATEDCOLUMN` value of the column
ResultSet is set to `NO`, which is causing `isExpression` to be false
and leading to a parse error.

Fix: #5359 

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

no

### How was this patch tested?

tests added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-0.7 Automatically cherry-pick commit to branch-0.7
Projects
None yet
3 participants