Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20057#discussion_r168927631
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MsSqlServerDialect.scala ---
    @@ -42,4 +42,17 @@ private object MsSqlServerDialect extends JdbcDialect {
       }
     
       override def isCascadingTruncateTable(): Option[Boolean] = Some(false)
    +
    +  /**
    +   * The SQL query used to truncate a table.
    +   * @param table The JDBCOptions.
    +   * @param cascade Whether or not to cascade the truncation. Default 
value is the
    +   *                value of isCascadingTruncateTable(). Ignored for MsSql 
as it is unsupported.
    --- End diff --
    
    And, for all dialects, please remove it or move it consistently.


---

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

Reply via email to