TherChenYang commented on issue #31236:
URL: 
https://github.com/apache/shardingsphere/issues/31236#issuecomment-2114038619

   Hi @xigongxiaoche, can you test with master branch? After testing, the 
following SQL statement can be parsed correctly in the master.
   
   ```sql
   select
       age
   from
       (
           select
               '0-1岁'   age
             , count(*) countNum
             , '0'      sortNum
           from
               T_EMPI_PATIENT_INFO t
           where
               t.birth > to_char((sysdate - interval '1' year(3)), 'yyyymmdd')
       )
   ```


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

Reply via email to