zabetak opened a new pull request #1771:
URL: https://github.com/apache/hive/pull/1771


   ### What changes were proposed in this pull request?
   Convert to decimal (instead of double) when comparing decimals and strings.
   
   ### Why are the changes needed?
   Fix unexpected (by some considered wrong) query results and handle better 
precision loss (examples in HIVE-24528)
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, this is a breaking change and query results when comparing decimals and 
strings may change. 
   
   ### How was this patch tested?
   `mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile="dec_str.q"`


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to