AR
11/15/2024, 1:20 PMJohn Kowtko
11/16/2024, 12:37 AMAR
11/17/2024, 6:14 AMdruid.generic.useDefaultValueForNull to false from the beginning.
So it should not be mixing up empty strings & null values.
It seems to be handling null values correctly because when the query containts only the "is not null" condition, it is working properly. Only when we add another "AND" clause on the same column that the results become incorrect.
Thanks,
AR.John Kowtko
11/17/2024, 6:18 PMdruid.generic.useDefaultValueForNull is set to true or false.
The latest version does not have this issue ... I suggest you try out Druid 29.AR
11/18/2024, 2:10 PMLENGTH function in the query to eliminate the NULL rows from the result.
SELECT COL1, COUNT(*) FROM TABLE_NAME
WHERE LENGTH(TRIM(COL1)) > 0 AND COL1 != 'VAL';
We just upgraded to v27.0.0 a couple of months ago. Looks like we will have to plan for another upgrade very soon. 😞
Regards,
AR.Maytas Monsereenusorn
11/19/2024, 4:36 AMJohn Kowtko
11/20/2024, 7:47 PM