Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/956#discussion_r13521048
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveComparisonTest.scala
---
@@ -138,6 +138,7 @@ abstract class HiveComparisonTest
val orderedAnswer = hiveQuery.logical match {
// Clean out non-deterministic time schema info.
+ case _: SetCommand => Seq("0") // FIXME: respect the semantics of
set commands?
--- End diff --
I think it might actually be pretty hard to change this since Hive doesn't
return the results of set as a query answer, but instead prints them directly
to the screen. As long as we have tests elsewhere, I think this hack is okay.
We might change the comment to explain though.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---