Hi,
I am trying to create a parser to parse big query statements like this -
this is kotlin btw:
val sqlParserConfig = BigQuerySqlDialect(
BigQuerySqlDialect.DEFAULT_CONTEXT.withDatabaseProduct(SqlDialect.DatabaseProduct.BIG_QUERY)).configureParser(SqlParser.config()
.withParserFactory(SqlBabelParserImpl.FACTORY)
.withConformance(SqlConformanceEnum.BIG_QUERY))
val parser = SqlParser.create(str, sqlParserConfig)
but the resulting parser seems not to understand BQ specific things like
the `IF` function.
How can I properly construct a SqlParser?