Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tartarus0zm committed Feb 11, 2022
1 parent 1005827 commit a0171cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/main/codegen/templates/Parser.jj
Original file line number Diff line number Diff line change
Expand Up @@ -2184,10 +2184,10 @@ SqlNode TableRef2(boolean lateral) :
if (lateral) {
if (hints.size() > 0) {
hintList = new SqlNodeList(hints, s.addAll(hints).end(this));
SqlNode lateralCall = SqlStdOperatorTable.LATERAL.createCall(
s.end(this), tableRef);
tableRef = new SqlTableRef(Span.of(lateralCall, hintList).pos(),
lateralCall, hintList, true);
SqlNode lateralCall = new SqlTableRef(Span.of(tableRef, hintList).pos(),
tableRef, hintList, true);
tableRef = SqlStdOperatorTable.LATERAL.createCall(
s.end(this), lateralCall);
} else {
tableRef = SqlStdOperatorTable.LATERAL.createCall(
s.end(this), tableRef);
Expand Down

0 comments on commit a0171cd

Please sign in to comment.