You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/04/18 03:29:09 UTC

[GitHub] [spark] dongjoon-hyun edited a comment on issue #28232: [SPARK-31459][SQL]fix insert overwrite directory target path is an existing file

dongjoon-hyun edited a comment on issue #28232: [SPARK-31459][SQL]fix insert overwrite directory target path is an existing file
URL: https://github.com/apache/spark/pull/28232#issuecomment-615548088
 
 
   Ur, @mcdull-zhang . When I try at Apache Spark 3.0.0-RC1, I get the following. For me, the current behavior looks correct to me.
   ```scala
   scala> spark.version
   res1: String = 3.0.0
   
   scala> sql("INSERT OVERWRITE LOCAL DIRECTORY '/tmp/p1' STORED AS ORC SELECT 1").show
   java.lang.RuntimeException: Cannot create staging directory 'file:/tmp/p1/.hive-staging_hive_2020-04-18_03-27-45_173_5810881255552839519-1': Parent path is not a directory: file:/tmp/p1
   ```

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


With regards,
Apache Git Services

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