drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4324) Hive native reader is slow when the underlying parquet file has more row groups
Date Thu, 28 Jan 2016 23:10:39 GMT
Rahul Challapalli created DRILL-4324:
----------------------------------------

             Summary: Hive native reader is slow when the underlying parquet file has more
row groups
                 Key: DRILL-4324
                 URL: https://issues.apache.org/jira/browse/DRILL-4324
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Hive, Storage - Parquet
            Reporter: Rahul Challapalli


git.commit.id.abbrev=3d0b4b0

TPCDS Query 84:
{code}
SELECT c_customer_id   AS customer_id, 
               c_last_name 
               || ', ' 
               || c_first_name AS customername 
FROM   customer, 
       customer_address, 
       customer_demographics, 
       household_demographics, 
       income_band, 
       store_returns 
WHERE  ca_city = 'Green Acres' 
       AND c_current_addr_sk = ca_address_sk 
       AND ib_lower_bound >= 54986 
       AND ib_upper_bound <= 54986 + 50000 
       AND ib_income_band_sk = hd_income_band_sk 
       AND cd_demo_sk = c_current_cdemo_sk 
       AND hd_demo_sk = c_current_hdemo_sk 
       AND sr_cdemo_sk = cd_demo_sk 
ORDER  BY c_customer_id
LIMIT 100;
{code}

Execution times :
{code}
Hive Plugin : 12.34 seconds
Hive Native Reader : 360.866
DFS Parquet Reader : 84.3 seconds
{code}

Note : These data sets were generated by hive and the underlying parquet files have more than
1 row groups (household_demographics has ~8000 row groups)

The data files are larger than 10 MB to attach them here. Reach out to me if you need anything
else



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

Mime
View raw message