erkdursun commented on issue #9792:
URL: https://github.com/apache/druid/issues/9792#issuecomment-621687185


   > @erkdursun Could you please attach the plan for the basic `select * from 
klm` as well? It'd be useful to be able to compare them.
   
   
![image](https://user-images.githubusercontent.com/35697140/80688191-19df8400-8ad4-11ea-8c4a-4432f1c39979.png)
   
   ~~~
   DruidJoinQueryRel(condition=[=($0, $3)], joinType=[left], 
query=[{"queryType":"groupBy","dataSource":{"type":"table","name":"__join__"},"intervals":{"type":"intervals","intervals":["-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"]},"virtualColumns":[],"filter":{"type":"and","fields":[{"type":"expression","expression":"(\"__time\"
 < \"__time0\")"},{"type":"expression","expression":"(\"value\" != 
\"value0\")"},{"type":"not","field":{"type":"selector","dimension":"value","value":"0","extractionFn":null}}]},"granularity":{"type":"all"},"dimensions":[{"type":"default","dimension":"__time","outputName":"d1","outputType":"LONG"},{"type":"default","dimension":"value","outputName":"d2","outputType":"LONG"},{"type":"default","dimension":"value0","outputName":"d3","outputType":"LONG"}],"aggregations":[{"type":"longMin","name":"a0","fieldName":"__time0","expression":null}],"postAggregations":[{"type":"expression","name":"p0","expression":"'BAC011'","ordering":null},{"type":"expression","name":"p1","expression":"div((\"a0\"
 - 
\"d1\"),1000)","ordering":null}],"having":null,"limitSpec":{"type":"NoopLimitSpec"},"context":{"sqlQueryId":"6dfa7834-01c3-44c8-8885-c6bdf7d1f321"},"descending":false}],
 signature=[{p0:STRING, d1:LONG, d2:LONG, a0:LONG, d3:LONG, p1:LONG}])
     
DruidQueryRel(query=[{"queryType":"scan","dataSource":{"type":"table","name":"rich-event-ordered"},"intervals":{"type":"intervals","intervals":["2020-04-23T00:00:00.000Z/2020-04-29T08:08:28.001Z"]},"virtualColumns":[{"type":"expression","name":"v0","expression":"'BAC011'","outputType":"STRING"}],"resultFormat":"compactedList","batchSize":20480,"limit":9223372036854775807,"order":"none","filter":{"type":"and","fields":[{"type":"selector","dimension":"ELEMENT_NAME","value":"TcLruSta","extractionFn":null},{"type":"selector","dimension":"B1_NAME","value":"BAC011","extractionFn":null}]},"columns":["__time","v0","value"],"legacy":false,"context":{"sqlQueryId":"6dfa7834-01c3-44c8-8885-c6bdf7d1f321"},"descending":false,"granularity":{"type":"all"}}],
 signature=[{v0:STRING, __time:LONG, value:LONG}])
     
DruidQueryRel(query=[{"queryType":"scan","dataSource":{"type":"table","name":"rich-event-ordered"},"intervals":{"type":"intervals","intervals":["2020-04-23T00:00:00.000Z/2020-04-29T08:08:28.001Z"]},"virtualColumns":[{"type":"expression","name":"v0","expression":"'BAC011'","outputType":"STRING"}],"resultFormat":"compactedList","batchSize":20480,"limit":9223372036854775807,"order":"none","filter":{"type":"and","fields":[{"type":"selector","dimension":"ELEMENT_NAME","value":"TcLruSta","extractionFn":null},{"type":"selector","dimension":"B1_NAME","value":"BAC011","extractionFn":null}]},"columns":["__time","v0","value"],"legacy":false,"context":{"sqlQueryId":"6dfa7834-01c3-44c8-8885-c6bdf7d1f321"},"descending":false,"granularity":{"type":"all"}}],
 signature=[{v0:STRING, __time:LONG, value:LONG}])
   ~~~
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to