kumarUjjawal commented on PR #24046:
URL: https://github.com/apache/datafusion/pull/24046#issuecomment-5187284095

   > > Could we validate underscore placement before removing it? The SQL 
parser can pass values such as 1._2 and 1_e2 here. This change would turn them 
into valid 1.2 and 1e2, although PostgreSQL rejects them. We can reject 
underscores that do not have a digit on both sides.
   > 
   > Thanks @kumarUjjawal for the review. I think it's best to leave that to 
the upstream crate instead of tackling it here, since other systems using that 
library with the Postgres dialect will also have the same issue. My idea here 
of removing the separators is simply to allow the numbers to be parsed by the 
Rust library.
   
   Thanks, that make sense.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to