See attached .q file to reproduce. The difference seems to be whether trailing 0s are considered the same value or not.
HIVE-7373 Hive should not remove trailing zeros for decimal numbers
HIVE-8796 TestCliDriver acid tests with decimal needs benchmark to be updated
HIVE-8724 Right outer join produces incorrect result on Tez
https://reviews.apache.org/r/27715/