[ https://issues.apache.org/jira/browse/PARQUET-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685299#comment-16685299 ]
ASF GitHub Bot commented on PARQUET-1456: ----------------------------------------- gszadovszky opened a new pull request #548: PARQUET-1456: Use page index, ParquetFileReader throw ArrayIndexOutOfBoundsException URL: https://github.com/apache/parquet-mr/pull/548 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Use page index, ParquetFileReader throw ArrayIndexOutOfBoundsException > ---------------------------------------------------------------------- > > Key: PARQUET-1456 > URL: https://issues.apache.org/jira/browse/PARQUET-1456 > Project: Parquet > Issue Type: Bug > Components: parquet-mr > Reporter: yiming.xu > Assignee: Gabor Szadovszky > Priority: Blocker > Labels: pull-request-available > Fix For: 1.11.0 > > > hi, We use page index to adaptive spark with master branch find a concurrent > problem, class > org.apache.parquet.internal.column.columnindex.ColumnIndexBuilder#build > cached ColumnIndexBuilder but not lock it, > PrimitiveTypeName typeName = type.getPrimitiveTypeName(); > ColumnIndexBuilder builder = BUILDERS.get(typeName); > if (builder == null) { > builder = createNewBuilder(type, Integer.MAX_VALUE); > BUILDERS.put(typeName, builder); > } -- This message was sent by Atlassian JIRA (v7.6.3#76005)