File tree Expand file tree Collapse file tree
tests/core/engine_adapter/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,13 +304,7 @@ def add_test_suffix(self, value: str) -> str:
304304
305305 def get_metadata_results (self , schema : t .Optional [str ] = None ) -> MetadataResults :
306306 schema = schema if schema else self .schema (TEST_SCHEMA )
307- results = MetadataResults .from_data_objects (self .engine_adapter .get_data_objects (schema ))
308- if self .dialect == "snowflake" and self .test_type == "df" :
309- # The Snowpark library manages the lifecycle of the SNOWPARK_TEMP_TABLE_* tables and drops them at the end of the session
310- # Our paramterized tests are just checking for tables *we* manage so including the Snowpark tables gives off-by-one errors
311- # when asserting table counts
312- results .tables = [t for t in results .tables if not t .startswith ("SNOWPARK_TEMP_TABLE" )]
313- return results
307+ return MetadataResults .from_data_objects (self .engine_adapter .get_data_objects (schema ))
314308
315309 def _init_engine_adapter (self ) -> None :
316310 schema = self .schema (TEST_SCHEMA )
You can’t perform that action at this time.
0 commit comments