目錄屬性Presto(Java)
您可以透過 API 自訂目錄屬性Presto(Java)。
| 內容名稱 | 類型 | 新增了驗證 |
|---|---|---|
cache.enabled |
布林 | True 或 False |
cache.base-directory |
字串 | 任意字串 |
cache.type |
字串 | 任意字串 |
cache.alluxio.max-cache-size |
字串 | 限制{1, 1e13} ;支援的值為有或沒有單位 TB、MB、GB、B、KB 的數字 |
hive.partition-statistics-based-optimization-enabled |
布林 | True 或 False |
hive.metastore-cache-scope |
字串 | 任意字串 |
hive.metastore-cache-ttl |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.metastore-refreshInterval |
字串 | 限制{1, 1e13} ;支援的值為帶或不帶單位 m、s、ms、h、d 的數字 |
hive.metastore-cache-maximum-size |
整數 | 限制{1, 1000} |
hive.partition-versioning-enabled |
布林 | True 或 False |
hive.file-status-cache-expire-time |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.file-status-cache-size |
整數 | 限制{1, 10000000000} |
hive.file-status-cache-tables |
字串 | 任意字串 |
<catalog-name>.orc.file-tail-cache-enabled |
布林 | True 或 False |
<catalog-name>.orc.file-tail-cache-size |
整數 | 限制{1, 1000000} |
<catalog-name>.orc.file-tail-cache-ttl-since-last-access |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
<catalog-name>.orc.stripe-metadata-cache-enabled |
布林 | True 或 False |
<catalog-name>.orc.stripe-footer-cache-size |
整數 | 限制{1, 1000} |
<catalog-name>.orc.stripe-footer-cache-ttl-since-last-access |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
<catalog-name>.orc.stripe-stream-cache-size |
整數 | 限制{1, 1000} |
<catalog-name>.orc.stripe-stream-cache-ttl-since-last-access |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.orc.use-column-names |
布林 | True 或 False |
<catalog-name>.parquet.metadata-cache-enabled |
布林 | True 或 False |
<catalog-name>.parquet.metadata-cache-size |
整數 | 限制{1, 1000} |
<catalog-name>.parquet.metadata-cache-ttl-since-last-access |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.parquet.use-column-names |
布林 | True 或 False |
hive.parquet-batch-read-optimization-enabled |
布林 | True 或 False |
hive.parquet.writer.version |
字串 | 任意字串 |
hive.node-selection-strategy |
字串 | 任意字串 |
hive.max-outstanding-splits |
整數 | 限制{1, 1000} |
hive.max-initial-splits |
整數 | 限制{1, 1000} |
hive.max-initial-split-size |
整數 | 限制{1, 1000} |
hive.max-split-size |
整數 | 限制{1, 1000} |
hive.split-loader-concurrency |
整數 | 限制{1, 1000} |
hive.storage-format |
字串 | 任意字串 |
iceberg.file-format |
字串 | 任意字串 |
hive.pushdown-filter-enabled |
布林 | True 或 False |
hive.max-partitions-per-writers |
整數 | 限制{1, 1000} |
hive.s3.max-error-retries |
整數 | 限制{1, 100} |
hive.s3.connect-timeout |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.s3.socket-timeout |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
hive.s3.max-connections |
整數 | 限制{1, 10000} |
hive.s3.max-client-retries |
整數 | 限制{1, 100} |
hive.collect-column-statistics-on-write |
布林 | True 或 False |
hive.metastore-refresh-interval |
字串 | 極限 {1,1e13} |
hive.non-managed-table-creates-enabled |
布林 | True 或 False |
hive.s3select-pushdown.enabled |
布林 | True 或 False |
hive.recursive-directories |
布林 | True 或 False |
hive.allow-rename-table |
布林 | True 或 False |
hive.allow-add-column |
布林 | True 或 False |
hive.allow-drop-column |
布林 | True 或 False |
hive.allow-rename-column |
布林 | True 或 False |
hive.metastore-timeout |
字串 | 限制{1, 1e13} ;支援的值是帶或不帶單位 m、s、ms、h 的數字 |
ignore-unsupported-datatypes |
布林 | True 或 False。 有關詳細信息,請參閱 忽略不支援的資料類型 |
忽略不支援的資料類型
Presto從資料庫檢索資料時,會跳過具有不支援的資料類型的資料列。 ignore-unsupported-datatypes 屬性控制此行為,預設設定為 true,導致跳過不支援的欄位。 您可以將該屬性設為 false 以使Presto當遇到不支援的資料類型時引發錯誤而不是忽略列。 因此,具有不受支援的列的表不會傳回不完整或不準確的資料。 此屬性可用於下列資料庫:
- Amazon Redshift
- IBM Db2
- Informix
- MySQL
- Oracle
- PostgreSQL
- SQL Server
- SingleStore
- Snowflake
- Teradata