kuzu icon indicating copy to clipboard operation
kuzu copied to clipboard

Bug: `LOAD FROM` does not allow retrurning the same column twice

Open mewim opened this issue 7 months ago • 0 comments

Kùzu version

v0.4.2

What operating system are you using?

No response

What happened?

LOAD FROM "demo-csv/city.csv" RETURN column0, column0; is throwing the error Error: Binder exception: Multiple result column with the same name column0 are not supported. as expected.

However, it should be possible to return the column twice by renaming: LOAD FROM "demo-csv/city.csv" RETURN column0 AS C0, column0 AS C1;. This query fails with a similar error: Error: Binder exception: Multiple result column with the same name C1 are not supported..

Are there known steps to reproduce?

No response

mewim avatar Jul 23 '24 17:07 mewim