srowen commented on PR #36499:
URL: https://github.com/apache/spark/pull/36499#issuecomment-1140281363

   So if I create a NUMBER in Teradata without a scale, then it uses a system 
default scale. Do we know what that is? 
   I'm confused if Teradata doesn't record and return the actual scale used in 
the driver, because otherwise we have to guess here.
   What if I have a NUMBER that is scale=0, actually? this would be wrong.
   I imagine your change is more correct, but, I'm also aware this is a 
behavior change in a case where it seems like there is no correct answer.
   
   Can a caller work around it in this case with a cast or does that not work?


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