Skip to content

Commit f35332e

Browse files
test: ensure schema exists before creating BigQuery test table
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent 3042f56 commit f35332e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration_tests/test_bigquery_cache.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def test_decimal_type_conversion(
4848
assert converted_type.precision == 38, "Precision should be 38"
4949
assert converted_type.scale == 9, "Scale should be 9"
5050

51+
# Ensure schema exists before creating table
52+
new_bigquery_cache._ensure_schema_exists()
53+
5154
# Create a test table with a DECIMAL column
5255
sql = f"""
5356
CREATE TABLE {new_bigquery_cache.schema_name}.{table_name} (

0 commit comments

Comments
 (0)