Skip to content

Commit 0a8f6db

Browse files
committed
..
1 parent f64a014 commit 0a8f6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filereader/parquet/parquet_file_reader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func New(fileName string, md *metadata.Metadata) *ParquetFileReader {
8282
parquetFileReader := new(ParquetFileReader)
8383
var pqFile ParquetFile = &PqFile{}
8484
pqFile, _ = pqFile.Open(fileName)
85-
parquetFileReader.pqReader, _ = NewParquetColumnReader(pqFile, int64(2))
85+
parquetFileReader.pqReader, _ = NewParquetColumnReader(pqFile, int64(config.Conf.Runtime.ParallelNumber))
8686
parquetFileReader.NumRows = int(parquetFileReader.pqReader.GetNumRows())
8787
parquetFileReader.Metadata = md
8888
parquetFileReader.ParquetFile = pqFile

0 commit comments

Comments
 (0)