Skip to content

Support CREATE TYPE syntax#16392

Merged
rongrong merged 1 commit intoprestodb:masterfrom
pranjalssh:create-type
Jul 21, 2021
Merged

Support CREATE TYPE syntax#16392
rongrong merged 1 commit intoprestodb:masterfrom
pranjalssh:create-type

Conversation

@pranjalssh
Copy link
Contributor

@pranjalssh pranjalssh commented Jul 6, 2021

Support CREATE TYPE syntax. Currently, it only works for row types, and not for distinct types.

For #16324

== RELEASE NOTES ==

General Changes
* Support CREATE TYPE syntax

@pranjalssh pranjalssh force-pushed the create-type branch 3 times, most recently from eaf52f0 to 5fbfdf8 Compare July 6, 2021 19:52
Copy link
Contributor

@rongrong rongrong left a comment

Choose a reason for hiding this comment

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

Looks good in general. Please fix check style error and other tests.

@pranjalssh pranjalssh force-pushed the create-type branch 2 times, most recently from 0612be6 to 8fb0a70 Compare July 7, 2021 09:57
@pranjalssh
Copy link
Contributor Author

Addressed comments

Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably have a separate TestUserDefinedTypes class for all tests related to types?

@pranjalssh
Copy link
Contributor Author

Addressed comments

@pranjalssh pranjalssh force-pushed the create-type branch 2 times, most recently from 981fca2 to ecbd455 Compare July 19, 2021 13:55
Copy link
Contributor

@rongrong rongrong left a comment

Choose a reason for hiding this comment

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

Looks good. Just some nits regarding static imports. Thanks!

@pranjalssh
Copy link
Contributor Author

Addressed comments

@rongrong rongrong merged commit 1412661 into prestodb:master Jul 21, 2021
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.

2 participants