Sergey Nuyanzin created CALCITE-7121: ----------------------------------------
Summary: Allow to use hyphens in unquoted Table Names not only in BigQuery Key: CALCITE-7121 URL: https://issues.apache.org/jira/browse/CALCITE-7121 Project: Calcite Issue Type: Improvement Reporter: Sergey Nuyanzin Currently it works only if {{CharLiteralStyle}} is either {{BQ_SINGLE}} or {{BQ_DOUBLE}}. As it is in {{org.apache.calcite.sql.parser.SqlAbstractParserImpl.LexicalState#forConfig}} {code:java} case BACK_TICK: if (config.conformance().allowHyphenInUnquotedTableName() && config.charLiteralStyles().equals( EnumSet.of(CharLiteralStyle.BQ_SINGLE, CharLiteralStyle.BQ_DOUBLE))) { return BQID; } if (!config.conformance().allowHyphenInUnquotedTableName() && config.charLiteralStyles().equals( EnumSet.of(CharLiteralStyle.STANDARD))) { return BTID; } {code} In order to use it with not BQ dialect need to allow for {{STANDARD}} NOTE: this issue is only for dialects with backticks quoting -- This message was sent by Atlassian Jira (v8.20.10#820010)