Skip to content

Commit aebe441

Browse files
committed
removing run export example and adding
1 parent a4e2b80 commit aebe441

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

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

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Integrate {{< product-name >}} with Snowflake and other Iceberg-compatible tools without the need for complex ETL processes.
32
Export time series data snapshots from InfluxDB into Apache Iceberg format and query it from Snowflake.
43

@@ -60,9 +59,6 @@ Use the InfluxDB Iceberg exporter to convert and export your time-series data fr
6059

6160
This example assumes the following:
6261

63-
- You've configured compaction to trigger more quickly with these environment variables:
64-
- `INFLUXDB_IOX_COMPACTION_MIN_NUM_L0_FILES_TO_COMPACT=1`
65-
- `INFLUXDB_IOX_COMPACTION_MIN_NUM_L1_FILES_TO_COMPACT=1`
6662
- You have a `config.json`.
6763

6864
#### Example `config.json`
@@ -78,22 +74,11 @@ This example assumes the following:
7874
}
7975
```
8076

81-
### Run the export command
82-
83-
```console
84-
$ influxdb_iox iceberg export \
85-
--catalog-dsn postgresql://postgres@localhost:5432/postgres \
86-
--source-object-store file
87-
--source-data-dir ~/.influxdb_iox/object_store \
88-
--sink-object-store file \
89-
--sink-data-dir /tmp/iceberg \
90-
--export-config-path config.json
91-
```
77+
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:
9278

93-
The export command outputs an absolute path to an Iceberg metadata file:
79+
`/tmp/iceberg/company_sensors/cpu/metadata/v1.metadata.json`
9480

95-
`/tmp/iceberg/company_sensors/cpu/metadata/v1.metadata.json
96-
`
81+
This metadata file is what you'll reference when creating your Iceberg table in Snowflake.
9782
9883
### Create an Iceberg table in Snowflake
9984

0 commit comments

Comments
 (0)