Github user Stephan202 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20057#discussion_r165814532
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/jdbc/DB2Dialect.scala ---
    @@ -49,4 +49,16 @@ private object DB2Dialect 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()
    --- End diff --
    
    For dialects not supporting cascading, should the documentation perhaps 
indicate that the `cascade` parameter is ignored?


---

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

Reply via email to