Skip to content

Commit 31179ac

Browse files
xuliangsfa-assistant
authored andcommitted
fix BQ seed with a custom schema (#4120)
* fix * bump driver GitOrigin-RevId: 4f341302644914f5b5d940d71a2fd70c0b89bafa
1 parent 4446595 commit 31179ac

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Fixes
2+
body: Fix BQ seed with custom schema
3+
time: 2025-06-24T23:40:30.78737005-07:00

crates/dbt-xdbc/src/bigquery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub const QUERY_PARAMETER_MODE_NAMED: &str = "adbc.bigquery.sql.query.parameter_
3232
pub const QUERY_PARAMETER_MODE_POSITIONAL: &str =
3333
"adbc.bigquery.sql.query.parameter_mode_positional";
3434

35-
pub const QUERY_DESTINATION_TABLE: &str = "adbc.bigquery.sql.query.destination_table";
35+
pub const QUERY_DESTINATION: &str = "adbc.bigquery.sql.query.destination";
3636
pub const QUERY_DEFAULT_PROJECT_ID: &str = "adbc.bigquery.sql.query.default_project_id";
3737
pub const QUERY_DEFAULT_DATASET_ID: &str = "adbc.bigquery.sql.query.default_dataset_id";
3838
pub const QUERY_CREATE_DISPOSITION: &str = "adbc.bigquery.sql.query.create_disposition";

crates/dbt-xdbc/src/checksums.rs

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
1111
&str, // version
1212
),
1313
&str, // checksum
14-
); 87] = [
14+
); 92] = [
1515
(
1616
("bigquery", "apple-darwin", "aarch64", "0.17.0+dbt0.2.2"),
1717
"f8cadc3b234c750b036a40273b74a73ce8fd7a1ea08edf34fb9a51c492ac3233",
@@ -32,6 +32,10 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
3232
("bigquery", "apple-darwin", "aarch64", "0.18.0+dbt0.0.4"),
3333
"78bb035647c36b0c290b91865f0dba097a5347c6861572c454f7847d7e89ac99",
3434
),
35+
(
36+
("bigquery", "apple-darwin", "aarch64", "0.18.0+dbt0.0.5"),
37+
"e24d955e1ad366f0431db07f93b610b28c7af3e74255ef71f804e7a3d3615015",
38+
),
3539
(
3640
("bigquery", "apple-darwin", "x86_64", "0.17.0+dbt0.2.2"),
3741
"3705b9b8425c6fedcc28ead41cc90e36214d1201931d39e300549301d4c13bb9",
@@ -52,6 +56,10 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
5256
("bigquery", "apple-darwin", "x86_64", "0.18.0+dbt0.0.4"),
5357
"5c19815aac57a53e5f244965a45313e749cd15daafae219407ae8b1200f61fb4",
5458
),
59+
(
60+
("bigquery", "apple-darwin", "x86_64", "0.18.0+dbt0.0.5"),
61+
"4b554cc27b5de79d14bb24beed6607c8317c43863edc9aadfcd0d9c38b9b04c6",
62+
),
5563
(
5664
("bigquery", "manylinux_2_17-linux-gnu", "aarch64", "0.18.0+dbt0.0.3"),
5765
"87b0bb24b18227d1d7e154a7f559c560fd83cafa8c7309ffaccc7dcfb073a1e2",
@@ -60,6 +68,10 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
6068
("bigquery", "manylinux_2_17-linux-gnu", "aarch64", "0.18.0+dbt0.0.4"),
6169
"36df7128dd80e6125b759f2e534aa82fded1ef0ab94bf9dcb04415d2fe5851f0",
6270
),
71+
(
72+
("bigquery", "manylinux_2_17-linux-gnu", "aarch64", "0.18.0+dbt0.0.5"),
73+
"b4e4eb4412cbd7c29fad109d9da2313f27fcee3535099ad990f98fe2206fa12d",
74+
),
6375
(
6476
("bigquery", "manylinux_2_17-linux-gnu", "x86_64", "0.17.0+dbt0.2.2"),
6577
"ef67426d6f5d73a7f0a9fff271b4db265eb55532330e5a09bbb539657b95b3ab",
@@ -80,6 +92,10 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
8092
("bigquery", "manylinux_2_17-linux-gnu", "x86_64", "0.18.0+dbt0.0.4"),
8193
"585bfece338ff84332717a3f5a32617af8c0136838cf7da9beb24979f517ba27",
8294
),
95+
(
96+
("bigquery", "manylinux_2_17-linux-gnu", "x86_64", "0.18.0+dbt0.0.5"),
97+
"6bc9658be957edf647709b8024fe7a0c6d3c86b5a810341cdc5af30c6cda6fb3",
98+
),
8399
(
84100
("bigquery", "pc-windows-msvc", "x86_64", "0.17.0+dbt0.2.2"),
85101
"e782c2146aee9238ac1a599d47f4e74c041a76b8bbc5dc10c8e633534304c05a",
@@ -100,6 +116,10 @@ pub static SORTED_CDN_DRIVER_CHECKSUMS: [(
100116
("bigquery", "pc-windows-msvc", "x86_64", "0.18.0+dbt0.0.4"),
101117
"0dd85dc2b178c7993229029abe02ee1c7f929f315df13337c496742cad44e638",
102118
),
119+
(
120+
("bigquery", "pc-windows-msvc", "x86_64", "0.18.0+dbt0.0.5"),
121+
"aa4ad72cdf5a361270ebc5229f6cc26b1d80579f4c3553bb9f53e3b240e5cd69",
122+
),
103123
(
104124
("databricks", "apple-darwin", "aarch64", "0.17.0+dbt0.0.1"),
105125
"75660f0a44f9bd640ef0ee5ab44c4f43a9c13bf512eab36271dd82351c91df0d",

crates/dbt-xdbc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub fn str_from_sqlstate(sqlstate: &[c_char; 5]) -> &str {
7070
}
7171

7272
pub const SNOWFLAKE_DRIVER_VERSION: &str = "0.18.0+dbt0.0.8";
73-
pub const BIGQUERY_DRIVER_VERSION: &str = "0.18.0+dbt0.0.4";
73+
pub const BIGQUERY_DRIVER_VERSION: &str = "0.18.0+dbt0.0.5";
7474
pub const POSTGRES_DRIVER_VERSION: &str = "0.18.0+dbt0.0.2";
7575
pub const DATABRICKS_DRIVER_VERSION: &str = "0.18.0+dbt0.0.5";
7676

0 commit comments

Comments
 (0)