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

Implement scalar list defaults proposal #2946

Merged
merged 5 commits into from Jun 21, 2022
Merged

Conversation

tomhoule
Copy link
Contributor

@tomhoule tomhoule commented May 31, 2022

@tomhoule tomhoule modified the milestones: 3.15.0, 4.0.x May 31, 2022
@tomhoule tomhoule force-pushed the p4-scalar-list-defaults branch 7 times, most recently from 377d7ce to ee3922b Compare June 1, 2022 15:11
@tomhoule tomhoule force-pushed the p4-scalar-list-defaults branch 8 times, most recently from 70cfba5 to 6ec00ea Compare June 8, 2022 14:55
@tomhoule tomhoule force-pushed the p4-scalar-list-defaults branch 3 times, most recently from 9a9e45c to dd0f5c1 Compare June 16, 2022 08:23
@tomhoule tomhoule changed the title [WIP] Implement scalar list defaults proposal Implement scalar list defaults proposal Jun 17, 2022
@tomhoule tomhoule marked this pull request as ready for review June 17, 2022 12:59
@tomhoule tomhoule requested a review from a team as a code owner June 17, 2022 12:59
tomhoule and others added 4 commits June 20, 2022 14:58
refactor(parserdb): improve validation of dbgenerated()

feat: implement scalar list defaults proposal in schema

Following components: sql-schema-describer, introspection engine and
migration engine.
Query engine scalar list defaults (#2978)

* First (failing, of course) test.

* Add missing json scalar list tests.
Separate tests.

* Implement QE-side list defaults

* Cockroach investigation
- simplify regular defaults in postgres describer
- finish scalar list defaults introspection
- scalar list diffing in migrations
- Progress: fix byte defaults, parse different types of array syntaxes
Re-enable cockroach for QE defaults base test.
Copy link
Contributor Author

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

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

comments from yesterday's review

squashed:

- Address review feedback
@tomhoule tomhoule merged commit 9288c7c into main Jun 21, 2022
@tomhoule tomhoule deleted the p4-scalar-list-defaults branch June 21, 2022 07:30
@Jolg42
Copy link
Member

Jolg42 commented Jun 21, 2022

Note: it's out in 3.16.0-dev.70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants