SPARK-3329: [SQL] Don't depend on Hive SET pair ordering.#2220
SPARK-3329: [SQL] Don't depend on Hive SET pair ordering.#2220willb wants to merge 3 commits intoapache:masterfrom
Conversation
|
ok to test |
|
QA tests have started for PR 2220 at commit
|
|
Ah, so this problem was fixed in PR #1514, but it seems like this later PR reverted the change accidentally. I think it'd be good to re-adapt 1514's solution. /cc @aarondav @liancheng |
|
Thanks, @concretevitamin! |
|
QA tests have finished for PR 2220 at commit
|
Result may not be returned in the expected order, so relax that constraint. Author: Aaron Davidson <aaron@databricks.com> Closes apache#1514 from aarondav/flakey and squashes the following commits: e5af823 [Aaron Davidson] Fix flakey HiveQuerySuite test Conflicts: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
|
@concretevitamin I cherry-picked @aarondav's fix (and added a very simple fix to handle cases that it didn't). |
|
QA tests have started for PR 2220 at commit
|
|
QA tests have finished for PR 2220 at commit
|
There was a problem hiding this comment.
Minor style nit: this could just be: case Row(KV(key,value)) => ... I believe.
|
Hey @willb, thanks for looking into / fixing this! Minor pattern matching suggestion only. |
|
QA tests have started for PR 2220 at commit
|
|
QA tests have finished for PR 2220 at commit
|
|
This failure (in |
|
QA tests have started for PR 2220 at commit
|
|
Tests timed out after a configured wait of |
|
Thanks for cleaning this up! Since this passed tests before I'm going to merge to master. |
|
@marmbrus @liancheng Can we backport this into |
This fixes some possible spurious test failures in
HiveQuerySuiteby comparing sets of key-value pairs as sets, rather than as lists.