File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/sqlalchemy-bigquery Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ bq rm -f -t test_pybigquery.sample
55bq rm -f -t test_pybigquery.sample_one_row
66bq rm -f -t test_pybigquery.sample_dml
77bq rm -f -t test_pybigquery_location.sample_one_row
8- bq rm -f -t test_pybigquery.test_table_create
9- bq rm -f -t test_pybigquery.test_table_create2
108
119bq mk --table --schema=$( dirname $0 ) /schema.json --time_partitioning_field timestamp --clustering_fields integer,string test_pybigquery.sample
1210bq load --source_format=NEWLINE_DELIMITED_JSON --schema=$( dirname $0 ) /schema.json test_pybigquery.sample $( dirname $0 ) /sample.json
Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ def test_create_table(engine):
400400 Column ('binary_c' , sqlalchemy .BINARY )
401401 )
402402 meta .create_all (engine )
403+ meta .drop_all (engine )
403404
404405 # Test creating tables with declarative_base
405406 Base = declarative_base ()
@@ -410,7 +411,7 @@ class TableTest(Base):
410411 float_c = Column (sqlalchemy .Float )
411412
412413 Base .metadata .create_all (engine )
413-
414+ Base . metadata . drop_all ( engine )
414415
415416def test_schemas_names (inspector , inspector_using_test_dataset ):
416417 datasets = inspector .get_schema_names ()
You can’t perform that action at this time.
0 commit comments