xiaochen-zhou opened a new pull request, #4132:
URL: https://github.com/apache/calcite/pull/4132

   Since FLOAT type is not supported in Presto
   
   According to the documentation: 
https://prestodb.io/docs/current/language/types.html#real
   
![image](https://github.com/user-attachments/assets/b7f1862a-4e02-4bee-842a-acf475fd3b2f)
   Using CAST(xxxx AS FLOAT) will result in an error:
   
   ```
   
   SELECT CAST(message_count AS FLOAT)
   
   FROM applydata_bigdata.kafka_topic_cluster_user_dept_month_one_day_msg_info
   
   WHERE ymd = 20250105
   
   ```
   
![image](https://github.com/user-attachments/assets/83156009-4ac3-434a-8aca-d6f0b80b2b25)
   It should be converted to the DOUBLE type instead.


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