Github user wzhfy commented on the issue:
https://github.com/apache/spark/pull/16594
@rxin @gatorsmile @hvanhovell I've updated this pr and make stats much more
readable:
SizeInBytes is shown in units of B, KB, MB ... PB, e.g. `sizeInBytes=228.8
GB`,
and if it's too large to represent in PB, it's shown in scientific
notation, e.g. `sizeInBytes=5.481E+22`.
For row count, it doesn't have units, so it's always shown in scientific
notation, e.g. `rowCount=7.305E+4`.
Now the above example looks like this:
```
...
+- Aggregate [ca_county#1629, d_qoy#1550, d_year#1546], [ca_county#1629,
MakeDecimal(sum(UnscaledValue(ss_ext_sales_price#1192)),17,2) AS
store_sales#1457]: sizeInBytes=5.481E+22, isBroadcastable=false
+- Project [ss_ext_sales_price#1192, d_year#1546, d_qoy#1550,
ca_county#1629]: sizeInBytes=6.699E+22, isBroadcastable=false
+- Join Inner, (ss_addr_sk#1183 = ca_address_sk#1622):
sizeInBytes=7.917E+22, isBroadcastable=false
:- Project [ss_addr_sk#1183, ss_ext_sales_price#1192, d_year#1546,
d_qoy#1550]: sizeInBytes=3.520 PB, isBroadcastable=false
: +- Join Inner, (ss_sold_date_sk#1177 = d_date_sk#1540):
sizeInBytes=4.525 PB, isBroadcastable=false
: :- Project [ss_sold_date_sk#1177, ss_addr_sk#1183,
ss_ext_sales_price#1192]: sizeInBytes=37.11 GB, isBroadcastable=false
: : +- Filter (isnotnull(ss_sold_date_sk#1177) &&
isnotnull(ss_addr_sk#1183)): sizeInBytes=228.8 GB, isBroadcastable=false
: : +-
Relation[ss_sold_date_sk#1177,ss_sold_time_sk#1178,ss_item_sk#1179,ss_customer_sk#1180,ss_cdemo_sk#1181,ss_hdemo_sk#1182,ss_addr_sk#1183,ss_store_sk#1184,ss_promo_sk#1185,ss_ticket_number#1186,ss_quantity#1187,ss_wholesale_cost#1188,ss_list_price#1189,ss_sales_price#1190,ss_ext_discount_amt#1191,ss_ext_sales_price#1192,ss_ext_wholesale_cost#1193,ss_ext_list_price#1194,ss_ext_tax#1195,ss_coupon_amt#1196,ss_net_paid#1197,ss_net_paid_inc_tax#1198,ss_net_profit#1199]
parquet: sizeInBytes=228.8 GB, rowCount=5.760E+9, isBroadcastable=false
: +- Project [d_date_sk#1540, d_year#1546, d_qoy#1550]:
sizeInBytes=124.9 KB, isBroadcastable=false
: +- Filter ((((isnotnull(d_date_sk#1540) &&
isnotnull(d_year#1546)) && isnotnull(d_qoy#1550)) && (d_qoy#1550 = 2)) &&
(d_year#1546 = 2000)): sizeInBytes=1.805 MB, isBroadcastable=false
: +-
Relation[d_date_sk#1540,d_date_id#1541,d_date#1542,d_month_seq#1543,d_week_seq#1544,d_quarter_seq#1545,d_year#1546,d_dow#1547,d_moy#1548,d_dom#1549,d_qoy#1550,d_fy_year#1551,d_fy_quarter_seq#1552,d_fy_week_seq#1553,d_day_name#1554,d_quarter_name#1555,d_holiday#1556,d_weekend#1557,d_following_holiday#1558,d_first_dom#1559,d_last_dom#1560,d_same_day_ly#1561,d_same_day_lq#1562,d_current_day#1563,...
4 more fields] parquet: sizeInBytes=1.805 MB, rowCount=7.305E+4,
isBroadcastable=false
...
```
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]