-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
Hello,
Great library! I am trying to optimize some data by splitting a string into a repeated field but I ran into an issue when using REPEATED. I wrote a small example.
$schema = Schema::with(FlatColumn::string('test'));
$writer = new Writer();
$writer->open('/path/test.parquet', $schema);
$writer->writeRow(['test' => ['one', 'two', 'three']]);
$writer->close();
This results in an error.
TypeError: Flow\Parquet\Dremel\ColumnData\FlatValue::__construct(): Argument #4 ($value) must be of type string|int|float|bool|null, array given
Shouldn't this work or am I using this feature wrong?
Metadata
Metadata
Assignees
Labels
No labels