juliuszsompolski commented on issue #26942: [SPARK-30301][SQL] Fix wrong 
results when datetimes as fields of complex types
URL: https://github.com/apache/spark/pull/26942#issuecomment-603741146
 
 
   BTW: there's also a difference in Decimals:
   Nested in `toHiveStructString` it used to just do `decimal.toString`, while 
now it always does `HiveDecimal.create(decimal).toString`.
   It results in 
`"...[-240162003],"col2":[0.00000000000000000007649305546030259135],"col3":{-100050828:..."
 did not equal 
"...[-240162003],"col2":[7.649305546030259135E-20],"col3":{-100050828:..."` in 
some tests I run.
   I also believe it doesn't really matter; likely the new behaviour is better.

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

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

Reply via email to