Skip to content

Commit dd19666

Browse files
Update a comment.
1 parent baa5d29 commit dd19666

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveComparisonTest.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ abstract class HiveComparisonTest
138138

139139
val orderedAnswer = hiveQuery.logical match {
140140
// Clean out non-deterministic time schema info.
141-
case _: SetCommand => Seq("0") // FIXME: respect the semantics of set commands?
141+
// 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")
142144
case _: NativeCommand => answer.filterNot(nonDeterministicLine).filterNot(_ == "")
143145
case _: ExplainCommand => answer
144146
case plan => if (isSorted(plan)) answer else answer.sorted

0 commit comments

Comments
 (0)