Re: write distribution change when setting local order to a partition table

2024-08-27 Thread Manu Zhang
I've made a PR https://github.com/apache/iceberg/pull/10774 to adapt the behavior. Please help review. Thanks, Manu On Fri, Jul 19, 2024 at 8:03 AM Anton Okolnychyi wrote: > The command currently strictly follows the provided instructions and > defaults the distribution and sort order if not pr

Re: write distribution change when setting local order to a partition table

2024-07-18 Thread Anton Okolnychyi
The command currently strictly follows the provided instructions and defaults the distribution and sort order if not provided. This means it actually unsets the sort order if it was not provided and sets the distribution to none if the distribution clause is missing. I guess it would be more natura

Re: write distribution change when setting local order to a partition table

2024-07-16 Thread Anton Okolnychyi
If I remember correctly, it was by design. That being said, I see why it may be confusing. Let me take a closer look. вт, 16 лип. 2024 р. о 06:48 Manu Zhang пише: > Hi all, > > When I recently set a local order to a partitioned table, its write > distribution was altered from HASH to NONE. That'