Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Repro:
CREATE EXTERNAL TABLE repro(a INT, b INT)
STORED AS CSV
WITH HEADER ROW
LOCATION 'repro.csv';
The contents of repro.csv are as follows (also attached):
a,b 1,100 1,200 2,100 2,200 2,300
Then try to run the following query (to sum the values of a, grouped by b).
select sum(a), a, b from repro group by a, b;
Expected result: a table with three output columns: sum(a), a, and b
Actual result: An arrow error
> select sum(a), a, b from repro group by a, b;
ArrowError(InvalidArgumentError("number of columns(4) must match number of fields(3) in schema"))
Attachments
Attachments
Issue Links
- links to