COLDMANYU opened a new issue, #14931: URL: https://github.com/apache/gravitino/issues/14931
### What would you like to be improved? With a Paimon catalog on the Hive backend, `CREATE TABLE t (...) USING csv` through the Gravitino Spark connector creates a Paimon table, not a CSV format table. The `provider` and `location` properties that Spark passes are stored as plain table properties, so the Hive metastore gets a Paimon table whose `provider` is `csv`, and `LOCATION` is not used as the table path. Paimon's own `SparkCatalog` turns `USING <file format>` into a format table (`type=format-table`, `file.format=<format>`) and `LOCATION` into the table path. The same statement gives different tables depending on whether it goes through Gravitino or not. ### How should we improve? For the Hive backend, the only Paimon backend that can create format tables, convert the Spark properties the same way Paimon's `SparkCatalog` does before creating the table through Gravitino. Other backends keep today's behavior, so `USING parquet` on the filesystem backend still creates a Paimon table and existing users are not affected. -- 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]
