-
Notifications
You must be signed in to change notification settings - Fork 324
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
Fix Count_Distinct
in Snowflake
#10818
Fix Count_Distinct
in Snowflake
#10818
Conversation
@@ -394,7 +394,7 @@ snowflake_specific_spec suite_builder default_connection db_name setup = | |||
table_name = Name_Generator.random_name "TimestampTZ" | |||
table = default_connection.get.create_table table_name [Column_Description.Value "A" (Value_Type.Date_Time with_timezone=True), Column_Description.Value "rowid" Value_Type.Integer] primary_key=[] | |||
table.should_succeed | |||
Panic.with_finalizer default_connection.get.drop_table table.name <| | |||
Panic.with_finalizer (default_connection.get.drop_table table.name) <| |
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.
Does this not give a compile-time error, having too many arguments?
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.
No, such stuff is only currently resolved at runtime.
Once #9812 is implemented, we'd get a warning if static type analysis were enabled.
…ount-distinct-booleans
Pull Request Description
Count_Distinct
on a Boolean column in Snowflake #10611Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.