Iceberg
Source plugin: Iceberg [Spark]
Descriptionâ
Read data from Iceberg.
Optionsâ
name | type | required | default value |
---|---|---|---|
common-options | yes | - | |
path | string | yes | - |
pre_sql | string | yes | - |
snapshot-id | long | no | - |
as-of-timestamp | long | no | - |
Refer to iceberg read options for more configurations.
common-optionsâ
Source plugin common parameters, please refer to Source Plugin for details
pathâ
Iceberg table location.
pre_sqlâ
SQL statements queried from iceberg table. Note that the table name is result_table_name
configuration
snapshot-idâ
Snapshot ID of the table snapshot to read
as-of-timestampâ
A timestamp in milliseconds; the snapshot used will be the snapshot current at this time.
Exampleâ
iceberg {
path = "hdfs://localhost:9000/iceberg/warehouse/db/table"
result_table_name = "my_source"
pre_sql="select * from my_source where dt = '2019-01-01'"
}