Jackie-Jiang commented on issue #12457: URL: https://github.com/apache/pinot/issues/12457#issuecomment-1958845665
> 1. Only implicit casts? What about explicit casts? I guess we can throw exception in both cases, and only support conversion with encoding specified (e.g. `hexToBytes()`, or introduce the same functions as PostgreSQL) > 2. With implicit cast can be do even better. We can tell Calcite that we do not support that type coersion from String to Bytes and it wont type at validation time. Sounds good, as long as we can provide proper exception message to user and guide them to directly use explicit bytes -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org