File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
tests/functional/Snowflake Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ public static function readEntries(
23
23
24
24
$ reader ->read (); // Step to the first element.
25
25
do {
26
+ if ($ reader ->value () === null ) {
27
+ // on empty entries lib will return null item
28
+ continue ;
29
+ }
26
30
yield $ reader ->value ();
27
31
} while ($ reader ->next () && $ reader ->depth () > $ depth ); // Read each sibling.
28
32
Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ public function fullImportData(): array
50
50
$ tests = [];
51
51
52
52
// 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
+ // ];
59
59
60
60
$ tests [] = [
61
61
$ this ->createABSSourceInstance ('empty.manifest ' , true ),
You can’t perform that action at this time.
0 commit comments