You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Jianhui Dong (Jira)" <ji...@apache.org> on 2021/09/08 07:48:00 UTC

[jira] [Created] (CALCITE-4766) I think this condition is always true, so we need not to check it.

Jianhui Dong created CALCITE-4766:
-------------------------------------

             Summary: I think this condition is always true, so we need not to check it.
                 Key: CALCITE-4766
                 URL: https://issues.apache.org/jira/browse/CALCITE-4766
             Project: Calcite
          Issue Type: Improvement
            Reporter: Jianhui Dong
         Attachments: image-2021-09-08-15-46-09-395.png

in SqlValidatorImpl line 1387, there is a line `if (underFrom || true)`:

!image-2021-09-08-15-46-09-395.png!

The condition is always true and I think we can remove this condition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)