You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/05/18 17:41:03 UTC

[GitHub] [shardingsphere] ThanoshanMV edited a comment on pull request #10381: Proofread Oracle `SELECT` subquery clause

ThanoshanMV edited a comment on pull request #10381:
URL: https://github.com/apache/shardingsphere/pull/10381#issuecomment-843385076


   @wgy8283335 for the `selectSubquery`, I specified as:
   ```
   selectSubquery
       : (selectClause | selectSubquery ((UNION ALL? | INTERSECT | MINUS) selectSubquery)+ | LP_ selectSubquery RP_) orderByClause? rowLimitingClause
       ;
   ```
   But the ANTLR gave me an error `selectSubquery` is mutually left-recursive. So I changed it like `unionClause`. How shall we complete it?
   
   I removed `?` from the `rowLimitingClause` as it gave me a warning `selectSubquery contains an optional block with at least one alternative that can match an empty string`.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org