[ 
https://issues.apache.org/jira/browse/DRILL-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16494149#comment-16494149
 ] 

ASF GitHub Bot commented on DRILL-6447:
---------------------------------------

vrozov commented on a change in pull request #1291: DRILL-6447: Fixed a sanity 
check condition
URL: https://github.com/apache/drill/pull/1291#discussion_r191050730
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/PageReader.java
 ##########
 @@ -445,8 +445,8 @@ public void clear(){
    * @throws IOException An IO related condition
    */
   void resetDefinitionLevelReader(int skipCount) throws IOException {
-    if (parentColumnReader.columnDescriptor.getMaxDefinitionLevel() != 0) {
-      throw new UnsupportedOperationException("Unsupoorted Operation");
+    if (parentColumnReader.columnDescriptor.getMaxDefinitionLevel() > 1) {
 
 Review comment:
   This is already part of Parquet version upgrade (see PR #1259), no need to 
fix it.

----------------------------------------------------------------
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


> Unsupported Operation when reading parquet data
> -----------------------------------------------
>
>                 Key: DRILL-6447
>                 URL: https://issues.apache.org/jira/browse/DRILL-6447
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Parquet
>    Affects Versions: 1.14.0
>            Reporter: salim achouche
>            Assignee: salim achouche
>            Priority: Major
>             Fix For: 1.14.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> An exception is thrown when reading Parquet data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to