From 59bf1e6d5560f55ff4ef34245bcae4c1aa895c9c Mon Sep 17 00:00:00 2001 From: Priyanka Chatterjee Date: Mon, 21 Jul 2025 20:56:25 +0530 Subject: [PATCH 1/2] Add DuckDB version requirement for querying JSON column in the Tailpipe database --- docs/reference/cli/connect.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/cli/connect.md b/docs/reference/cli/connect.md index 74d21fc..0f6b992 100644 --- a/docs/reference/cli/connect.md +++ b/docs/reference/cli/connect.md @@ -36,9 +36,11 @@ tailpipe connect --from 2025-01-01 ``` > [!NOTE] -> You could use this connection string with DuckDB: +> You can use this connection string with DuckDB to directly query the Tailpipe database. DuckDB version 1.1.3 or later is required to properly query tables containing JSON columns without throwing errors. > +> ```bash > duckdb /home/jon/.tailpipe/data/default/tailpipe_20241212134120.db +> ``` Connect with no filter, show output as json: From 953b8af090255b4a4aa5a3f7955c5938b39ad4c9 Mon Sep 17 00:00:00 2001 From: Priyanka Chatterjee Date: Tue, 22 Jul 2025 00:08:19 +0530 Subject: [PATCH 2/2] Update docs/reference/cli/connect.md Co-authored-by: Puskar Basu <45908484+pskrbasu@users.noreply.github.com> --- docs/reference/cli/connect.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/cli/connect.md b/docs/reference/cli/connect.md index 0f6b992..b0d241c 100644 --- a/docs/reference/cli/connect.md +++ b/docs/reference/cli/connect.md @@ -36,7 +36,8 @@ tailpipe connect --from 2025-01-01 ``` > [!NOTE] -> You can use this connection string with DuckDB to directly query the Tailpipe database. DuckDB version 1.1.3 or later is required to properly query tables containing JSON columns without throwing errors. +> You can use this connection string with DuckDB to directly query the Tailpipe database. +To ensure compatibility with tables that include JSON columns, make sure you’re using DuckDB version 1.1.3 or later. > > ```bash > duckdb /home/jon/.tailpipe/data/default/tailpipe_20241212134120.db