File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,21 @@ public function checkViableLoadMethodExceptionProvider(): Generator
296296 ],
297297 'expected ' => 'Option "columns" is not supported when loading Bigquery table "foo.bar". ' ,
298298 ];
299+
300+ yield 'Snowflake Table to bigquery workspace ' => [
301+ 'tableInfo ' => [
302+ 'id ' => 'foo.bar ' ,
303+ 'name ' => 'bar ' ,
304+ 'bucket ' => ['backend ' => 'snowflake ' ],
305+ 'isAlias ' => false ,
306+ ],
307+ 'workspaceType ' => 'bigquery ' ,
308+ 'exportOptions ' => [
309+ 'columns ' => [],
310+ ],
311+ // phpcs:ignore Generic.Files.LineLength.MaxExceeded
312+ 'expected ' => 'Workspace type "bigquery" does not match table backend type "snowflake" when loading Bigquery table "foo.bar". ' ,
313+ ];
299314 }
300315
301316 /**
You can’t perform that action at this time.
0 commit comments