This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-> amount => type | |
#[ | |
1 'food delivery' | |
2 'groceries' | |
3 'snacks' | |
4 'sport' | |
5 'public transport' | |
6 'maintenance' | |
7 'medical' | |
8 'travel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare size int = 100; | |
declare fac double = 2.0 / 100.0; | |
create procedure computeRow(y int) | |
begin | |
declare Ci double = (y*fac - 1.0); | |
for x in 0..size-1 loop | |
declare Zr double = 0.0; | |
declare Zi double = 0.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT count(distinct ws_order_number) as order_count, | |
sum(ws_ext_ship_cost) as total_shipping_cost, | |
sum(ws_net_profit) as total_net_profit | |
FROM web_sales ws1 | |
JOIN customer_address ca ON (ws1.ws_ship_addr_sk = ca.ca_address_sk) | |
JOIN web_site s ON (ws1.ws_web_site_sk = s.web_site_sk) | |
JOIN date_dim d ON (ws1.ws_ship_date_sk = d.d_date_sk) | |
LEFT SEMI JOIN (SELECT ws2.ws_order_number as ws_order_number | |
FROM web_sales ws2 JOIN web_sales ws3 | |
ON (ws2.ws_order_number = ws3.ws_order_number) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------+ | |
| Explain | | |
+----------------------------------------------------+ | |
| STAGE DEPENDENCIES: | | |
| Stage-1 is a root stage | | |
| Stage-0 depends on stages: Stage-1 | | |
| | | |
| STAGE PLANS: | | |
| Stage: Stage-1 | | |
| Tez | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------+ | |
| Explain | | |
+----------------------------------------------------+ | |
| STAGE DEPENDENCIES: | | |
| Stage-1 is a root stage | | |
| Stage-0 depends on stages: Stage-1 | | |
| | | |
| STAGE PLANS: | | |
| Stage: Stage-1 | | |
| Tez | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------+ | |
| Explain | | |
+----------------------------------------------------+ | |
| STAGE DEPENDENCIES: | | |
| Stage-1 is a root stage | | |
| Stage-0 depends on stages: Stage-1 | | |
| | | |
| STAGE PLANS: | | |
| Stage: Stage-1 | | |
| Tez | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------+ | |
| Explain | | |
+----------------------------------------------------+ | |
| STAGE DEPENDENCIES: | | |
| Stage-1 is a root stage | | |
| Stage-0 depends on stages: Stage-1 | | |
| | | |
| STAGE PLANS: | | |
| Stage: Stage-1 | | |
| Tez | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------+ | |
| Explain | | |
+----------------------------------------------------+ | |
| STAGE DEPENDENCIES: | | |
| Stage-1 is a root stage | | |
| Stage-0 depends on stages: Stage-1 | | |
| | | |
| STAGE PLANS: | | |
| Stage: Stage-1 | | |
| Tez | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--! qt:dataset:src | |
SET hive.mapred.mode=nonstrict; | |
SET hive.vectorized.execution.enabled=false; | |
-- SET hive.optimize.ppd=true; | |
-- SET hive.ppd.remove.duplicatefilters=true; | |
-- SET hive.optimize.metadataonly=false; | |
-- SET hive.optimize.index.filter=true; | |
-- SET hive.tez.min.bloom.filter.entries=1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--! qt:dataset:src | |
SET hive.mapred.mode=nonstrict; | |
SET hive.vectorized.execution.enabled=false; | |
SET hive.optimize.ppd=true; | |
SET hive.ppd.remove.duplicatefilters=true; | |
SET hive.tez.dynamic.partition.pruning=true; | |
SET hive.optimize.metadataonly=false; | |
SET hive.optimize.index.filter=true; | |
SET hive.tez.min.bloom.filter.entries=1; |