You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Advanced Settings**: Change **Maximum Time Interval** to `30 seconds`
260
+
- Select **Next**
261
+
262
+
6.**Credentials**:
263
+
- Disable **Automatically create an Account API token for your sink**
264
+
- Enter **Catalog Token** from step 1
265
+
- Select **Next**
266
+
267
+
7.**Pipeline Definition**:
268
+
- Leave the default SQL query:
269
+
```sql
270
+
INSERT INTO demo_sink SELECT*FROM demo_stream;
271
+
```
272
+
- Select **Create Pipeline**
273
+
274
+
8. :::note
275
+
Note the **HTTP Ingest Endpoint URL** from the output. This is the endpoint you'll use to send data to your pipeline.
276
+
:::
277
+
278
+
</Steps>
279
+
280
+
```bash
281
+
# The http ingest endpoint
282
+
export STREAM_ENDPOINT= #the http ingest endpoint from the output (see example below)
283
+
```
284
+
</TabItem>
285
+
</Tabs>
286
+
287
+
160
288
## 5. Send some data
161
289
162
290
Next, let's send some events to our stream:
163
291
164
292
```curl
165
293
curl -X POST "$STREAM_ENDPOINT" \
166
-
-H "Authorization: Bearer YOUR_API_TOKEN" \
167
294
-H "Content-Type: application/json" \
168
295
-d '[
169
296
{
@@ -194,7 +321,7 @@ This will send 4 events in one `POST`. Since our Pipeline is filtering out recor
194
321
After you've sent your events to the stream, it will take about 30 seconds for the data to show in the table since that's what we configured our `roll interval` to be in the Sink.
description: A distributed SQL engine for R2 Data Catalog
10
+
---
11
+
12
+
## Query Apache Iceberg tables in R2 Data Catalog Using R2 SQL
13
+
14
+
15
+
:::note
16
+
R2 SQL is in public beta, and any developer with an R2 subscription can start using it. Currently, outside of standard R2 storage and operations, you will not be billed for your use of R2 SQL. We will update [the pricing page](/r2-sql/reference/pricing) and provide at least 30 days notice before enabling billing.
17
+
:::
18
+
19
+
R2 SQL is Cloudflare's serverless, distributed, analytics query engine for querying [Apache Iceberg](https://iceberg.apache.org/) tables stored in [R2 data catalog](https://developers.cloudflare.com/r2/data-catalog/). R2 SQL is designed to efficiently query large amounts of data by automatically utilizing file pruning, Cloudflare's distributed compute, and R2 object storage.
Create an end to end data pipeline and query your first table in R2 SQL by following [this step by step guide](/r2-sql/tutorials/end-to-end-pipeline/), learn how to create a data pipeline that takes a stream of events and automatically creates an Apache Iceberg table, making them accessible with R2 SQL.
0 commit comments