Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6.0
-
None
-
4 node cluster CentOS
Description
Using a simple csv file that contains at least 2 groups of rows:
a, a, a, b,
Running a query with min/max throws a NullPointerException:
SELECT MIN(columns[1]) FROM `test4443.csv` GROUP BY columns[0]; Error: SYSTEM ERROR: NullPointerException ...
SELECT MAX(columns[1]) FROM `test4443.csv` GROUP BY columns[0]; Error: SYSTEM ERROR: NullPointerException ...
The problem is caused by VarCharAggrFunctions.java that is not reseting it's internal buffer properly.