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

Consolidate and expand ident normalization tests #14374

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jan 30, 2025

Which issue does this PR close?

Rationale for this change

While writing up some notes from a conversation with @lmwnshn I got myself confusesed about how and if ident_noralization worked and couldn't find any tests that showed what I wanted

This is a recurring theme so I think it is worth spending time to make it better.

See related conversation here

What changes are included in this PR?

  1. Consolidate the tests and add some more examples showing how this setting works from SQL

Are these changes tested?

Only tests

Are there any user-facing changes?

Only tests.

I would like to improve the documentation in this area too (specifically make sure the option is documented in datafusion and datafusion-python)

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Jan 30, 2025
@@ -637,46 +637,6 @@ select * from table_without_values;
statement ok
set datafusion.catalog.information_schema = true;

statement ok
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved these tests to a new file

@@ -1802,24 +1802,6 @@ SELECT acos();
statement error
SELECT isnan();

# turn off enable_ident_normalization
Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved to a new file

@alamb alamb marked this pull request as ready for review January 30, 2025 17:52
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.

1 participant