Closed kortemik closed 1 month ago
Running via pth-10 unit test results in:
java.lang.NullPointerException
at com.teragrep.pth10.ast.commands.aggregate.UDAFs.DistinctCountAggregator.reduce(DistinctCountAggregator.java:130)
DistinctCountAggregator does not know how to handle null value.
Internal PR submitted with fixes.
Describe the bug
following query
produces a column named koira without data
running distinct count on the the column as follows
produces NullPointerException
please investigate the underlying cause as the exception is raised outside the pth_10. perhaps the resulting dataframe is null?
Expected behavior should give a count 0 for column koira
How to reproduce run the query
Screenshots
Software version pth_10 version: 6.0.0 pth_06 version: 3.1.2 dpf_02 version: 3.0.0 jpr_01 version: 3.1.1 pth_03 version: 6.1.4 jue_01 version: 0.4.3 dpf_03 version: 10.0.1
Desktop (please complete the following information if relevant):
Additional context