Skip to content

Commit

Permalink
Fix statement visitor of DistSQL ALTER SQL_TRANSLATOR RULE (#29126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pace2Car authored Nov 22, 2023
1 parent a9e253b commit ed65048
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ASTNode visitShowSQLTranslatorRule(final ShowSQLTranslatorRuleContext ctx
@Override
public ASTNode visitAlterSQLTranslatorRule(final AlterSQLTranslatorRuleContext ctx) {
return new AlterSQLTranslatorRuleStatement(getIdentifierValue(ctx.sqlTranslatorRuleDefinition().providerName()), getProperties(ctx.sqlTranslatorRuleDefinition().propertiesDefinition()),
null == ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition().useOriginalSQL() ? null
null == ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition() ? null
: Boolean.valueOf(getIdentifierValue(ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition().useOriginalSQL())));
}

Expand Down

0 comments on commit ed65048

Please sign in to comment.