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

   Since BINARY  type is not supported in Presto
   
   According to the documentation:
   
   https://prestodb.io/docs/current/language/types.html#varbinary
   
   
   Using CAST(xxxx AS BINARY) will result in an error:
   
   ```
   SELECT cast(task_id as binary)
   from applydata_bigdata.xflink_task_info
   where reader_info like '%mongodbreader%' or writer_info like 
'%mongodbwriter%';
   ```
   <img width="1074" alt="image" 
src="https://github.com/user-attachments/assets/8b70afb8-994d-4306-a993-2c09badd4491";
 />
   
   
   It should be converted to the VARBINARY 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