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

Set timezone for group column timestamp type #13535

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Conversation

jayzhan211
Copy link
Contributor

Which issue does this PR close?

Closes #13534.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt) labels Nov 23, 2024
@jayzhan211 jayzhan211 marked this pull request as ready for review November 23, 2024 02:18
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @jayzhan211 -- this looks good to me

@@ -35,6 +36,7 @@ use std::sync::Arc;
/// `NULLABLE`: if the data can contain any nulls
#[derive(Debug)]
pub struct PrimitiveGroupValueBuilder<T: ArrowPrimitiveType, const NULLABLE: bool> {
data_type: DataType,
Copy link
Contributor

Choose a reason for hiding this comment

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

I double checked and the single group by column implementation does the same thing

👍

Copy link
Contributor

@adriangb adriangb left a comment

Choose a reason for hiding this comment

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

Looks great to me thank you for the quick fix!

@alamb alamb merged commit 304f51d into apache:main Nov 24, 2024
25 checks passed
@alamb
Copy link
Contributor

alamb commented Nov 24, 2024

Thanks again @jayzhan211 and @adriangb

@jayzhan211 jayzhan211 deleted the group-tz branch November 25, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple query fails with column types must match schema types
3 participants