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

    https://github.com/apache/spark/pull/13486#discussion_r67581319
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/test/DataFrameReaderWriterSuite.scala
 ---
    @@ -572,4 +572,16 @@ class DataFrameReaderWriterSuite extends StreamTest 
with BeforeAndAfter {
     
         cq.awaitTermination(2000L)
       }
    +
    +  test("prevent all column partitioning") {
    +    withTempDir { dir =>
    +      val path = dir.getCanonicalPath
    +      intercept[AnalysisException] {
    +        
spark.range(10).write.format("parquet").mode("overwrite").partitionBy("id").save(path)
    +      }
    +      intercept[AnalysisException] {
    +        
spark.range(10).write.format("orc").mode("overwrite").partitionBy("id").save(path)
    --- End diff --
    
    Ah, I see what you mean. I'm going to exclude `ORC` cases in #13730 .
    So, for the `OrcSuite`, you can do that. If then, I'll really appreciate it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to