From 74e11046561af3def991df74a44340947b972935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 3 Dec 2024 22:27:40 +0800 Subject: [PATCH] Update database connection smart cell definitions --- lib/livebook/runtime/definitions.ex | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/livebook/runtime/definitions.ex b/lib/livebook/runtime/definitions.ex index bac0b7a93..9b5f5ed3e 100644 --- a/lib/livebook/runtime/definitions.ex +++ b/lib/livebook/runtime/definitions.ex @@ -17,7 +17,7 @@ defmodule Livebook.Runtime.Definitions do kino_db = %{ name: "kino_db", - dependency: %{dep: {:kino_db, "~> 0.2.10"}, config: []} + dependency: %{dep: {:kino_db, "~> 0.3.0"}, config: []} } exqlite = %{ @@ -126,7 +126,7 @@ defmodule Livebook.Runtime.Definitions do kino_db, %{ name: "adbc", - dependency: %{dep: {:adbc, ">= 0.0.0"}, config: []} + dependency: %{dep: {:adbc, ">= 0.0.0"}, config: [adbc: [drivers: [:duckdb]]]} } ] }, @@ -135,8 +135,8 @@ defmodule Livebook.Runtime.Definitions do packages: [ kino_db, %{ - name: "req_bigquery", - dependency: %{dep: {:req_bigquery, ">= 0.0.0"}, config: []} + name: "adbc", + dependency: %{dep: {:adbc, ">= 0.0.0"}, config: [adbc: [drivers: [:bigquery]]]} } ] }, @@ -159,7 +159,10 @@ defmodule Livebook.Runtime.Definitions do packages: [ kino_db, kino_explorer, - %{name: "adbc", dependency: %{dep: {:adbc, ">= 0.0.0"}, config: []}} + %{ + name: "adbc", + dependency: %{dep: {:adbc, ">= 0.0.0"}, config: [adbc: [drivers: [:snowflake]]]} + } ] }, %{