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

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

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

    https://github.com/apache/drill/pull/231#discussion_r43906151
  
    --- Diff: 
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java
 ---
    @@ -87,6 +87,9 @@
       @JsonProperty("columns")
       public List<SchemaPath> columns;
     
    +  @JsonProperty("numPartitions")
    +  public final int numPartitions;
    --- End diff --
    
    Can numPartitions in Hive be greater than int_max ?


> Hive Scan : Add fileCount (no of files scanned) or no of partitions scanned 
> to the text plan
> --------------------------------------------------------------------------------------------
>
>                 Key: DRILL-3634
>                 URL: https://issues.apache.org/jira/browse/DRILL-3634
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Hive
>    Affects Versions: 1.2.0
>            Reporter: Rahul Challapalli
>            Assignee: Aman Sinha
>             Fix For: Future
>
>
> The hive scan portion of the text plan only lists the files scanned. It would 
> be helpful if the text plan also had fileCount value or the number of 
> partitions scanned.
> Reason : Currently as part of our tests we are verifying plans using a regex 
> based verification and the expected regex is matching more than it should. 
> Fixing this might be hard. So if we have the fileCount/partitionCount as part 
> of the plan, the plan comparision will be more accurate



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to