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

[Generated Column] Return stringified generated expression in duckdb_columns #8835

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Sep 7, 2023

This PR fixes #8833

DefaultValue should not be called on a generated column, this was done unchecked.
Instead of throwing an internal exception we now return the generated column expression in the column_default column.

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! LGTM

@Mytherin Mytherin merged commit 84c7b8e into duckdb:main Sep 7, 2023
47 checks passed
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.

"INTERNAL Error: Calling DefaultValue() on a generated column"
2 participants