Hi,
Need little more help like I am using calcite-babel for parsing the query:
I have a SQL query: *select * from my_table1 dwm INNER JOIN my_table2 wl ON
(dwm.id <http://dwm.id> = wl.id <http://wl.id> ) where dwm.time -
'timeinterval'::interval*

and this is my config for using BABEL:




*          val sqlParserConfig = SqlParser.configBuilder()
.setParserFactory(SqlBabelParserImpl.FACTORY)
.setConformance(SqlConformanceEnum.BABEL)          .build()*
*SqlParser.create(sql,sqlParserConfig).parseQuery()*

but this gave me exception on *.time (Was expecting one of)*
*Shivraj Singh*
Software Consultant
Knoldus Inc. <http://www.knoldus.com>
+91-8800782123
Canada - USA - India - Singapore
<https://in.linkedin.com/company/knoldus> <https://twitter.com/Knolspeak>
<https://www.facebook.com/KnoldusSoftware/> <https://blog.knoldus.com/>

Reply via email to