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

   ## Jira Link
   
   [CALCITE-5987](https://issues.apache.org/jira/browse/CALCITE-5987)
   
   ## Changes Proposed
   
   Added an option to `SqlImplementor` that enables it to preserve types for 
literals. For example, today a literal emitted as `5.0` could be a `DOUBLE`, 
`REAL`, `FLOAT`, or `DECIMAL`. With this flag the output would be `CAST(5.0 AS 
REAL)`, making the type explicit.
   
   There is a new subclass of `RelToSelConverter` called 
`RelToSqlConverterRoundTrip` which executes all the tests for `RelToSql` for 
the Calcite dialect by checking that with this change the produced SQL has 
enough information to reconstruct the "original" program.


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