-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
I use this python script from #78
query the single file is ok.
> select count(*) from external('./t17.csv',COLUMNS => DESCRIPTOR(id int, owner int));
"count"
1499001
> select count(*) from external('./t17_2.csv',COLUMNS => DESCRIPTOR(id int, owner int));
"count"
5001
query the two files failed
> select a.owner, count(*) from external('./t17.csv',COLUMNS => DESCRIPTOR(id int, owner int)) as a,external('./t17_2.csv',COLUMNS => DESCRIPTOR(id int, owner i
nt)) as b where a.id=b.id group by a.owner ;
Error executing SQL: invalid input syntax for integer: file: './t17_2.csv' line:1 column:1
Metadata
Metadata
Assignees
Labels
No labels