Re: Reserved Words in Spark SQL as TableAliases

2018-03-19 Thread Reynold Xin
I agree but the issue was backward compatibility... On Mon, Mar 19, 2018 at 4:02 PM Russell Spitzer wrote: > I found > https://issues.apache.org/jira/browse/SPARK-20964 > > but currently it seems like strictIdentifiers are allowed to contain any > reserved key words > > > https://github.com/apac

Reserved Words in Spark SQL as TableAliases

2018-03-19 Thread Russell Spitzer
I found https://issues.apache.org/jira/browse/SPARK-20964 but currently it seems like strictIdentifiers are allowed to contain any reserved key words https://github.com/apache/spark/blob/master/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4#L501-L503 https://github.