{{/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}}
Key | Default | Type | Description |
---|---|---|---|
cache-enabled |
true | Boolean | Controls whether the catalog will cache databases, tables, manifests and partitions. |
cache.expire-after-access |
10 min | Duration | Cache expiration policy: marks cache entries to expire after a specified duration has passed since their last access. |
cache.expire-after-write |
30 min | Duration | Cache expiration policy: marks cache entries to expire after a specified duration has passed since their last refresh. |
cache.manifest.max-memory |
(none) | MemorySize | Controls the maximum memory to cache manifest content. |
cache.manifest.small-file-memory |
128 mb | MemorySize | Controls the cache memory to cache small manifest files. |
cache.manifest.small-file-threshold |
1 mb | MemorySize | Controls the threshold of small manifest file. |
cache.partition.max-num |
0 | Long | Controls the max number for which partitions in the catalog are cached. |
cache.snapshot.max-num-per-table |
20 | Integer | Controls the max number for snapshots per table in the catalog are cached. |
case-sensitive |
(none) | Boolean | Indicates whether this catalog is case-sensitive. |
client-pool-size |
2 | Integer | Configure the size of the connection pool. |
file-io.allow-cache |
true | Boolean | Whether to allow static cache in file io implementation. If not allowed, this means that there may be a large number of FileIO instances generated, enabling caching can lead to resource leakage. |
file-io.populate-meta |
false | Boolean | Whether to populate file metadata while listing or getting file status. |
format-table.enabled |
true | Boolean | Whether to support format tables, format table corresponds to a regular csv, parquet or orc table, allowing read and write operations. However, during these processes, it does not connect to the metastore; hence, newly added partitions will not be reflected in the metastore and need to be manually added as separate partition operations. |
lock-acquire-timeout |
8 min | Duration | The maximum time to wait for acquiring the lock. |
lock-check-max-sleep |
8 s | Duration | The maximum sleep time when retrying to check the lock. |
lock.enabled |
(none) | Boolean | Enable Catalog Lock. |
lock.type |
(none) | String | The Lock Type for Catalog, such as 'hive', 'zookeeper'. |
metastore |
"filesystem" | String | Metastore of paimon catalog, supports filesystem, hive and jdbc. |
resolving-file-io.enabled |
false | Boolean | Whether to enable resolving fileio, when this option is enabled, in conjunction with the table's property data-file.external-paths, Paimon can read and write to external storage paths, such as OSS or S3. In order to access these external paths correctly, you also need to configure the corresponding access key and secret key. |
sync-all-properties |
true | Boolean | Sync all table properties to hive metastore |
table.type |
managed | Enum |
Type of table. Possible values:
|
uri |
(none) | String | Uri of metastore server. |
warehouse |
(none) | String | The warehouse root path of catalog. |