sijie opened a new issue #4775: [SQL] Optimize handling date related types in 
presto handler
URL: https://github.com/apache/pulsar/issues/4775
 
 
   **Is your feature request related to a problem? Please describe.**
   
   Currently Presto is using `Schema` implementation to serialize and 
deserialize types. Schema stores `Date`, `Timestamp` and `Time` as epoch 
timestamp in the same way. So presto has to deserialize the serialized message 
back to java util `Date`, `Timestamp` and `Time`. There can be performance 
penalty due to object allocations. If it happens to be a bottleneck, we need to 
seek a solution to optimize it.
   
   See discussions at : 
https://github.com/apache/pulsar/pull/4728#discussion_r305015611 
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to