You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "LauraXia123 (via GitHub)" <gi...@apache.org> on 2026/06/08 07:54:29 UTC
[PR] [#11342] web-v2(UI): glue catalog table follow up issue [gravitino]
LauraXia123 opened a new pull request, #11485:
URL: https://github.com/apache/gravitino/pull/11485
### What changes were proposed in this pull request?
1. glue schema name not support hyphen (-)
2. glue table props table-format mapping props
3. add location prop for glue table
<img width="1872" height="1094" alt="image" src="https://github.com/user-attachments/assets/c08bbd2d-7bf6-4b72-bf59-daca2c0a98bc" />
<img width="2272" height="1472" alt="image" src="https://github.com/user-attachments/assets/711f8aea-7796-4030-bf62-e18e2b8f2d49" />
<img width="2242" height="1484" alt="image" src="https://github.com/user-attachments/assets/4e7411db-adde-453f-b892-6d86faa1412f" />
### Why are the changes needed?
N/A
Fix: #11342
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
manually
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11342] web-v2(UI): glue catalog table follow up issue [gravitino]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #11485:
URL: https://github.com/apache/gravitino/pull/11485#discussion_r3371621085
##########
web-v2/web/src/config/catalog.js:
##########
@@ -148,16 +153,19 @@ export const tableDefaultProps = {
{
key: 'metadata_location',
defaultValue: '',
+ hide: ['hive'],
description: 'Iceberg metadata file path'
},
{
key: 'format',
defaultValue: '',
+ hide: ['iceberg'],
select: ['TEXTFILE', 'SEQUENCEFILE', 'RCFILE', 'ORC', 'PARQUET', 'AVRO', 'JSON', 'CSV', 'REGEX']
Review Comment:
For Glue tables, `format` defaults to empty while `input-format` defaults to TextInputFormat. When a user selects `table-format=HIVE` but leaves `format` unset, the UI will submit `input-format`/`output-format`/`serde-lib` defaults without a `format` value. On the server side, Glue defaults `format` to PARQUET when missing, and since class names are present it will not auto-translate them, producing an inconsistent StorageDescriptor (e.g., PARQUET + TextInputFormat). Consider defaulting `format` (and the corresponding class defaults) consistently (e.g., PARQUET).
##########
web-v2/web/src/config/catalog.js:
##########
@@ -173,6 +181,7 @@ export const tableDefaultProps = {
{
key: 'output-format',
defaultValue: 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat',
+ hide: ['iceberg'],
defaultValueOptions: {
Review Comment:
With `format` potentially unset for Glue/Hive tables, `output-format` should also default consistently with the chosen default storage format (e.g., PARQUET). Otherwise the UI may submit a default output format for TEXTFILE while the server assumes PARQUET when `format` is absent.
##########
web-v2/web/src/config/catalog.js:
##########
@@ -188,6 +197,7 @@ export const tableDefaultProps = {
{
key: 'serde-lib',
defaultValue: 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe',
+ hide: ['iceberg'],
defaultValueOptions: {
Review Comment:
Similarly, `serde-lib` defaults for Glue/Hive tables should align with the default `format` to avoid sending Parquet/ORC/etc. mismatched with the SerDe class (or vice versa) when the user doesn't explicitly set `format`.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11342] web-v2(UI): glue catalog table follow up issue [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 merged PR #11485:
URL: https://github.com/apache/gravitino/pull/11485
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org