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
diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/QueryPlanner.java b/presto-main/src/main/java/com/f | |
index 07606fe..2c3d0aa 100644 | |
--- a/presto-main/src/main/java/com/facebook/presto/sql/planner/QueryPlanner.java | |
+++ b/presto-main/src/main/java/com/facebook/presto/sql/planner/QueryPlanner.java | |
@@ -679,10 +679,28 @@ class QueryPlanner | |
private PlanBuilder appendScalarSubqueryJoin(PlanBuilder builder, SubqueryExpression scalarSubquery) | |
{ | |
- EnforceSingleRowNode enforceSingleRowNode = new EnforceSingleRowNode(idAllocator.getNextId(), createRelationPlan( | |
+ PlanNode enforceSingleRowNode = new EnforceSingleRowNode(idAllocator.getNextId(), createRelationPlan(scalarSubque |
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
====================================================================== | |
ERROR: test_build_wheel (tests.unit.test_bdist_prestoadmin.TestBDistPrestoAdmin) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/kogut/src/git/prestodb/presto-admin/.tox/py26/lib/python2.6/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/home/kogut/src/git/prestodb/presto-admin/tests/unit/test_bdist_prestoadmin.py", line 97, in test_build_wheel | |
self.bdist.build_wheel('build')) | |
File "/home/kogut/src/git/prestodb/presto-admin/packaging/bdist_prestoadmin.py", line 57, in build_wheel | |
cmd = self.reinitialize_command('bdist_wheel') |
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
diff q12.sql q12_modified.sql -C 5 |
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
[1;31m*** q12.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q12_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 10,20 ****[0;0m | |
[0;0m WHERE ws_item_sk = i_item_sk[0;0m | |
[0;0m AND i_category IN ('Men',[0;0m | |
[0;0m 'Music',[0;0m | |
[0;0m 'Women')[0;0m | |
[0;0m AND ws_sold_date_sk = d_date_sk[0;0m | |
[1;31m! AND d_date BETWEEN cast('2000-01-21' AS date) AND (cast('2000-01-21' AS date) + 30 days)[0;0m |
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
[1;31m*** q16.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q16_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 3,13 ****[0;0m | |
[0;0m sum(cs_net_profit) AS "total net profit"[0;0m | |
[0;0m FROM "${database}"."${schema}".catalog_sales cs1,[0;0m | |
[0;0m "${database}"."${schema}".date_dim,[0;0m | |
[0;0m "${database}"."${schema}".customer_address,[0;0m | |
[0;0m "${database}"."${schema}".call_center[0;0m | |
[1;31m! WHERE d_date BETWEEN '2001-2-01' AND (cast('2001-2-01' AS date) + 60 days)[0;0m |
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
[1;31m*** q18.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q18_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 1,16 ****[0;0m | |
[0;0m SELECT i_item_id,[0;0m | |
[0;0m ca_country,[0;0m | |
[0;0m ca_state,[0;0m | |
[0;0m ca_county,[0;0m | |
[1;31m! avg(cast(cs_quantity AS numeric(12,2))) agg1,[0;0m | |
[1;31m! avg(cast(cs_list_price AS numeric(12,2))) agg2,[0;0m |
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
[1;31m*** q20.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q20_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 10,20 ****[0;0m | |
[0;0m WHERE cs_item_sk = i_item_sk[0;0m | |
[0;0m AND i_category IN ('Women',[0;0m | |
[0;0m 'Jewelry',[0;0m | |
[0;0m 'Sports')[0;0m | |
[0;0m AND cs_sold_date_sk = d_date_sk[0;0m | |
[1;31m! AND d_date BETWEEN cast('2002-06-20' AS date) AND (cast('2002-06-20' AS date) + 30 days)[0;0m |
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
[1;31m*** q21.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q21_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 10,20 ****[0;0m | |
[0;0m "${database}"."${schema}".date_dim[0;0m | |
[0;0m WHERE i_current_price BETWEEN 0.99 AND 1.49[0;0m | |
[0;0m AND i_item_sk = inv_item_sk[0;0m | |
[0;0m AND inv_warehouse_sk = w_warehouse_sk[0;0m | |
[0;0m AND inv_date_sk = d_date_sk[0;0m | |
[1;31m! AND d_date BETWEEN (CAST ('1999-06-23' AS date) - 30 days) AND (CAST ('1999-06-23' AS date) + 30 days)[0;0m |
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
[1;31m*** q32.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q32_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 2,15 ****[0;0m | |
[0;0m FROM "${database}"."${schema}".catalog_sales,[0;0m | |
[0;0m "${database}"."${schema}".item,[0;0m | |
[0;0m "${database}"."${schema}".date_dim[0;0m | |
[0;0m WHERE i_manufact_id = 284[0;0m | |
[0;0m AND i_item_sk = cs_item_sk[0;0m | |
[1;31m! AND d_date BETWEEN '2001-01-07' AND (cast('2001-01-07' AS date) + 90 days)[0;0m |
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
[1;31m*** q37.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;34m--- q37_modified.sql 2016-03-25 14:10:21.906553746 +0100[0;0m | |
[1;35m***************[0;0m | |
[1;35m*** 6,16 ****[0;0m | |
[0;0m "${database}"."${schema}".date_dim,[0;0m | |
[0;0m "${database}"."${schema}".catalog_sales[0;0m | |
[0;0m WHERE i_current_price BETWEEN 11 AND 11 + 30[0;0m | |
[0;0m AND inv_item_sk = i_item_sk[0;0m | |
[0;0m AND d_date_sk=inv_date_sk[0;0m | |
[1;31m! AND d_date BETWEEN cast('1998-01-05' AS date) AND (cast('1998-01-05' AS date) + 60 days)[0;0m |
OlderNewer