Michael Smith has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/22094 )

Change subject: IMPALA-13533: Calcite CTE backend
......................................................................


Patch Set 28:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22094/25/be/src/runtime/local-exchanger.cc
File be/src/runtime/local-exchanger.cc:

http://gerrit.cloudera.org:8080/#/c/22094/25/be/src/runtime/local-exchanger.cc@26
PS25, Line 26: consumer_count_
> Ah, if the consumer is cancelled or halted before the producer, which may b
I was able to trigger a failure of 
https://gerrit.cloudera.org/c/22094/28/be/src/runtime/local-exchanger.h#81 by 
moving "ExecDebugAction(TExecNodePhase::GETNEXT, state)" to the loop in 
CTEProducerNode::Open and running

    set mt_dop=2;
    set batch_size=1;
    set debug_action=3:GETNEXT:DELAY;
    with a as (select s_suppkey from tpch.supplier where s_nationkey > 1),
  b as (select l_suppkey from tpch.lineitem where l_quantity > 2.0)
select distinct(k) from (
  select s_suppkey as k from a
  union all select l_suppkey as k from b limit 1
  union all select s_suppkey as k from a
  union all select l_suppkey as k from b) order by k limit 5;

It was taking awhile, so I interrupted the client and that caused the 
coordinator to crash on that DCHECK. Might be able to refine this a bit.



--
To view, visit http://gerrit.cloudera.org:8080/22094
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I48f16d495d4b37be97e6a913f0eb5b94d70e199a
Gerrit-Change-Number: 22094
Gerrit-PatchSet: 28
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Mon, 29 Dec 2025 21:50:14 +0000
Gerrit-HasComments: Yes

Reply via email to