l1t1 commented on issue #9319:
URL:
https://github.com/apache/arrow-datafusion/issues/9319#issuecomment-1961399964
databend support following code, explain analyze took longer time
```python
import databend
ctx=databend.SessionContext()
s2="""
WITH t AS( SELECT i, i*i*i*i*i::bigint AS i5 FROM(select number+1 i from
numbers(150))),
t4 as ( SELECT a.i ai, b.i bi, c.i ci, d.i di,a.i5 + b.i5 + c.i5 + d.i5 i5
FROM t a, t b, t c, t d WHERE a.i < b.i AND b.i < c.i AND c.i < d.i)
select ai,bi,ci,di,e.i ei from t4,t e where t4.di < e.i AND t4.i5=e.i5;
"""
ctx.sql("explain "+s2) #very fast
ctx.sql("explain analyze "+s2) # longer than ctx.sql(s2)
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]