ka1serd0m opened a new issue, #9731:
URL: https://github.com/apache/gravitino/issues/9731
### Version
main branch
### Describe what's wrong
1. currently, gravitino does not support specifying bucket-key when creating
a paimon table. Is there any scheme to achieve this feature?
2. due to table primary key is gravitino filtered, how to specify the
primary key in SQL when using spark-sql create paimon table?
### Error message and/or stacktrace
java.lang.IllegalArgumentException: Distribution is not supported for Paimon
in Gravitino now.
at
com.google.common.base.Preconditions.checkArgument(Preconditions.java:143)
at
org.apache.gravitino.catalog.lakehouse.paimon.PaimonCatalogOperations.createTable(PaimonCatalogOperations.java:351)
at
org.apache.gravitino.catalog.lakehouse.paimon.PaimonCatalogOperations.createTable(PaimonCatalogOperations.java:79)
at
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalCreateTable$25(TableOperationDispatcher.java:599)
at
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:160)
### How to reproduce
create paimon table and specify bucket-key
### Additional context
_No response_
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]