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

Using the "NOT LIKE" filter, does not show <null> values #391

Closed
IvoMoor opened this issue Jan 15, 2025 · 2 comments
Closed

Using the "NOT LIKE" filter, does not show <null> values #391

IvoMoor opened this issue Jan 15, 2025 · 2 comments

Comments

@IvoMoor
Copy link
Collaborator

IvoMoor commented Jan 15, 2025

image

Example:
I would expect filter COLUMN_A NOT LIKE 'B%', to return row 1, 2, 4 and 5. However, the filter now returns only row 1 and 2.

@rpbouman
Copy link
Owner

Related: LIKE NULL also doesn't work.

image

@IvoMoor
Copy link
Collaborator Author

IvoMoor commented Jan 16, 2025

Sample data:

data.csv

Query executed now:
SELECT "__huey_data_foundation"."COLUMN_A" AS COLUMN_A ,"__huey_data_foundation"."COLUMN_B" AS COLUMN_B ,COUNT(*) OVER () AS "COUNT(*) OVER ()" FROM read_csv( 'data.csv', store_rejects = true, rejects_scan = 'reject_scans', rejects_table = 'reject_errors', rejects_limit = 0 ) AS "__huey_data_foundation" WHERE "__huey_data_foundation"."COLUMN_A" NOT LIKE 'A%' GROUP BY COLUMN_A ,COLUMN_B ORDER BY COLUMN_A ASC NULLS FIRST ,COLUMN_B ASC NULLS FIRST

image

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

No branches or pull requests

2 participants