We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134bdbf commit d59e941Copy full SHA for d59e941
core/trino-main/src/main/java/io/trino/sql/planner/plan/Assignments.java
@@ -124,9 +124,7 @@ public Assignments filter(Predicate<Symbol> predicate)
124
125
public boolean isIdentity(Symbol output)
126
{
127
- Expression expression = assignments.get(output);
128
-
129
- return expression instanceof Reference reference && reference.name().equals(output.name());
+ return assignments.get(output) instanceof Reference reference && reference.name().equals(output.name());
130
}
131
132
public boolean isIdentity()
0 commit comments