zy-kkk opened a new pull request, #59003:
URL: https://github.com/apache/doris/pull/59003
The lexer rule `FROM_DUAL` was matching `FROM dualtbl` as `FROM DUAL` +
`tbl`,
causing parse errors when using table/CTE names starting with 'dual'.
Move DUAL handling from lexer to parser level
- Remove `FROM_DUAL` lexer rule
- Add `#fromDual` branch in `fromClause` parser rule
- Handle `FromDualContext` in LogicalPlanBuilder
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]