You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/08/20 20:59:44 UTC

[GitHub] [calcite] laurentgo commented on pull request #2112: [CALCITE-4025] Fix early exit in DelegatingScope#fullyQualify

laurentgo commented on pull request #2112:
URL: https://github.com/apache/calcite/pull/2112#issuecomment-677901473


   I'm assuming you meant for this piece of code?
   ```
         // to capture possible suggestion if no table alias found
         SqlIdentifier suggestionPrefix = null;
         String suggestionName = null;
   ```
   I'm not sure why an empty string would be a better choice here. There's no safety issue, and `null` captures the absence of a match clearly (vs a suggestion which would be an empty table name).


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