parthchandra commented on PR #968:
URL: https://github.com/apache/parquet-mr/pull/968#issuecomment-1446796605
Also try a query like
```
select
SUM(length(IFNULL(ss_sold_date_sk, ' '))),
SUM(length(IFNULL(ss_sold_time_sk, ' '))),
SUM(length(IFNULL(ss_item_sk, ' '))),
SUM(length(IFNULL(ss_customer_sk, ' '))),
SUM(length(IFNULL(ss_cdemo_sk, ' '))),
SUM(length(IFNULL(ss_hdemo_sk, ' '))),
SUM(length(IFNULL(ss_addr_sk, ' '))),
SUM(length(IFNULL(ss_store_sk, ' '))),
SUM(length(IFNULL(ss_promo_sk, ' '))),
SUM(length(IFNULL(ss_ticket_number, ' '))),
SUM(ss_quantity),
SUM(ss_wholesale_Cost),
SUM(ss_list_price ),
SUM(ss_sales_price),
SUM(ss_ext_discount_amt),
SUM(ss_ext_sales_price),
SUM(ss_ext_wholesale_cost),
SUM(ss_ext_list_price),
SUM(ss_ext_tax),
SUM(ss_coupon_amt),
SUM(ss_net_paid),
SUM(ss_net_paid_inc_tax),
SUM(ss_net_profit)
from store_sales
```
which avoids the expensive sort
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]