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

    https://github.com/apache/spark/pull/17938#discussion_r116072807
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -581,6 +581,46 @@ Starting from Spark 2.1, persistent datasource tables 
have per-partition metadat
     
     Note that partition information is not gathered by default when creating 
external datasource tables (those with a `path` option). To sync the partition 
information in the metastore, you can invoke `MSCK REPAIR TABLE`.
     
    +### Bucketing, Sorting and Partitioning
    --- End diff --
    
    Oh, I thought you are implying there are some known issues. This actually 
behaves sensibly - all supported options seem to work independent of the order, 
and unsupported ones (`partitionBy` + `sortBy` without `bucketBy` or 
overlapping `bucketBy` and `partitionBy` columns) give enough feedback to 
diagnose the issue.
    
    I haven't tested this with large datasets though, so there can be hidden 
issues.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to