dongjoon-hyun commented on a change in pull request #30529:
URL: https://github.com/apache/spark/pull/30529#discussion_r532258181



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/v1/ShowTablesSuite.scala
##########
@@ -84,6 +85,30 @@ trait ShowTablesSuiteBase extends 
command.ShowTablesSuiteBase {
       result.foreach { case Row(_, _, _, info: String) => 
assert(info.nonEmpty) }
     }
   }
+
+  test("case sensitivity of partition spec") {
+    withNamespace(s"$catalog.ns") {
+      sql(s"CREATE NAMESPACE $catalog.ns")
+      val t = s"$catalog.ns.part_table"
+      withTable(t) {
+        sql(s"""
+          |CREATE TABLE $t (price int, qty int, year int, month int)
+          |$defaultUsing
+          |partitioned by (year, month)""".stripMargin)

Review comment:
       nit. `partitioned by` -> `PARTITIONED BY` (upper case) because we used 
`CREATE TABLE` in the upper cases.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to