Skip to content

Commit b6099cd

Browse files
authored
test(go): fix bind not being tested (#124)
1 parent 24dc5e4 commit b6099cd

File tree

8 files changed

+13
-5
lines changed

8 files changed

+13
-5
lines changed

go/pixi.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/validation/queries/ingest/binary_view_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
broken-driver = "arrow-go does not support casting binary_view to binary"
2424
broken-vendor = "BigQuery cannot natively ingest binary_view"
2525
sql-type-name = "BYTES"
26+
variant = "Storage Write API"
2627

2728
// part: input_schema
2829

go/validation/queries/ingest/list_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ caveats = [
2424
"BigQuery does not support NULL list elements; it will instead raise an error",
2525
"See the BigQuery documentation for the [ARRAY type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#array_type)"
2626
]
27+
variant = "Storage Write API"
2728

2829
// part: input_schema
2930
{

go/validation/queries/ingest/string_view_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
broken-driver = "arrow-go does not support casting string_view to string"
2424
broken-vendor = "BigQuery cannot natively ingest string_view"
2525
sql-type-name = "STRING"
26+
variant = "Storage Write API"
2627

2728
// part: input_schema
2829

go/validation/queries/ingest/time_ns_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
[tags]
2222
broken-driver = "The driver refuses to truncate to microseconds; it will work if the data is only microsecond precision and not nanosecond precision."
2323
sql-type-name = "TIME"
24+
variant = "Storage Write API"
2425

2526
// part: input_schema
2627

go/validation/queries/ingest/timestamp_ns_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
[tags]
2323
broken-driver = "The driver refuses to truncate to microseconds; it will work if the data is only microsecond precision and not nanosecond precision."
2424
sql-type-name = "DATETIME"
25+
variant = "Storage Write API"
2526

2627
// part: input_schema
2728

go/validation/queries/ingest/timestamptz_ns_storagewrite.txtcase

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
[tags]
2323
broken-driver = "The driver refuses to truncate to microseconds; it will work if the data is only microsecond precision and not nanosecond precision."
2424
sql-type-name = "TIMESTAMP"
25+
variant = "Storage Write API"
2526

2627
// part: input_schema
2728

go/validation/tests/bigquery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class BigQueryQuirks(model.DriverQuirks):
3737
connection_transactions=True,
3838
get_objects_constraints_foreign=True,
3939
get_objects_constraints_primary=True,
40+
statement_bind=True,
4041
statement_bulk_ingest=True,
4142
statement_bulk_ingest_schema=True,
4243
# N.B. while technically supported, this is only inside "multi
@@ -111,6 +112,7 @@ def _tests_storage_write(q):
111112
},
112113
"tags": {
113114
"broken-vendor": None,
115+
"variant": "Storage Write API",
114116
},
115117
}
116118
]

0 commit comments

Comments
 (0)