Skip to content

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Nov 29, 2023

This PR fixes #9745

Added HasDefaultValue and changed DefaultValue to return a reference.
DefaultValue will now assert that HasDefaultValue is true, and HasDefaultValue will return false if the column is a GENERATED column.

@Mytherin Mytherin marked this pull request as draft November 29, 2023 14:58
@Mytherin Mytherin marked this pull request as ready for review November 29, 2023 14:58
@github-actions github-actions bot marked this pull request as draft December 2, 2023 10:37
@Tishj Tishj marked this pull request as ready for review December 6, 2023 08:41
@Tishj Tishj requested a review from Mytherin December 6, 2023 12:07
@Mytherin Mytherin merged commit 8514af6 into duckdb:main Dec 6, 2023
@Mytherin
Copy link
Collaborator

Mytherin commented Dec 6, 2023

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 14, 2023
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.

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