カタログプロパティPresto(Java)

APIを通じてカタログのプロパティをカスタマイズできます。Presto(Java)。

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。 詳細は ignore-unsupported-datatypes を参照

ignore-unsupported-datatypes

Presto は、データベースからデータを取得するときに、サポートされていないデータ型の列をスキップします。 ignore-unsupported-datatypesプロパティはこの動作を制御し、デフォルトではtrueに設定され、サポートされていない列はスキップされる。 プロパティをfalseに設定すると、Prestoがサポートされていないデータ型に遭遇したときに、列を省略する代わりにエラーを発生させることができます。 そのため、サポートされていないカラムを持つテーブルが不完全または不正確なデータを返すことはない。 この物件は以下のデータベースに対応している:

  • Amazon Redshift
  • IBM Db2
  • Informix
  • MySQL
  • Oracle
  • PostgreSQL
  • SQL Server
  • SingleStore
  • Snowflake
  • Teradata