HyukjinKwon commented on a change in pull request #27199: [SPARK-30508][SQL] 
Add DataFrameReader.executeCommand API for external datasource
URL: https://github.com/apache/spark/pull/27199#discussion_r366711922
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
 ##########
 @@ -160,6 +161,30 @@ class DataFrameReader private[sql](sparkSession: 
SparkSession) extends Logging {
     this
   }
 
+  /**
+   * Execute a random DDL/DML command inside an external execution engine 
rather than Spark,
+   * especially for JDBC data source. This could be useful when user has some 
custom commands
+   * which Spark doesn't support, need to be executed. Please note that this 
is not appropriate
 
 Review comment:
   For note, you can use `@note` which works for both Scaladoc and Javadoc.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to