Closed Xuanwo closed 3 weeks ago
Removal of Quotation Marks in Catalog Configurations
The update introduces a change to the Iceberg Catalog system. In existing setups, certain options within the properties (props
) field of Hive Metastore Catalog Configuration (HmsCatalogConfig
) and REST Catalog Configuration (RestCatalogConfig
) are surrounded by quotes. This change eliminates these quotation marks to simplify configurations and reduce potential parsing errors.
Conversion of props
field values into Map
The code update also transforms the values in the props
field into a Map data structure. This means the system discards unnecessary quotation marks, both around the keys and values, resulting in a cleaner, easier-to-use data format. This can improve workflow efficiency and reduce potential misunderstandings caused by redundant symbols.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Our parser doesn't allow users to write
s3.region
in options. Instead, users must use"s3.region"
, but it's stored as is which makes the behavior in wrong. We need to remove the quotes here.We only do this while building catalog so this won't affect existing catalogs.
Tests
Type of change
This change isโ