Skip to content

Commit 277fcde

Browse files
committed
Changes to- Example: Export data using Iceberg exporter
1 parent aebe441 commit 277fcde

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

content/shared/influxdb3-query-guides/snapshots/snowflake.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ For more information, refer to the [Snowflake documentation](https://docs.snowfl
5555

5656
Use the InfluxDB Iceberg exporter to convert and export your time-series data from your {{% product-name omit="Clustered" %}} cluster to the Iceberg table format.
5757

58-
#### Example: Export data using Iceberg exporter
58+
#### Creating a configuration file
5959

60-
This example assumes the following:
60+
Before running the export command, you need to create a configuration file that specifies which tables to export:
6161

62-
- You have a `config.json`.
63-
64-
#### Example `config.json`
62+
1. Create a file named `config.json` in your working directory
63+
2. Add the following JSON content, adjusting the namespace and table names to match your data:
6564

6665
```json
6766
{
@@ -74,6 +73,8 @@ This example assumes the following:
7473
}
7574
```
7675

76+
This configuration file tells the exporter which InfluxDB tables to convert to Iceberg format. You can list multiple tables by adding more objects to the exports array.
77+
7778
After configuring the export settings in the `config.json` file, the system automatically handles the export process. The export generates an Iceberg metadata file at a location similar to:
7879

7980
`/tmp/iceberg/company_sensors/cpu/metadata/v1.metadata.json`

0 commit comments

Comments
 (0)