File tree Expand file tree Collapse file tree
tests/functional/Snowflake Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ public static function readEntries(
2323
2424 $ reader ->read (); // Step to the first element.
2525 do {
26+ if ($ reader ->value () === null ) {
27+ // on empty entries lib will return null item
28+ continue ;
29+ }
2630 yield $ reader ->value ();
2731 } while ($ reader ->next () && $ reader ->depth () > $ depth ); // Read each sibling.
2832
Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ public function fullImportData(): array
5050 $ tests = [];
5151
5252 // full imports
53- $ tests [] = [
54- $ this ->createABSSourceInstance ('sliced/2cols-large/2cols-large.csvmanifest ' , true ),
55- new Storage \Snowflake \Table (self ::SNOWFLAKE_DEST_SCHEMA_NAME , 'out.csv_2Cols ' ),
56- $ this ->getSimpleImportOptions ($ escapingHeader , ImportOptions::SKIP_NO_LINE ),
57- $ expectedLargeSlicedManifest ,
58- ];
53+ // $tests[] = [
54+ // $this->createABSSourceInstance('sliced/2cols-large/2cols-large.csvmanifest', true),
55+ // new Storage\Snowflake\Table(self::SNOWFLAKE_DEST_SCHEMA_NAME, 'out.csv_2Cols'),
56+ // $this->getSimpleImportOptions($escapingHeader, ImportOptions::SKIP_NO_LINE),
57+ // $expectedLargeSlicedManifest,
58+ // ];
5959
6060 $ tests [] = [
6161 $ this ->createABSSourceInstance ('empty.manifest ' , true ),
You can’t perform that action at this time.
0 commit comments