-
Notifications
You must be signed in to change notification settings - Fork 1
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
Breaking: Reduce number of google enums. Introduce zetasql for query verification and analysis #121
Conversation
0246156
to
04af07f
Compare
Great work! The usage of I like the idea of using zetasql but it has one caveats: |
@ingarabr The tests were run against the wrong branch, so I have disabled the tests for aarch64 |
38c930a
to
06700f9
Compare
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.
Nice! 👍
* Introduce new internal helper objects * Remove uses of Field.Mode and StandardSQLTypeName * Add conversion tests
* Analyze the query before rendering it to extract referenced tables * Bump to jdk11
06700f9
to
46ae8fd
Compare
.setField(field.value) | ||
.build() | ||
) | ||
final case class DatePartitioned(field: Ident) extends BQPartitionType[LocalDate] |
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.
It had been convenient to have BQField
here if possible.
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.
lets pick that up in a follow-up
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.
Looking good!
Add todos for instance removal
Removes all uses of StandardSQLTypeName and Field.Mode from our types
Replaces with BQField.Type and BQField.Mode
We should have a test which tests all cases are represented in our types
Removes internal google types from PartitionType
Added conversion from / to google types in PartitionTypeHelper and SchemaHelper
Depends on #127