repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
prestodbpresto
fail query don t expire
Bug
fail query don t seem to expire from the coordinator which can lead to a memory leak slowness crash when load the web ui etc
prestodbpresto
track per resource group wait time
Enhancement
we should track and expose via ui jmx etc the time query spend wait to get admit into a resource group this could eventually be use to provide time to start estimate to user when query be queue
prestodbpresto
add support for plan fragment with two different systempartitioning distribution
Bug
address
prestodbpresto
plan failure for union and group by
Bug
the follow query with t1 as select 1 from tpch tiny nation group by 1 t2 as select 1 from tpch tiny nation union all select 1 from tpch tiny nation select 1 from t1 union all select 1 from t2 fail during plan with java lang illegalstateexce...
prestodbpresto
source union
Bug
address this be more of a hot fix I think than a real solution why presto can not handle stage that have input that one be source distribute and other be hash distribute like this fragment fragment 1 hash output layout suppkey 18 expr 19 output partition single ...
prestodbpresto
system distribution do not support source split
Bug
sql select suppkey 1 from supplier union all select suppkey count from supplier group by 1 fail with query 20170420 233053 00006 69ze fail system distribution do not support source split java lang unsupportedoperationexception system distribution do not support source split...
prestodbpresto
create table should check for duplicate column
Bug
createtabletask should check for a duplicate column and throw semanticexception duplicate column name rather than leave it up to the connector which should not be expect to handle this here be what happen today against the hive connector presto create table test x bigint x bigint qu...
prestodbpresto
add possibilty to create table with define compression
Enhancement
create table should allow not only to choose file format but also compression codec it seem like it can be add to with clause currently as far as I understand it can be only be change by change global server property hive compression codec be there any technical reason why it be not there yet
prestodbpresto
limit be not account for when transform correlate scalar subquery with aggregation into join
Bug
flat with limit presto sf1 select count from select from value 7 1 7 2 7 3 7 4 7 5 7 6 t orderkey value where orderkey 7 limit 5 col0 5 1 row flat without limit presto sf1 select count from select from value 7 ...
prestodbpresto
field access erroneously work for some generate row type
Bug
this work for row create via zip transform etc presto select zip array 8 array 9 1 field0 col0 8 1 row presto select transform array 8 x x x 1 field0 col0 8 1 row
prestodbpresto
selective aggregate don t work for count 1
Bug
actual presto select count 1 filter where orderstatus o from order col0 15000 1 row expect presto select count filter where orderstatus o from order col0 7333 1 row the issue be probably due to simplifycountover...
prestodbpresto
inline throwable propagate
Enhancement
inline throwable propagate as describe in fyi kokose electrum
prestodbpresto
lambda name resolution should use scope mechanism
Enhancement
currently lambda use separate and dedicated name resolution mechanism this cause various problem and make it hard error prone to analyze plan very complex query with subquerie lambda complex order by therefore lambdas should also use scope mechanism for name resolution the unification would ...
prestodbpresto
lambda capture do not work with qualified column name
Bug
this work select transform array 1 x x a from value 1 u a output 2 but this do not select transform array 1 x x u a from value 1 u a line 1 37 column u can not be resolve fyi martint haozhun sopel39
prestodbpresto
remove distinct inside in subquery expression
Enhancement
add an optimization rule to remove unnecessary distinct in this scenario select from t where c in select distinct from u since the semi join already perform deduplication of the value in the subquery that operation be unnecessary and result in an extra exchange and aggregation ...
prestodbpresto
incorrect lambda analysis in aggregation context
Bug
presto sf1 select transform array 1 x y transform array 1 z x 1 from value 1 2 t x y group by y transform array 1 z x 1 query 20170407 142317 00009 bw2qq fail invalid node expression dependency field 2 not in source plan output expr 7 hashvalue ...
prestodbpresto
access deny when use in with subquerie even though no access control in place
Bug
query select select distinct 1 from system runtime node in select 1 from system runtime node yield the following probably because com facebook presto sql planner optimization desugaringoptimizer rewriter desugar desugaringoptimizer java 121 call expressionanalyzer getexpressiontype wh...
prestodbpresto
query optimizer fail to eliminate remote exchange
Bug
the follow query will generate non optimal plan explain type distribute select b orderkey count from select from order a join select from lineitem b on a orderkey b orderkey group by 1 the plan we can eliminate the remote exchange between fragment...
prestodbpresto
support column alias in create table as
Enhancement
per the spec create table as for example it should be possible to do this sql create table t x as value 1
prestodbpresto
create table as doesn t parse proper query expression
Bug
sql create table u as with t x as value 1 select x from t fail with a parse error query 20170405 035149 08220 kmjsc fail line 1 31 mismatch input with expect select value table com facebook presto sql parser parsingexception line 1 31 mismatch...
prestodbpresto
memory connector doesn t allow inserting into empty newly create table
Bug
presto default create table memory default tchar10 rnum integer create table presto default insert into memory default tchar10 value 0 query 20170403 093522 00014 xs4w3 fail 1 node split 35 total 17 do 48 57 0 03 0 row 0b 0 rows s 0b s query 20170403 093522 000...
prestodbpresto
lambda error no type for symbol
Bug
presto select map filter m k v v array max map value m from select map array a b c d array 1 2 3 3 m query 20170331 175118 77449 3bs58 fail no type for symbol map java lang illegalargumentexception no type for symbol map at com google common base precondition che...
prestodbpresto
analyzeaggregation doesn t correctly verify lambas
Bug
presto sf1 select transform array 0 y transform array 42 y x y from value 1 2 t x y group by x y query 20170331 142639 00008 tdkiy fail invalid node expression dependency field not in source plan output expr 6 hashvalue I will fix it as part or prer...
prestodbpresto
denyallaccesscontrol use denyshowschema instead of denyshowtable
Bug
checkcanshowtable should use checkcanshowtable so it throw the wrong error message also check if there be similar typo
prestodbpresto
lambdas don t work when filter be in joinnode optional filter
Bug
query presto sf1 select from value 1000 t x leave join value 1001 t2 y on cardinality transform array 1 x transform array 10 y x 0 query 20170328 063720 00000 6r2vd fail compiler fail and interpreter be disabled fix by relate to
prestodbpresto
max by do not support row
Bug
presto select max by 1 row 2 3 query 20170322 170010 13107 t649 g fail unsupported state type combination com facebook presto spi block block long java lang illegalargumentexception unsupported state type combination com facebook presto spi block block long at com google common bas...
prestodbpresto
disallow concurrent query within a transaction
Bug
transactionmanager need to prevent this
prestodbpresto
lambda compiler error
Bug
presto describe test column type extra comment query varchar control1 module in order map varchar bigint ...
prestodbpresto
filter base on varchar literal pad with space return wrong result
Bug
base on tpcds sf10 datum sql presto sf10 select count from item where I category in sport col0 10287 1 row vs sql presto sf10 select count from item where I category sport ...
prestodbpresto
improve decimal type support in the new parquet reader
Bug
the new parquet reader should handle all the type int32 int64 etc for support parquet decimal properly please see the spec I check the new reader and it currently only handle the fix len byte array case this be need to fix 7232
prestodbpresto
simplifyexpression and desugaringoptimizer doesn t process all expression in tree
Bug
simplifyexpression and desugaringoptimizer work only for project filter and table scan what about other node e g argument of aggregation function call probably applynode should also be handle it contain assignment join node filter function value node fyi martint haozhun
prestodbpresto
join on expression without column produce wrong result
Bug
sql select count 0 from customer join part on cast a as char 1 cast a as char 2 return true despite the fact sql select cast a as char 1 cast a as char 2 return false this happen because 1 analyzer pick the equality operator be pick ...
prestodbpresto
json extract do not extract key with double quote
Enhancement
a json column in my source table have the structure json parametervalue de design and or copy deliverable request presentation design copy I be unable to json extract this successfully try sql json format json extract object json parametervalue de design an...
prestodbpresto
java lang illegalargumentexception leave and right type do not match in comparison expression
Bug
hi I use presto 0 167 hdp 2 5 3 hive connector the follow error occur java lang illegalargumentexception leave and right type do not match in comparison expression case when code bigint 1 then a else b end aaa table desc test code bigint ...
prestodbpresto
live plan for queue query fail
Bug
click live plan for a queue query fail with the below js error maybe we should disable that button for queued and planning query uncaught typeerror can not read property substage of null at flattenstage eval at transform run browser min js 4 31 14 at flatten eval at transfo...
prestodbpresto
add drop column support to alter table
Enhancement
syntax alter table name drop column column name this can be implement for the hive connector the engine inside dropcolumntask should reject drop the only column from a table I e we can t end up with a table with no column
prestodbpresto
support column removal in presto raptor
Enhancement
currently presto support add new column to an exist table in raptor would be great if we can also add column removal to delete unused column arbitrary position in exist table
prestodbpresto
plan failure for mixed distinct and non distinct aggregation
Bug
select t c count distinct a count t c from value null null t a b cross join unn cast b as array with ordinality as t c d group by 1 fail with java lang illegalstateexception duplicate key field 4 at java util stream collector lambda throwingmerge...
prestodbpresto
investigate if hive connector should add stat property
Enhancement
partition or unpartitioned table write by hive seem to have the follow property test with hive 1 2 1 column stat accurate true numfile numrow rawdatasize totalsize this look like a good starting point
prestodbpresto
optimize in expression with single value
Enhancement
an in expression with a single value such as a in abc can be optimize to an equivalent equality of a abc this be a far more efficient from of execution there be several way to go about this 1 have an expression optimizer that specifically replace these expression at optimization time 2 h...
prestodbpresto
break full ci test in presto orc
Bug
run full ci in jenkins turn up the follow test failure these can be reproduce in intellij also testchardirectsequence com facebook presto orc testfullorcreader time elapse 2 737 sec failure java lang arrayindexoutofboundsexception 11111 teststringdirectsequence com facebook presto orc te...
prestodbpresto
lambda be not suffciently verify during analyzi
Bug
query select filter array 5 x x a 0 from value 1 2 t a b fail with query 20170215 110307 00000 geqw6 fail no type for symbol field this should be address after 7354 and 7315 be merge fyi martint kokose
prestodbpresto
push down filter for show partition
Enhancement
we need to pass a constraint to metadata getlayout in two place showqueriesrewrite informationschemapagesourceprovider this allow the connector to filter for a query like this sql show partition from order where orderdate 2016 02 03
prestodbpresto
add support for lzo text file to hive connector
Enhancement
we have an apache license lzo library the lzocodec implement the hadoop compressioncodec interface we need to figure out how to write it up and add test
prestodbpresto
rewrite correlate in predicate to exist
Enhancement
currently presto do not support correlate in predicate however such query can be easily rewrite to exist to subquery which have well support when subquery be correlate please take a look at the this example select from some table a where not a i d in select b i d from some table b where...
prestodbpresto
successful metadata query not log
Bug
datadefinitionexecution query that succeed be not log I bisect ed this to c4c40c43b0647f983bf69096df7ee54f146fdad3 it can be reproduce with the follow test public class testquerylogging test public void test throw exception try distributedqueryrunner ...
prestodbpresto
insert create new hive table partition use wrong field delimiter for text format
Bug
hi when run insert into a hive table as define below it seem presto be write valid datum file however run subsequent select on the table will return all null value when run the select in hive the same file be read and display correctly be this a know fix bug or be there an issue with my table definition ...
prestodbpresto
leak system memory reservation in exchangeoperator
Bug
exchangeoperator call pipelinecontext reservesystemmemory but appear to leak this reservation under some circumstance it look like this be introduce by 64c3fc8b027f598d63fd13e4d8e0b91b77d7d012 generally operator s should use operatorcontext reservesystemmemory not pipelinecontext reservesystemme...
prestodbpresto
fixup close driver and operator in localqueryrunner
Bug
stream be not be collect so actually no driver be register to the close this should fix
prestodbpresto
error parse decimal use rcfile text
Bug
with set session hive rcfile optimize reader enable false follow may occur java lang arithmeticexception round necessary java math bigdecimal commonneedincrement bigdecimal java 4148 java math bigdecimal needincrement bigdecimal java 4204 java math bigdecimal divideandround bigdec...
prestodbpresto
uncategorized error not a scalar function
Bug
select from value 1 as t a where a in 1 have count a over partition by a 1 java lang illegalargumentexception count integer bigint be not a scalar function at com google common base precondition checkargument precondition java 145 at com facebook presto metadata...
prestodbpresto
uncategorized error unsupported correlate subquery type
Bug
java lang illegalargumentexception unsupported correlate subquery type com facebook presto sql planner sanity noapplynodeleftchecker 1 visitapply noapplynodeleftchecker java 42 com facebook presto sql planner plan applynode accept applynode java 140 com facebook presto sql planner simpleplanvisitor visi...
prestodbpresto
window function dependency not in source plan output
Bug
with t1 as select orderkey totalprice from tpch tiny order t2 as select orderkey totalprice sum totalprice over x from t1 t3 as select orderkey max x over from t2 select from t3 java lang illegalargumentexception invalid node wi...
prestodbpresto
error in optimizemixeddistinctaggregation
Bug
java lang illegalstateexception duplicate key xxx java util stream collector lambda throwingmerger 0 collector java 133 java util hashmap merge hashmap java 1253 java util stream collector lambda tomap 58 collector java 1320 java util stream reduceop 3reducingsink accept reduceop java 169 java uti...
prestodbpresto
ui query detail page long session string overflow to next column
Bug
a long user provide string such as user principal source or resource group will overflow to the data source section
prestodbpresto
plan failure for count distinct on row type
Bug
this query sql select count distinct a max b from value row 1 2 3 t a b fail with java lang assertionerror number of parameter and fieldname for row type doesn t match at com facebook presto spi type typesignature verify typesignature java 379 at com facebook p...
prestodbpresto
query with group by and distinct on same field fail
Bug
explain select x count 1 count distinct x from value 1 t x group by 1 java lang illegalstateexception duplicate key field at java util stream collector lambda throwingmerger 0 collector java 133 at java util hashmap merge hashmap java 1253 at java util stream collector la...
prestodbpresto
remove expression from typeonlycoercion when the type and the supertype be not typeonlycoercion
Bug
6984 I think that the expression whose type be not typeonly with the supertype should be remove from typeonlycoercion list in this case decimal 2 1 s supertype become decimal 3 1 at first it be ok because the difference be only the precision next decimal 2 1 s supertype become double it b...
prestodbpresto
add specialized addinput function to accumulator continuation
Enhancement
supersede previously mention benchmark rerun with similar result in addition to they I also benchmarke a few corner case use case relevant to simplification use in code sql select count x from select map agg partkey tax over partition by orderkey x from sf100 lineitem v be 8x ...
prestodbpresto
incorrect result due to improper implicit coercion
Bug
this query sql select 1 x produce x 1 1 row output x expr integer x expr project expr integer expr 1 localexchange round robin value ...
prestodbpresto
raptor expose restful endpoint to control background service
Enhancement
we experience case when we need to trigger raptor background service such as compaction and local shard cleaning with raptor all these service run at fix interval the goal here be to provide an interface to control they from external process one way to implement that be through restful endpoint for each serv...
prestodbpresto
plan failure when lambda appear in select and group by clause
Bug
sql select filter v x true from value null t v group by filter v x true fail with java lang illegalargumentexception invalid node expression dependency field not in source plan output filter hashvalue at com google common base precondition checkargume...
prestodbpresto
raptor assignmentlimiter incorrectly handle multiple unavailable node
Bug
x fix inject assignmentlimiter constructor that call this nodesuppli ticker config getreassignmentdelay config getreassignmentdelay rather than this nodesuppli ticker config getreassignmentdelay config getreassignmentinterval x ensure all offline node be mark as soon as t...
prestodbpresto
incorrect result for distinct limit over inequality join
Bug
this query sql select distinct x from value 1 t x join value 10 20 u a on t x u a limit 100 incorrectly produce x 1 1 the plan seem to be miss a projection or output pruning for the join below the distinctlimit node output x ...
prestodbpresto
sort position link for fast non equi join
Enhancement
this be a implementation of from preliminary benchmark this change didn t introduce regression in equality join and for some in equality join this give order of magnitude speed up benchmarkinequalityjoin speed up from 210ms down to 50ms and exist benchmarkhashbuildandjoinoperator do not show a ...
prestodbpresto
fix partial aggregation push down through union
Bug
it seem like a regression cause by martint because couple month ago there be this pr problem be that partialaggregationpushdown be not able to push aggregation through more then one exchangenode when it find plan aggregation exchange exchange it be transform it to aggregation final ...
prestodbpresto
add hit miss metric for compile code cache
Enhancement
I suspect that the cache for compile code be not very effective for large varied workload we should add cache hit miss metric and expose they via jmx to be able to test this hypothesis class that need to be instrument expressioncompil joincompiler joinfilterfunctioncompiler joinprobecompiler ordering...
prestodbpresto
plan failure for dependent selective aggregate
Bug
sql select sum b filter where true from select count filter where true as b fail with java lang illegalstateexception generate plan contain unimplemented filter aggregation at com facebook presto sql planner sanity verifynofilteredaggregation visitor visitaggregation...
prestodbpresto
add proper overflow handle when estimate boolean distribution expansion
Bug
fix 7069 and fix 7070
prestodbpresto
exponential behavior in simplifyexpression
Bug
this query never complete sql select from value 1 1 t x y where x 21 0 and y 89 0 or x 22 0 and y 99 0 or x 28 0 and y 111 0 or x 28 0 and y 107 0 or x 16 0 and y 92 0 or x 23 0 and y 99 0 or x 33 0 and y 116 0 or x 26 0 and y 104 0 or x 20 0 a...
prestodbpresto
overflow in distributeifpossible
Bug
sql select from value 1 1 t x y where x 21 0 and y 89 0 or x 22 0 and y 99 0 or x 28 0 and y 111 0 or x 28 0 and y 107 0 or x 16 0 and y 92 0 or x 23 0 and y 99 0 or x 33 0 and y 116 0 or x 26 0 and y 104 0 or x 20 0 and y 90 0 or x 16 0 and...
prestodbpresto
npe when commit transaction in hive connector
Bug
java lang nullpointerexception com facebook presto hive metastore semitransactionalhivemetastore dorecursivedeletefile semitransactionalhivemetastore java 1450 com facebook presto hive metastore semitransactionalhivemetastore dorecursivedeletefile semitransactionalhivemetastore java 1472 com f...
prestodbpresto
support array by table subquery constructor
Enhancement
from the spec array 3 if be specify then a the qe simply contain in the shall be of degree 1 one let et be the declare type of the column in the result of b the declare type of the be array with element type et and maximum ...
prestodbpresto
plan failure for correlated subquery
Bug
this query sql select select avg custkey from tpch tiny order c2 where c2 orderkey c1 orderkey select avg custkey from tpch tiny order c3 where c3 orderkey c1 orderkey from tpch tiny order c1 fail during plan with java lang illegala...
prestodbpresto
filter should not be allow for non aggregate
Bug
this query sql select array sort array agg a filter where a 0 from value 1 t a should fail since array sort be not an aggregation function the query complete successfully but produce incorrect result
prestodbpresto
feature prune join output followup
Bug
thank for merge this be small followup that occur to I today 1 bug potentially replacechildren must reshuffle output symbol for cross join since input node output symbol order might have change 2 assertion be add that cross join don t have prune or reorder output symbol 3 refactor to make sure tha...
prestodbpresto
try lambda fail codegen when two identical instance appear in a single expression
Bug
these follow query fail select try 1 x try 1 x from value 2 t x stack trace com facebook presto spi prestoexception compiler fail and interpreter be disable at com facebook presto sql planner localexecutionplanner visitor visitscanfilterandproject localexecutionplanner...
prestodbpresto
bad error message for correlated subquery
Bug
this query sql with t a as value 1 select select 1 from t where a cast u a as bigint from t u group by cast a as bigint fail with java lang illegalargumentexception input do not contain symbol from correlation at com google common base precondition checkargument prec...
prestodbpresto
raptor system table throw npe on non existant table
Bug
presto baldr select from raptor system table where table name do not exist query 20170106 200150 59222 asbmw fail null java lang nullpointerexception at com facebook presto split mappedpagesource getnextpage mappedpagesource java 67 at com facebook presto operator scanfilterandprojectoperator ...
prestodbpresto
support null as valid value in value in subquery
Enhancement
follow up for 6622 currently we disallow null on probe side of hashsemijoinoperator because it s impossible to distinguish between an empty and non empty build side in the operator and thus to return a correct result for null in the challenge around the fix and fix proposal be describe in 6622 ...
prestodbpresto
in list with decimal type fail with object getclass class java lang long and type getjavatype double do not agree
Bug
when the in list have decimal value with different precision the exception be throw I e ok select c1 case when c1 in decimal 2 0 decimal 3 0 then a else b end from value cast 1 as double t c1 I e fail select c1 case when c1 in decimal 2 0 ...
prestodbpresto
bad error message when lambda expression reference column in enclose query
Bug
sql select filter a v v c from value 1 array 1 t c a fail with query 20161229 202516 00011 suq2a fail no type for symbol field java lang illegalargumentexception no type for symbol field at com google common base precondition checkargument precondition java ...
prestodbpresto
bad error message when lamba expression doesn t match expect signature
Bug
sql select filter a k v true from value array 1 t a fail with query 20161229 202204 00006 suq2a fail null java lang illegalargumentexception at com google common base precondition checkargument precondition java 108 at com facebook presto sql analyzer expressionan...
prestodbpresto
fix and refactor boolean expression optimization
Bug
this fix a correctness issue in the boolean expression optimization that occur when a multiple nest boolean expression attempt to factor out some common sub expression for example a and b or a and c and d fix 6954
prestodbpresto
gettablelayout in hivemetadata take forever to create predicate
Bug
depend on the order of result from the metastore we may end up do a n 2 computation to create predicate this appear to be introduce by 7ea59dd37eef00e1a2d47cecad9f1eef1b4a772a if the metastore be unable to prune partition for we we can spend several minute in the planning state here s a representative js...
prestodbpresto
query optimizer generate incorrect plan for some logical expression
Bug
reproduce with select a 8 or b 2 and a 8 or c 3 or b 9 from value 1 2 3 as t a b c a 8 or b 2 and a 8 or c 3 should become a 8 or b 2 and c 3 the query optimizer turn it into a 8 and b 2 and c 3
prestodbpresto
similar subplan extraction and merging of similar subquerie
Enhancement
we would like to add basic support for reuse similar subplan initially the support would be for applynode which have similar subquerie many query also have similar subquerie for instance tpch query 21 share similar subquerie in two not exist exist correlate subquerie this would also enable we to opti...
prestodbpresto
partial aggregation push down optimizer rewrite
Enhancement
for plan for query like select max nationkey min nationkey from region r nation n where r regionkey n regionkey can be rewrite from ...
prestodbpresto
incorrect result for union all query with duplicate column name
Bug
this query sql select x y union all select orderstatus orderstatus from order produce incorrect result col0 col1 x x f f f f f f f f f f plan output col0 col1...
prestodbpresto
retain query source information for runtime error
Enhancement
when a runtime error occur such as a cast failure it would be helpful to know the location in the original query
prestodbpresto
incorrect number of row return by quantified predicate
Bug
presto release 0 160 query use a quantify predicate be not return the expect number of row in the following example tjoin2 have four row and derive table return 0 row query expect to return 4 row but return 0 row select 1 from postgre cert public tjoin2 where 5 all select 1 from postgre cer...
prestodbpresto
invalid initial plan for exist subquery
Bug
this query sql select orderkey from order where exist select orderkey from lineitem produce an initial plan with the follow shape note that the expression in the apply node contain a full subquery which be invalid output orderkey expr 9 bigint orderkey expr 9 ...
prestodbpresto
integer overflow during implicit cast in subquery
Bug
select from value 1 0 2 0 3 0 as t i d where t i d in select u i d from value 1 2 as u i d query fail integer overflow
prestodbpresto
explain analyze incorrectly remove output node
Bug
sql explain analyze select 1 produce query plan fragment 1 single cost cpu 755 41us input 1 0b output 1 5b output layout expr output partition single project...
prestodbpresto
bad error when aggregation function be use in lambda expression
Bug
sql select transform array 1 x max x fail with java lang illegalargumentexception function must be of type com facebook presto metadata sqlscalarfunction not com facebook presto operator aggregation maxaggregationfunction at com google common base precondition checkargument prec...
prestodbpresto
failure when argument to max aggregation be literal null
Bug
sql select max null fail with java lang illegalargumentexception expect method methodhandle blockstate block void parameter 1 type to be void unknown at com google common base precondition checkargument precondition java 145 at com facebook presto operator aggregation aggregationme...
prestodbpresto
plan issue when use lambda expression
Bug
sql select filter m v v 1 from select array m fail with java lang illegalstateexception can not resolve symbol expr at com google common base precondition checkstate precondition java 197 at com facebook presto sql planner expressionsymbolinliner rewritesymbolreferenc...
prestodbpresto
fix npe in mappedpagesource
Bug
with a brand new raptor test environment I get a npe when query system table it seem that mappedpagesource doesn t handle the case where delegate be finish and return a null page this pr fix that presto system select from table stat query 20161213 221846 00023 nggki fail 1 node ...
prestodbpresto
simplify join plan
Enhancement
the join plan code in relationplanner currently have a bunch of complicated logic that attempt to derive and extract the term of equality comparison etc now that joinnode can contain an arbitrary expression as the join criterion we should simplify this code to not do that and leave it to the optimizer to push d...
prestodbpresto
expressionverifier fail to match cast expression
Bug
java new expressionverifi new symbolaliase process expression cast 2 as varchar expression cast 2 as varchar return false