Skip to main content

Hudi Table Engine

This engine provides a read-only integration with existing Apache Hudi tables in Amazon S3.

Create Table

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

CREATE TABLE hudi_table
ENGINE = Hudi(url, [aws_access_key_id, aws_secret_access_key,])

Engine parameters

  • url — Bucket url with the path to an existing Hudi 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.

Engine parameters can be specified using Named Collections.


CREATE TABLE hudi_table ENGINE=Hudi('', 'ABC123', 'Abc+123')

Using named collections:

CREATE TABLE hudi_table ENGINE=Hudi(hudi_conf, filename = 'test_table')

See also