Closed optimistdk closed 3 years ago
hi, @optimistdk For CSV writer, it only supports OPTIONAL fields in previous version. In old version(<1.6) it will change the schema to OPTIONAL even if the user don't define it. But in 1.6 I delete this statement which induce your issue.
I update the library which now supports REQUIRED field in CSV writer. And I test your code which runs well.
Number of records: 1
Record: [{First:Harry Middle:S Last:Truman BirthCity:Lamar}]
Using Parquet writer and reader
Number of records: 1
Record: [{First:Harry Middle:S Last:Truman BirthCity:Lamar}]
Please use the latest version
Hello there !
Thanks for this lovely library. I have been playing around with the apis in the library and they mostly work. Due to dynamic nature of one our ingestion system, we wanted to use the
CSV Writer
for writing parquet files. But we consistently seem to have issues reading any type of bytes written in parquet file usingCSVWriter
.Sample code:
On running this test file:
Can you please help me what am i not doing correctly while using the CSV writer.