You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/16 03:27:51 UTC
[GitHub] [spark] StefanXiepj commented on a change in pull request #30785: SPARK-33755: Allow creating orc table when row format separator is defined
StefanXiepj commented on a change in pull request #30785:
URL: https://github.com/apache/spark/pull/30785#discussion_r543885631
##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala
##########
@@ -153,4 +153,18 @@ class HiveOrcSourceSuite extends OrcSuite with TestHiveSingleton {
}
}
}
+
+ test("SPARK-33755: Allow creating orc table when row format separator is defined") {
+ withTable("row_format_orc") {
+ sql(
+ s"""CREATE TABLE row_format_orc(
+ | intField INT,
+ | stringField STRING
+ |)
+ |ROW FORMAT DELIMITED FIELDS TERMINATED BY '002'
Review comment:
Although this unnecessary for ORC table, we can support an option that user can choose to ignore it or not.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org