Skip to content

the external file cannot be joined? #104

Description

@l1t1

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions