i7xh commented on a change in pull request #1086:
URL: https://github.com/apache/incubator-kyuubi/pull/1086#discussion_r707219557
##########
File path:
dev/kyuubi-extension-spark-3-1/src/test/scala/org/apache/spark/sql/KyuubiExtensionSuite.scala
##########
@@ -1584,4 +1584,40 @@ class KyuubiExtensionSuite extends QueryTest with
SQLTestUtils with AdaptiveSpar
checkZorderTable(true, "c4, c2, c1, c3", false, true)
}
}
+
+ test("test watchdog with scan maxHivePartitions") {
+ withTable("test", "temp") {
+ sql(
+ s"""
+ |CREATE TABLE test(i int)
+ |PARTITIONED BY (p int)
+ |STORED AS textfile""".stripMargin)
+ spark.range(0, 10000, 1).selectExpr("id as col")
Review comment:
> 10 rows is enough, otherwise we will produce 10000 * 10 rows data ..
Excessive force~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]