Skip to content

Commit accaffe

Browse files
committed
Proof read: improving grammar and clarity
1 parent 677ed17 commit accaffe

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Integrate with Snowflake using Apache Iceberg
22

3-
43
Export time-series data snapshots from InfluxDB into Apache Iceberg format.
54
Integrate data with Snowflake and other Iceberg-compatible tools without the need for complex ETL processes.
65

@@ -60,17 +59,17 @@ For more information, refer to the [Snowflake documentation](https://docs.snowfl
6059

6160
## Export InfluxDB data to Iceberg format
6261

63-
Use InfluxData's Iceberg exporter to convert and export your time-series data from your {{% product-name omit="Clustered" %}} cluster into the Iceberg table format.
62+
Use InfluxData's Iceberg exporter to convert and export your time-series data from your {{% product-name omit="Clustered" %}} cluster to the Iceberg table format.
6463

6564
### Example: Export data using Iceberg exporter
6665

67-
This example assumes:
68-
- You have followed the example for [writing and querying data in the IOx README](https://github.com/influxdata/influxdb_iox/blob/main/README.md#write-and-read-data)
69-
- You've configured compaction to trigger more quickly with these environment variables:
66+
This example assumes the following:
7067

68+
- You have followed the example for [writing and querying data in the IOx README](https://github.com/influxdata/influxdb_iox/blob/main/README.md#write-and-read-data).
69+
- You've configured compaction to trigger more quickly with these environment variables:
7170
- `INFLUXDB_IOX_COMPACTION_MIN_NUM_L0_FILES_TO_COMPACT=1`
7271
- `INFLUXDB_IOX_COMPACTION_MIN_NUM_L1_FILES_TO_COMPACT=1`
73-
- You have a `config.json`
72+
- You have a `config.json`.
7473

7574
#### Example `config.json`
7675

@@ -84,6 +83,7 @@ This example assumes:
8483
]
8584
}
8685
```
86+
8787
#### Running the export command
8888

8989
```console
@@ -95,11 +95,12 @@ $ influxdb_iox iceberg export \
9595
--sink-data-dir /tmp/iceberg \
9696
--export-config-path config.json
9797
```
98+
9899
The export command outputs an absolute path to an Iceberg metadata file:
99100

100101
`/tmp/iceberg/company_sensors/cpu/metadata/v1.metadata.json
101102
`
102-
#### Example: Querying the exported metadata using duckdb
103+
#### Example: Querying the exported metadata using DuckDB
103104

104105
```console
105106
$ duckdb
@@ -114,6 +115,8 @@ D SELECT * FROM iceberg_scan('/tmp/iceberg/metadata/v1.metadata.json') LIMIT 1;
114115
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
115116
```
116117

118+
Next, create an Iceberg table in Snowflake.
119+
117120
### Create an Iceberg table in Snowflake
118121

119122
After exporting the data, create an Iceberg table in Snowflake.
@@ -151,10 +154,10 @@ WHERE timestamp > '2025-01-01';
151154

152155
```sh
153156
# Enable Iceberg feature
154-
influxctl enable-iceberg
157+
$ influxctl enable-iceberg
155158

156159
# Export a snapshot
157-
influxctl export --namespace foo --table bar
160+
$ influxctl export --namespace foo --table bar
158161
```
159162

160163
### Use the API to manage and configure snapshots

0 commit comments

Comments
 (0)