Skip to content

Commit

Permalink
test: ensure schema exists before creating BigQuery test table
Browse files Browse the repository at this point in the history
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and aaronsteers committed Jan 25, 2025
1 parent 3042f56 commit f35332e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration_tests/test_bigquery_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def test_decimal_type_conversion(
assert converted_type.precision == 38, "Precision should be 38"
assert converted_type.scale == 9, "Scale should be 9"

# Ensure schema exists before creating table
new_bigquery_cache._ensure_schema_exists()

# Create a test table with a DECIMAL column
sql = f"""
CREATE TABLE {new_bigquery_cache.schema_name}.{table_name} (
Expand Down

0 comments on commit f35332e

Please sign in to comment.