ClickHouse/docs/en/engines/table-engines/integrations/deltalake.md
2023-01-11 07:53:37 -05:00

1.2 KiB

slug sidebar_label
/en/engines/table-engines/integrations/deltalake DeltaLake

DeltaLake Table Engine

This engine provides a read-only integration with existing Delta Lake tables in Amazon S3.

Create Table

Note that the Delta Lake table must already exist in S3, this command does not take DDL parameters to create a new table.

CREATE TABLE deltalake
    ENGINE = DeltaLake(url, [aws_access_key_id, aws_secret_access_key,])

Engine parameters

  • url — Bucket url with path to the existing Delta Lake table.
  • aws_access_key_id, aws_secret_access_key - Long-term credentials for the AWS account user. You can use these to authenticate your requests. Parameter is optional. If credentials are not specified, they are used from the configuration file. For more information see Using S3 for Data Storage.

Example

CREATE TABLE deltalake ENGINE=DeltaLake('http://mars-doc-test.s3.amazonaws.com/clickhouse-bucket-3/test_table/', 'ABC123', 'Abc+123')

See also