pick #37074
This commit is contained in:
@ -269,7 +269,7 @@ public class SlotRef extends Expr {
|
||||
// virtual slot of an alias function
|
||||
// when we try to translate an alias function to Nereids style, the desc in the place holding slotRef
|
||||
// is null, and we just need the name of col.
|
||||
return col;
|
||||
return "`" + col + "`";
|
||||
} else if (desc.getSourceExprs() != null) {
|
||||
if (!disableTableName && (ToSqlContext.get() == null || ToSqlContext.get().isNeedSlotRefId())) {
|
||||
if (desc.getId().asInt() != 1) {
|
||||
|
||||
Reference in New Issue
Block a user