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

    https://github.com/apache/spark/pull/20057#discussion_r168883594
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/jdbc/OracleDialect.scala ---
    @@ -94,5 +94,20 @@ private case object OracleDialect extends JdbcDialect {
         case _ => value
       }
     
    +  /**
    +  * 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()
    +  * @return The SQL query to use for truncating a table
    +  */
    +  override def getTruncateQuery(table: String,
    +                                cascade: Option[Boolean] = 
isCascadingTruncateTable): String = {
    --- End diff --
    
    ditto.


---

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

Reply via email to