hadoop - Hive results differs from MySql result. Join query on Hive returns unexpected result or OK results -
i have join query (that joins 4 table) on mysql returns 2 rows while on hive returns ok results. checked table individually on hive , mysql side.
records on each table on both side matches results join query differs. not case other join query.
i have checked directory tables fine.
the ok results comes specially when there no records on either of table or no directory available table. not case.
is ok results on hive issue.
below part of result:
stage-stage-6: map: 2 reduce: 1 cumulative cpu: 22.22 sec maprfs read: 0 maprfs write: 0 success stage-stage-7: map: 2 reduce: 1 cumulative cpu: 24.94 sec maprfs read: 0 maprfs write: 0 success stage-stage-8: map: 2 reduce: 1 cumulative cpu: 22.25 sec maprfs read: 0 maprfs write: 0 success total mapreduce cpu time spent: 2 minutes 36 seconds 110 msec ok time taken: 411.225 seconds hive>
yes.
based on reported behavior, can deduce there difference between what's implemented on mysql, , what's implemented on apache hive.
as far whether difference due difference in join behavior, there's not enough information given here determine why query against mysql , query against hive returning different results.
Comments
Post a Comment