Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/4789#discussion_r25579743
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
---
@@ -465,10 +465,14 @@ class HiveQuerySuite extends HiveComparisonTest with
BeforeAndAfter {
createQueryTest("lateral view6",
"SELECT * FROM src LATERAL VIEW explode(map(key+3,key+4)) D as k, v")
- test("sampling") {
+ test("sampling #1") {
sql("SELECT * FROM src TABLESAMPLE(0.1 PERCENT) s")
}
+ test("sampling #2") {
+ sql("SELECT * FROM src TABLESAMPLE(100 PERCENT) s")
+ }
+
--- End diff --
Seems we can just put them in the same test.
---
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]