dtenedor commented on a change in pull request #35982:
URL: https://github.com/apache/spark/pull/35982#discussion_r838794126
##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertSuite.scala
##########
@@ -857,52 +857,65 @@ class InsertSuite extends QueryTest with
TestHiveSingleton with BeforeAndAfter
}
test("SPARK-35531: Insert data with different cases of bucket column") {
- withTable("test1") {
- Seq(true, false).foreach { isHiveTable =>
- val createSpark = if (isHiveTable) {
- """
- |CREATE TABLE TEST1(
- |v1 BIGINT,
- |s1 INT)
- |PARTITIONED BY (pk BIGINT)
- |CLUSTERED BY (v1)
- |SORTED BY (s1)
- |INTO 200 BUCKETS
- |STORED AS PARQUET
- """.stripMargin
- } else {
- """
- |CREATE TABLE test1(
- |v1 BIGINT,
- |s1 INT)
- |USING PARQUET
- |PARTITIONED BY (pk BIGINT)
- |CLUSTERED BY (v1)
- |SORTED BY (s1)
- |INTO 200 BUCKETS
- """.stripMargin
- }
+ def test: Unit = {
Review comment:
Done.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]