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

[Feature Request] Test against empty string character / text columns #311

Open
sgoley opened this issue Jul 2, 2024 · 0 comments · May be fixed by #312
Open

[Feature Request] Test against empty string character / text columns #311

sgoley opened this issue Jul 2, 2024 · 0 comments · May be fixed by #312

Comments

@sgoley
Copy link

sgoley commented Jul 2, 2024

Description:
Currently there is no easily available test to ensure that varchar columns do not contain empty strings.

Motivation:
This is useful to test for in order to prevent downstream data type collisions (especially via coercion like in unions on snowflake
Ex. https://community.snowflake.com/s/article/Numeric-value-is-not-recognized

Criteria:
The test should only fail when encountering a varchar / text value equal to ''
Also, the trim function should be able to be optionally applied based on an argument since it may not be required for all cases or supported by all database engines.

@sgoley sgoley linked a pull request Jul 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant