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 more functions for string sqllogictests #12665

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

goldmedal
Copy link
Contributor

Which issue does this PR close?

Part of #12415

Rationale for this change

Finished the todo list at #12415 (comment)

What changes are included in this PR?

  • I also moved some function tests for string literal from function.slt to string/string_literal.slt.

Are these changes tested?

yes

Are there any user-facing changes?

no

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Sep 28, 2024
@goldmedal goldmedal marked this pull request as draft September 28, 2024 16:22
@goldmedal goldmedal force-pushed the chore/12415-add-string-function-test branch from fc07a69 to 9a79ae9 Compare September 29, 2024 03:48
@goldmedal goldmedal marked this pull request as ready for review September 29, 2024 04:57
@@ -37,6 +37,52 @@ select arrow_cast(col1, 'Dictionary(Int32, Utf8)') as c1 from test_substr_base;
statement ok
drop table test_source

# TODO: move it back to `string_query.slt.part` after fixing the issue
Copy link
Contributor

Choose a reason for hiding this comment

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

This experience moving tests has found many great bugs. Thank you @goldmedal for finding and filing them

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 very much @goldmedal

🚀

REVERSE(unicode_1)
FROM test_basic_operator;
----
werdnA 🔥📊noisufatad
Copy link
Contributor

Choose a reason for hiding this comment

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

Werdna -- this brings back memories from my childhood when sometimes kids would refer to my name like this.

@alamb alamb merged commit 887520b into apache:main Sep 30, 2024
24 checks passed
@goldmedal goldmedal deleted the chore/12415-add-string-function-test branch September 30, 2024 13:19
@goldmedal
Copy link
Contributor Author

Thanks @alamb !

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.

2 participants