Skip to content

Add generate_series tests for arrays#11921

Merged
alamb merged 2 commits intoapache:mainfrom
alamb:alamb/add_generate_series_tests
Aug 9, 2024
Merged

Add generate_series tests for arrays#11921
alamb merged 2 commits intoapache:mainfrom
alamb:alamb/add_generate_series_tests

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
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