Github user ppadma commented on a diff in the pull request:

    https://github.com/apache/drill/pull/540#discussion_r69650754
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/ParquetFixedWidthDictionaryReaders.java
 ---
    @@ -156,12 +156,18 @@ protected void readField(long 
recordsToReadInThisPass) {
           recordsReadInThisIteration = Math.min(pageReader.currentPageCount
               - pageReader.valuesRead, recordsToReadInThisPass - 
valuesReadInCurrentPass);
     
    -      for (int i = 0; i < recordsReadInThisIteration; i++){
    -        try {
    -        valueVec.getMutator().setSafe(valuesReadInCurrentPass + i, 
pageReader.dictionaryValueReader.readLong());
    -        } catch ( Exception ex) {
    -          throw ex;
    +      if (usingDictionary) {
    --- End diff --
    
    This should ideally be fixed for all types and will be done in a later 
commit after sufficient testing. For now, just fixing for the type that this 
issue is reported for. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to