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

Add generate_series tests for arrays #11921

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 9, 2024

Which issue does this PR close?

Part of #11823
Part of #11922

Rationale for this change

While reviewing #11907 from @tshauck I didn't see any tests for running generate_series with actual input arrays, the current tests only handled constants

What changes are included in this PR?

Add tests for generate_series with columns

Are these changes tested?

Only tests

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Aug 9, 2024
@alamb alamb changed the title Add generate_series tests for arrays Add generate_series tests for arrays Aug 9, 2024
Copy link
Contributor

@tshauck tshauck left a comment

Choose a reason for hiding this comment

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

LGTM! I'll check out these tests relative to my PR, but if/when you wanna merge, I can rebase too.

[1989-04-01, 1990-04-01, 1991-04-01, 1992-04-01]


# https://github.com/apache/datafusion/issues/11922
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @alamb

@alamb
Copy link
Contributor Author

alamb commented Aug 9, 2024

Thanks for the quick review @comphead and @tshauck . I'll merge this into main so we can keep the number of concurrent outstanding changes low

@alamb alamb merged commit 1e93f7f into apache:main Aug 9, 2024
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants