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

    https://github.com/apache/spark/pull/19911#discussion_r155340831
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/jdbc/PostgresDialect.scala ---
    @@ -100,5 +100,5 @@ private object PostgresDialect extends JdbcDialect {
     
       }
     
    -  override def isCascadingTruncateTable(): Option[Boolean] = Some(true)
    +  override def isCascadingTruncateTable(): Option[Boolean] = Some(false)
    --- End diff --
    
    Thanks for the extended example. The following was the original motivation 
of #14086 . I'm not disagree with you on this.
    ```
    `drop/create` is an expensive operation
    ```



---

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

Reply via email to