hcrosse commented on code in PR #1742:
URL: https://github.com/apache/arrow-go/pull/1742#discussion_r4810805646
##########
parquet/pqarrow/file_reader.go:
##########
@@ -675,7 +677,8 @@ func (fr *FileReader) getReader(ctx context.Context, field
*SchemaField, arrowFi
childReaders := make([]*ColumnReader, len(field.Children))
childFields := make([]arrow.Field, len(field.Children))
- if !fr.Props.Parallel {
+ conc := rctx.props.columnConcurrency(len(field.Children))
Review Comment:
Good catch. I updated struct reader setup to count only child subtrees with
selected leaves before computing the concurrency limit, so a single surviving
child struct keeps the full `MaxConcurrency` budget, and added projected-struct
concurrency tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]