Skip to content

Commit

Permalink
repo-sync-2024-09-10T19:41:20+0800 (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
RexLyc authored Sep 10, 2024
1 parent 20e7c4d commit ee93016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/datamesh/dataserver/io/builtin/dataio.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func DataProxyContentToFlightStreamCSV(data *datamesh.DomainData, r io.Reader, w
}
schema, _ := utils.GenerateArrowSchema(data)
// use csv reader,ignore first row, first row is headline.
csvReader := csv.NewInferringReader(r, csv.WithColumnTypes(colTypes), csv.WithHeader(true), csv.WithNullReader(true, CSVDefaultNullValue))
csvReader := csv.NewInferringReader(r, csv.WithColumnTypes(colTypes), csv.WithHeader(true), csv.WithNullReader(true, CSVDefaultNullValue), csv.WithChunk(1024))
defer csvReader.Release()
defer func() {
if r := recover(); r != nil {
Expand Down

0 comments on commit ee93016

Please sign in to comment.