-
Notifications
You must be signed in to change notification settings - Fork 45
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
Schema DDL: separate redshift-specific code from standard SQL (Closes #372) #373
base: master
Are you sure you want to change the base?
Conversation
@@ -78,7 +80,7 @@ case class AddColumn( | |||
columnName: String, | |||
columnType: DataType, | |||
default: Option[Default], | |||
encode: Option[CompressionEncoding], | |||
encode: Option[ColumnAttribute], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because regular sql dbs do not have compression encoding, but may have other attributes.
ddba45b
to
7fd6e27
Compare
7fd6e27
to
86fcf7d
Compare
@szareiangm has signed the Software Grant and Corporate Contributor License Agreement |
86fcf7d
to
3089571
Compare
@chuwy I changed the code to use upper bound inheritance to keep the Ddl consistent as per your suggestion in the issue discussion. Does the code now similar to what you meant? |
3089571
to
7479c56
Compare
@chuwy I was wondering if I could follow up on this PR. It has been a while? |
Hey @szareiangm, sorry about that. Soon, I'll be backporting another SQL-like AST (BigQuery) to Schema DDL and it should give us some insights regarding sufficient volume of abstraction in these DDLs. |
I tried to follow up with the first step for proposed plan in #371 .
There is no serious logic change. It is just moving codes around. Please support with your comments.
cc: @Nafid @zakipatel