Druid-specific Calcite keywords

2021-11-04 Thread Gian Merlino
Hey Druids, I'm looking into how to add keywords to Druid's SQL dialect, and I wanted to ask if anyone has enough familiarity with Calcite to point at some info about how to do that without needing to modify Calcite itself?

Re: Druid-specific Calcite keywords

2021-11-04 Thread Julian Hyde
Some specifics would be useful. But in general, adding a new keyword (reserved or non-reserved) will require changes to the paser. Calcite allows (I won't say it makes it easy) for projects like Druid to create a derived parser by building a parser from the same parser template as Calcite's core pa