panbingkun commented on code in PR #47293:
URL: https://github.com/apache/spark/pull/47293#discussion_r1673860170


##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala:
##########
@@ -442,16 +441,16 @@ class HiveQuerySuite extends HiveComparisonTest with 
SQLTestUtils with BeforeAnd
       val expected = sql("SELECT key FROM small_src").collect().head
       val res = sql(
         """
-        |SELECT TRANSFORM (key) ROW FORMAT SERDE
-        |'org.apache.hadoop.hive.serde2.avro.AvroSerDe'
-        |WITH SERDEPROPERTIES ('avro.schema.literal'='{"namespace":
-        |"testing.hive.avro.serde","name": "src","type": "record","fields":
-        |[{"name":"key","type":"int"}]}') USING 'cat' AS (tKey INT) ROW FORMAT 
SERDE
-        |'org.apache.hadoop.hive.serde2.avro.AvroSerDe' WITH SERDEPROPERTIES
-        |('avro.schema.literal'='{"namespace": 
"testing.hive.avro.serde","name":
-        |"src","type": "record","fields": [{"name":"key","type":"int"}]}')
-        |FROM small_src
-      """.stripMargin.replaceAll(System.lineSeparator(), " ")).collect().head
+          |SELECT TRANSFORM (key) ROW FORMAT SERDE
+          |'org.apache.hadoop.hive.serde2.avro.AvroSerDe'
+          |WITH SERDEPROPERTIES ('avro.schema.literal'='{"namespace":
+          |"testing.hive.avro.serde","name": "src","type": "record","fields":
+          |[{"name":"key","type":"int"}]}') USING 'cat' AS (tKey INT) ROW 
FORMAT SERDE
+          |'org.apache.hadoop.hive.serde2.avro.AvroSerDe' WITH SERDEPROPERTIES
+          |('avro.schema.literal'='{"namespace": 
"testing.hive.avro.serde","name":
+          |"src","type": "record","fields": [{"name":"key","type":"int"}]}')
+          |FROM small_src
+        """.stripMargin.replaceAll(System.lineSeparator(), " ")).collect().head

Review Comment:
   I have already added this to the `description` of PR: `beautify some code 
formats.`



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

Reply via email to