We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa5d29 commit dd19666Copy full SHA for dd19666
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveComparisonTest.scala
@@ -138,7 +138,9 @@ abstract class HiveComparisonTest
138
139
val orderedAnswer = hiveQuery.logical match {
140
// Clean out non-deterministic time schema info.
141
- case _: SetCommand => Seq("0") // FIXME: respect the semantics of set commands?
+ // Hack: Hive simply prints the result of a SET command to screen,
142
+ // and does not return it as a query answer.
143
+ case _: SetCommand => Seq("0")
144
case _: NativeCommand => answer.filterNot(nonDeterministicLine).filterNot(_ == "")
145
case _: ExplainCommand => answer
146
case plan => if (isSorted(plan)) answer else answer.sorted
0 commit comments