Chen768959 opened a new pull request, #3557:
URL: https://github.com/apache/calcite/pull/3557

   Clickhouse does not support the following EXTRACT Unit syntax, and 
ClickHouseSqlDialect may need some adaptation.
   
   `SELECT EXTRACT(DOW FROM Date '2023-12-01')`
   
![image](https://github.com/apache/calcite/assets/67011523/c56cda0f-26e2-40a3-b7ed-b871c87b384e)
   `SELECT EXTRACT(DOY FROM Date '2023-12-01')`
   
![image](https://github.com/apache/calcite/assets/67011523/390a92e6-9e18-4226-bddf-6a7554e00bed)
   `SELECT EXTRACT(WEEK FROM Date '2023-12-01')`
   
![image](https://github.com/apache/calcite/assets/67011523/d84ad5b3-33d0-4797-8709-fe0917eb99b4)
   


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