You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "xuzifu666 (via GitHub)" <gi...@apache.org> on 2024/08/15 13:37:29 UTC
[PR] [hive] Add a option for HiveCatalog to decide sync all properties to hms [paimon]
xuzifu666 opened a new pull request, #3973:
URL: https://github.com/apache/paimon/pull/3973
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
Linked issue: close #xxx
Add a option for HiveCatalog to decide sync all properties to hms.
Currently HiveCatalog had not sync all tblproperties to hms,this not fitable for platform dev which need collect these metadata,so add option to control it default is false.
before fix:
```
CREATE TABLE paimon_q_02 (
`user_id` STRING COMMENT '任务用到的库',
`used_table` STRING COMMENT '任务用到的表',
`day` STRING COMMENT '按天进行分区')
USING paimon
PARTITIONED BY (day)
TBLPROPERTIES(
'file.format' = 'parquet',
'file.compression' = 'ZSTD')
```
then TABLE_PARAMS is:
```
"tableParams":{"owner":"yuydws","totalSize":"623","numRows":"-1","rawDataSize":"-1","provider":"paimon","COLUMN_STATS_ACCURATE":"false","numFiles":"1","transient_lastDdlTime":"1723718372","storage_handler":"org.apache.paimon.hive.PaimonStorageHandler","table_type":"PAIMON"}
```
after fix:
then TABLE_PARAMS is:
```
"tableParams":{"owner":"yuydws","totalSize":"623","numRows":"-1","rawDataSize":"-1","provider":"paimon","COLUMN_STATS_ACCURATE":"false","numFiles":"1","transient_lastDdlTime":"1723718372",**"file.format":"parquet"**,**"file.compression":"ZSTD",**"storage_handler":"org.apache.paimon.hive.PaimonStorageHandler","table_type":"PAIMON"}
```
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [WIP][hive] Add a option for HiveCatalog to decide sync all properties to hms [paimon]
Posted by "xuzifu666 (via GitHub)" <gi...@apache.org>.
xuzifu666 closed pull request #3973: [WIP][hive] Add a option for HiveCatalog to decide sync all properties to hms
URL: https://github.com/apache/paimon/pull/3973
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hive] Add a option for HiveCatalog to decide sync all properties to hms [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #3973:
URL: https://github.com/apache/paimon/pull/3973
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hive] Add a option for HiveCatalog to decide sync all properties to hms [paimon]
Posted by "xuzifu666 (via GitHub)" <gi...@apache.org>.
xuzifu666 closed pull request #3973: [hive] Add a option for HiveCatalog to decide sync all properties to hms
URL: https://github.com/apache/paimon/pull/3973
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org