Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/16179#discussion_r91829355
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala
---
@@ -418,4 +431,19 @@ class HiveCommandSuite extends QueryTest with
SQLTestUtils with TestHiveSingleto
assert(sql("SHOW PARTITIONS part_datasrc").count() == 3)
}
}
+
+ /**
+ * Run a function with a copy of the input file. Use this for tests that
use "LOAD DATA"
+ * (instead of "LOAD DATA LOCAL") since, according to Hive's semantics,
files are moved
--- End diff --
The semantic change happened in Hive 2.1, looks we don't need update the
tests for now?
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]