maropu commented on a change in pull request #26863: [SPARK-30234]ADD FILE 
cannot add directories from sql CLI
URL: https://github.com/apache/spark/pull/26863#discussion_r362442065
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -2098,6 +2098,12 @@ object SQLConf {
         "defined by `from` and `to`.")
       .booleanConf
       .createWithDefault(false)
+
+  val LEGACY_ADD_DIRECTORY_USING_RECURSIVE = 
buildConf("spark.sql.legacy.addDirectory.recursive")
+    .doc(" When true, users can add directory by passing path of a directory 
to ADD FILE" +
+      "command of SQL. If false, then only a single file can be added.")
 
 Review comment:
   nit: You need a single space in the head.

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


With regards,
Apache Git Services

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

Reply via email to