Missing last column on Parser.columns
athossampayo opened this issue · comments
I have found this bug and would like to know if it's mapped or have a solution already:
SELECT
col1,
col2,
col3
FROM t1
And when parsing it, the method Parser().columns
always miss the col3
column, but if I add an alias for the column like the example bellow, it will be back:
SELECT
col1,
col2,
col3 AS col3
FROM t1
EDIT: I got that it probably some keywords-like columns. As I'm using SparkSQL, I did not realize some columns like "version" are managed as keywords