RussellSpitzer commented on pull request #2061:
URL: https://github.com/apache/iceberg/pull/2061#issuecomment-815273258
@jun-he I believe this code also disables using multiple partition fields
derived from a particular field even if they are not identity transforms which
is allowed. For example
```SQL
CREATE TABLE qa_catalog.db.test_table(
part bignit COMMENT 'part',
refreshed_at timestamp,
date date
)
USING iceberg
PARTITIONED BY (entity, years(date), month(date), day(date), part)
```
```
java.lang.IllegalArgumentException: Cannot add redundant partition: 1001:
date_year: year(2) conflicts with 1002: date_month: month(2)
```
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]