viirya commented on issue #7121:
URL: 
https://github.com/apache/arrow-datafusion/issues/7121#issuecomment-1655043242

   Then it is a question about what type of value should DataFusion parse from 
a literal like `6.4053151420411946063694043751862251568`, it should be 
currently float64, or decimal like Spark?
   
   This could be discussed.
   
   I'm not sure if it is designed by intention or just a mistake (bug?).
   
   Just to clarify that this is not a bug that DataFusion cast produces an 
incorrect result. Actually the cast result is correct as it treats the input as 
float64 instead of decimal. Otherwise, it might be confused for others who look 
for the root cause in cast function but actually it is not there.
   


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