I have a problem in querying a CSV (with header) file using Drill. If I run the following code:
SELECT Bid, Last FROM table(dfs.`/data/bb_20020201.csv` (type => 'text', fieldDelimiter => ',', extractHeader => true));
I got an error code corresponding to the word "Last". If I query another column instead of Last everything works nice. I think the problem is because Last is also a SQL command.
I would really appreciate any help on this issue.