Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert mv contents into table failed #12284

Closed
QuantumBear opened this issue Sep 13, 2023 · 1 comment
Closed

insert mv contents into table failed #12284

QuantumBear opened this issue Sep 13, 2023 · 1 comment
Labels
type/bug Something isn't working
Milestone

Comments

@QuantumBear
Copy link

Describe the bug

try to select contents from a mv then insert into a table.

insert into dws_business_opp_extends_fields (
id,
tenant_id,
process_id,
business_opp_number,
company_id,
company_name,
industry,
opportunity_name,
product,
stage,
stage_name,
fail_reason,
fail_reason_desc,
purchase_type,
purchase_type_name,
last_fail_date,
except_amount,
except_date,
winning_amount,
winning_date,
owner_id,
owner_user_name,
create_user_id,
create_user_name,
abandon_reason,
from_channel_id,
related_users,
create_time,
update_time,
deleted,
text_01,
text_02,
text_03,
text_04,
text_05,
text_06,
text_07,
text_08,
text_09,
text_10,
text_11,
text_12,
text_13,
text_14,
text_15,
text_16,
text_17,
text_18,
text_19,
text_20,
text_21,
text_22,
text_23,
text_24,
text_25,
text_26,
text_27,
text_28,
text_29,
text_30,
text_31,
text_32,
text_33,
text_34,
text_35,
text_36,
text_37,
text_38,
text_39,
text_40,
text_41,
text_42,
text_43,
text_44,
text_45,
text_46,
text_47,
text_48,
text_49,
text_50,
long_text_01,
long_text_02,
long_text_03,
long_text_04,
long_text_05,
extra_text_01,
extra_text_02,
select_01,
select_02,
select_03,
select_04,
select_05,
select_06,
select_07,
select_08,
select_09,
select_10,
select_11,
select_12,
select_13,
select_14,
select_15,
select_16,
select_17,
select_18,
select_19,
select_20,
multi_select_01,
multi_select_02,
multi_select_03,
multi_select_04,
multi_select_05,
multi_select_06,
multi_select_07,
multi_select_08,
multi_select_09,
multi_select_10,
date_01,
date_02,
date_03,
date_04,
date_05,
number_01,
number_02,
number_03,
number_04,
number_05,
number_06,
number_07,
number_08,
number_09,
number_10,
number_11,
number_12,
number_13,
number_14,
number_15,
number_16,
number_17,
number_18,
number_19,
number_20,
float_01,
float_02,
float_03,
float_04,
float_05,
float_06,
float_07,
float_08,
float_09,
float_10)
select 
id,
tenant_id,
process_id,
business_opp_number,
company_id,
company_name,
industry,
opportunity_name,
product,
stage,
stage_name,
fail_reason,
fail_reason_desc,
purchase_type,
purchase_type_name,
last_fail_date,
except_amount,
except_date,
winning_amount,
winning_date,
owner_id,
owner_user_name,
create_user_id,
create_user_name,
abandon_reason,
from_channel_id,
related_users,
create_time,
update_time,
deleted,
text_01,
text_02,
text_03,
text_04,
text_05,
text_06,
text_07,
text_08,
text_09,
text_10,
text_11,
text_12,
text_13,
text_14,
text_15,
text_16,
text_17,
text_18,
text_19,
text_20,
text_21,
text_22,
text_23,
text_24,
text_25,
text_26,
text_27,
text_28,
text_29,
text_30,
text_31,
text_32,
text_33,
text_34,
text_35,
text_36,
text_37,
text_38,
text_39,
text_40,
text_41,
text_42,
text_43,
text_44,
text_45,
text_46,
text_47,
text_48,
text_49,
text_50,
long_text_01,
long_text_02,
long_text_03,
long_text_04,
long_text_05,
extra_text_01,
extra_text_02,
select_01,
select_02,
select_03,
select_04,
select_05,
select_06,
select_07,
select_08,
select_09,
select_10,
select_11,
select_12,
select_13,
select_14,
select_15,
select_16,
select_17,
select_18,
select_19,
select_20,
multi_select_01,
multi_select_02,
multi_select_03,
multi_select_04,
multi_select_05,
multi_select_06,
multi_select_07,
multi_select_08,
multi_select_09,
multi_select_10,
date_01,
date_02,
date_03,
date_04,
date_05,
number_01,
number_02,
number_03,
number_04,
number_05,
number_06,
number_07,
number_08,
number_09,
number_10,
number_11,
number_12,
number_13,
number_14,
number_15,
number_16,
number_17,
number_18,
number_19,
number_20,
float_01,
float_02,
float_03,
float_04,
float_05,
float_06,
float_07,
float_08,
float_09,
float_10
from dwd_business_opportunity_mv;

Error message/log

ERROR:  Panicked when processing: internal error: entered unreachable code: CorrelatedInputRef CorrelatedInputRef { index: 26, correlated_id: 0 } has not been decorrelated.
This is a bug. We would appreciate a bug report at https://github.com/risingwavelabs/risingwave/issues/new?labels=type%2Fbug&template=bug_report.yml
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
connection to server was lost


log from frontend node

hread 'risingwave-main' panicked at 'internal error: entered unreachable code: CorrelatedInputRef CorrelatedInputRef { index: 26, correlated_id: 0 } has not been decorrelated', src/frontend/src/expr/correlated_input_ref.rs:84:9
stack backtrace:
   0:     0x55fdbf60ce0c - std::backtrace_rs::backtrace::libunwind::trace::hc317256c0daecb22
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55fdbf60ce0c - std::backtrace_rs::backtrace::trace_unsynchronized::h85008105ccd95ba6
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55fdbf60ce0c - std::sys_common::backtrace::_print_fmt::hb6e7cbe31fecc91c
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x55fdbf60ce0c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h53097d3751045778
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55fdb8e991cf - core::fmt::rt::Argument::fmt::hdbe0b5dfb2c09e86
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/fmt/rt.rs:138:9
   5:     0x55fdb8e991cf - core::fmt::write::h4ae17c68778671a0
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/fmt/mod.rs:1094:21
   6:     0x55fdbf607cbf - std::io::Write::write_fmt::hfd7c55e775c6dc60
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/io/mod.rs:1713:15
   7:     0x55fdbf60cc15 - std::sys_common::backtrace::_print::h81eabb0036b692a0
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x55fdbf60cc15 - std::sys_common::backtrace::print::h1b1f4d1a23fac3fd
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x55fdbf60e187 - std::panicking::default_hook::{{closure}}::hc17d2bd8f3da442c
  10:     0x55fdbf60df94 - std::panicking::default_hook::h3a32a9336113ba96
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:288:9
  11:     0x55fdbede214b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hf3b0897eccc6a79e
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/boxed.rs:1999:9
  12:     0x55fdbede214b - risingwave_rt::panic_hook::set_panic_hook::{{closure}}::hf6ea35959e9d3aaa
                               at /risingwave/src/utils/runtime/src/panic_hook.rs:19:9
  13:     0x55fdbede214b - std::panicking::update_hook::{{closure}}::hdf64fe6e894a4e5d
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:234:47
  14:     0x55fdbf60e7a2 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4413820818220cb9
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/boxed.rs:1999:9
  15:     0x55fdbf60e7a2 - std::panicking::rust_panic_with_hook::h90e4d15277396259
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:709:13
  16:     0x55fdbf60e544 - std::panicking::begin_panic_handler::{{closure}}::h2b743ea215b7c408
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:597:13
  17:     0x55fdbf60d1e6 - std::sys_common::backtrace::__rust_end_short_backtrace::h895d390908a90650
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:151:18
  18:     0x55fdbf60e2d2 - rust_begin_unwind
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:593:5
  19:     0x55fdb8e95eb3 - core::panicking::panic_fmt::h1cc8517ae3119d0e
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panicking.rs:67:14
  20:     0x55fdbd68dc6f - <risingwave_frontend::expr::correlated_input_ref::CorrelatedInputRef as risingwave_frontend::expr::Expr>::to_expr_proto::h4e586833bdabd2f0
                               at /risingwave/src/frontend/src/expr/correlated_input_ref.rs:84:9
  21:     0x55fdbd7b443a - <risingwave_frontend::expr::ExprImpl as risingwave_frontend::expr::Expr>::to_expr_proto::h1eed1728e42f3a07
                               at /risingwave/src/frontend/src/expr/mod.rs:109:45
  22:     0x55fdbcc1467b - <risingwave_frontend::optimizer::plan_node::batch_project::BatchProject as risingwave_frontend::optimizer::plan_node::to_prost::ToBatchPb>::to_batch_prost_body::{{closure}}::h4dcc6e2ba79c7024
                               at /risingwave/src/frontend/src/optimizer/plan_node/batch_project.rs:92:25
  23:     0x55fdbcc1467b - core::iter::adapters::map::map_fold::{{closure}}::hfc5cf1c70b50ac16
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/iter/adapters/map.rs:84:28
  24:     0x55fdbcc1467b - core::iter::traits::iterator::Iterator::fold::h6ceef3c7a13bb410
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/iter/traits/iterator.rs:2481:21
  25:     0x55fdbcc1467b - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h95c3f8afdcd249e4
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/iter/adapters/map.rs:124:9
  26:     0x55fdbcc1467b - core::iter::traits::iterator::Iterator::for_each::hdf2e59e7d8241947
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/iter/traits/iterator.rs:856:9
  27:     0x55fdbcc1467b - alloc::vec::Vec<T,A>::extend_trusted::hd6b3fcf18d4c891e
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/vec/mod.rs:2843:17
  28:     0x55fdbcc1467b - <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend::h8d30043109e150fe
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/vec/spec_extend.rs:26:9
  29:     0x55fdbcc1467b - <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter::he8e1f208e4fec802
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/vec/spec_from_iter_nested.rs:62:9
  30:     0x55fdbcc1467b - <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter::h3e400a9c47773c64
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/vec/spec_from_iter.rs:33:9
  31:     0x55fdbd05734a - <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter::h570cdd5d151e2d67
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/vec/mod.rs:2711:9
  32:     0x55fdbd05734a - core::iter::traits::iterator::Iterator::collect::hf55e72df45e2fc68
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/iter/traits/iterator.rs:1895:9
  33:     0x55fdbd05734a - <risingwave_frontend::optimizer::plan_node::batch_project::BatchProject as risingwave_frontend::optimizer::plan_node::to_prost::ToBatchPb>::to_batch_prost_body::h47d0015255b3b8ee
                               at /risingwave/src/frontend/src/optimizer/plan_node/batch_project.rs:93:14
  34:     0x55fdbd795e9e - <risingwave_frontend::scheduler::plan_fragmenter::ExecutionPlanNode as core::convert::From<risingwave_frontend::optimizer::plan_node::PlanRef>>::from::hfc3b2c101c9844d4
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:107:19
  35:     0x55fdbd79a1ba - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_node::h568248c77f3abb1c
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:831:47
  36:     0x55fdbd79937e - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::new_stage::hf9c7a8a707367fb1
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:815:9
  37:     0x55fdbd79a74e - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_exchange::hf51fd0847ffbd013
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:863:27
  38:     0x55fdbd79a173 - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_node::h568248c77f3abb1c
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:828:17
  39:     0x55fdbd79a26a - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_node::h568248c77f3abb1c
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:834:21
  40:     0x55fdbd79937e - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::new_stage::hf9c7a8a707367fb1
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:815:9
  41:     0x55fdbd79a74e - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_exchange::hf51fd0847ffbd013
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:863:27
  42:     0x55fdbd79a173 - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::visit_node::h568248c77f3abb1c
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:828:17
  43:     0x55fdbd79937e - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::new_stage::hf9c7a8a707367fb1
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:815:9
  44:     0x55fdbd796392 - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::split_into_stage::hd4b4fb25ab3f24f7
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:168:26
  45:     0x55fdbd796392 - risingwave_frontend::scheduler::plan_fragmenter::BatchPlanFragmenter::new::h6edf18f9d24a9ad0
                               at /risingwave/src/frontend/src/scheduler/plan_fragmenter.rs:162:9
  46:     0x55fdbd4a65b2 - risingwave_frontend::handler::query::gen_batch_plan_fragmenter::h3e4f2ecbc7e2f630
                               at /risingwave/src/frontend/src/handler/query.rs:285:27
  47:     0x55fdbd01b414 - risingwave_frontend::handler::query::handle_query::{{closure}}::hd8220d2e738ebcfc
                               at /risingwave/src/frontend/src/handler/query.rs:64:9
  48:     0x55fdbd0250a0 - risingwave_frontend::handler::handle::{{closure}}::h8c1d57bb76536239
                               at /risingwave/src/frontend/src/handler/mod.rs:386:88
  49:     0x55fdbd48dc49 - <core::pin::Pin<P> as core::future::future::Future>::poll::h087c43c1bc67a3db
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/future/future.rs:125:9
  50:     0x55fdbd48dc49 - <risingwave_frontend::session::SessionImpl as pgwire::pg_server::Session>::run_one_query::{{closure}}::h38dd6200b663491d
                               at /risingwave/src/frontend/src/session.rs:962:28
  51:     0x55fdbd48dc49 - pgwire::pg_protocol::PgProtocol<S,SM>::inner_process_query_msg_one_stmt::{{closure}}::h3bfa71af1688e02c
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:495:14
  52:     0x55fdbd48dc49 - <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll::hd39728fe4827f769
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.37/src/instrument.rs:272:9
  53:     0x55fdbd147ea3 - pgwire::pg_protocol::PgProtocol<S,SM>::inner_process_query_msg::{{closure}}::h7fc617ab0fde2444
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:477:18
  54:     0x55fdbd147ea3 - pgwire::pg_protocol::PgProtocol<S,SM>::process_query_msg::{{closure}}::he264d310a3a74501
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:435:65
  55:     0x55fdbd147ea3 - pgwire::pg_protocol::PgProtocol<S,SM>::do_process_inner::{{closure}}::h7228081611d379d2
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:271:88
  56:     0x55fdbccdc6c0 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::h810629092cb46d75
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panic/unwind_safe.rs:296:9
  57:     0x55fdbccdc6c0 - <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll::{{closure}}::h32111995d64875d4
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:42
  58:     0x55fdbccdc6c0 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6824e4ce91104066
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panic/unwind_safe.rs:271:9
  59:     0x55fdbccdc6c0 - std::panicking::try::do_call::h4eb3b9aea7200017
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:500:40
  60:     0x55fdbccdc6c0 - std::panicking::try::h207c2951665c86e3
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:464:19
  61:     0x55fdbccdc6c0 - std::panic::catch_unwind::hbdb270201c17422d
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panic.rs:142:14
  62:     0x55fdbccdc6c0 - <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll::hc9c05924cb9228ec
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:9
  63:     0x55fdbccdc6c0 - <tokio::task::task_local::TaskLocalFuture<T,F> as core::future::future::Future>::poll::{{closure}}::h2af5dd2a9c575e84
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/task/task_local.rs:347:31
  64:     0x55fdbccdc6c0 - tokio::task::task_local::LocalKey<T>::scope_inner::h5463e59d7c85d940
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/task/task_local.rs:217:19
  65:     0x55fdbccdc6c0 - <tokio::task::task_local::TaskLocalFuture<T,F> as core::future::future::Future>::poll::hff5ced29e20addcd
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/task/task_local.rs:343:19
  66:     0x55fdbcd3f9c1 - pgwire::pg_protocol::PgProtocol<S,SM>::do_process::{{closure}}::h3d3cfbb7c1534117
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:192:14
  67:     0x55fdbcd3f9c1 - pgwire::pg_protocol::PgProtocol<S,SM>::process::{{closure}}::ha8fd49d0e9d925f4
                               at /risingwave/src/utils/pgwire/src/pg_protocol.rs:183:30
  68:     0x55fdbcd3f9c1 - pgwire::pg_server::handle_connection::{{closure}}::{{closure}}::h3472e40164074671
                               at /risingwave/src/utils/pgwire/src/pg_server.rs:176:45
  69:     0x55fdbccdb481 - pgwire::pg_server::handle_connection::{{closure}}::h7983c45be2f5bab4
                               at /risingwave/src/utils/pgwire/src/pg_server.rs:161:1
  70:     0x55fdbccdb481 - <F as futures_core::future::TryFuture>::try_poll::ha464a1a34609a525
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.28/src/future.rs:82:9
  71:     0x55fdbccdb481 - <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll::h1c5b2902053da665
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/try_future/into_future.rs:34:9
  72:     0x55fdbccdb481 - <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll::h9e82097913865119
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/map.rs:55:37
  73:     0x55fdbd66e636 - <futures_util::future::future::Inspect<Fut,F> as core::future::future::Future>::poll::hf0f4837269439407
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/lib.rs:91:13
  74:     0x55fdbd66e636 - <futures_util::future::try_future::InspectErr<Fut,F> as core::future::future::Future>::poll::h33517cf7df2d6963
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/lib.rs:91:13
  75:     0x55fdbd66e636 - <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll::he41d2f5374537158
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.37/src/instrument.rs:272:9
  76:     0x55fdbd66e636 - tokio::runtime::task::core::Core<T,S>::poll::{{closure}}::h4eea255098f8d61e
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/core.rs:334:17
  77:     0x55fdbd66e636 - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h8bd95e922ccf28a7
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/loom/std/unsafe_cell.rs:16:9
  78:     0x55fdbd66e636 - tokio::runtime::task::core::Core<T,S>::poll::h767a5c07ce800982
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/core.rs:323:30
  79:     0x55fdbce3958c - tokio::runtime::task::harness::poll_future::{{closure}}::hd4e24eeaa54b88e4
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:485:19
  80:     0x55fdbce3958c - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h228f7715201d4c71
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panic/unwind_safe.rs:271:9
  81:     0x55fdbce3958c - std::panicking::try::do_call::hf3727bb80714b08e
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:500:40
  82:     0x55fdbce3958c - std::panicking::try::h268a8514487a47b0
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:464:19
  83:     0x55fdbce3958c - std::panic::catch_unwind::h8c193edea7d6b6d1
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panic.rs:142:14
  84:     0x55fdbce3958c - tokio::runtime::task::harness::poll_future::hd57a0e4246b1f089
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:473:18
  85:     0x55fdbce3958c - tokio::runtime::task::harness::Harness<T,S>::poll_inner::hb4963297469716db
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:208:27
  86:     0x55fdbce3958c - tokio::runtime::task::harness::Harness<T,S>::poll::h72875d9d2aa36482
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:153:15
  87:     0x55fdbf6aa4a6 - tokio::runtime::task::raw::RawTask::poll::haaef99745fcb600c
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/raw.rs:200:18
  88:     0x55fdbf6aa4a6 - tokio::runtime::task::LocalNotified<S>::run::h5534f117cf9b6e6e
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/mod.rs:400:9
  89:     0x55fdbf6aa4a6 - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}::h40b22f42a97bda2d
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:576:18
  90:     0x55fdbf6aa4a6 - tokio::runtime::coop::with_budget::hba2a5ebff4bf055a
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/coop.rs:107:5
  91:     0x55fdbf6aa4a6 - tokio::runtime::coop::budget::hae9c80674f8b6f58
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/coop.rs:73:5
  92:     0x55fdbf6aa4a6 - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h0a37baffc361dabe
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:575:9
  93:     0x55fdbf6a9a7e - tokio::runtime::scheduler::multi_thread::worker::Context::run::h22024ffabd6d3d70
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:526:24
  94:     0x55fdbf67f786 - tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}}::h56230bd78025b2a4
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:491:21
  95:     0x55fdbf67f786 - tokio::runtime::context::scoped::Scoped<T>::set::hc1750e562874e6ab
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/context/scoped.rs:40:9
  96:     0x55fdbf6ae36e - tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::h3c8a48c6cdd7940d
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:486:9
  97:     0x55fdbf6ae36e - tokio::runtime::context::runtime::enter_runtime::h5f064be0fadf976d
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/context/runtime.rs:65:16
  98:     0x55fdbf6a92e0 - tokio::runtime::scheduler::multi_thread::worker::run::h71ac56486351761e
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:478:5
  99:     0x55fdbf692af5 - tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}::h3c9fc3d78690a6fc
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/scheduler/multi_thread/worker.rs:447:45
 100:     0x55fdbf692af5 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::ha7db4e976ae473d9
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/blocking/task.rs:42:21
 101:     0x55fdbf692af5 - <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll::h062347bd6ab207ec
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.37/src/instrument.rs:272:9
 102:     0x55fdbf692af5 - tokio::runtime::task::core::Core<T,S>::poll::{{closure}}::h46468e5301523035
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/core.rs:334:17
 103:     0x55fdbf692af5 - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h950072db3dcaa1a1
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/loom/std/unsafe_cell.rs:16:9
 104:     0x55fdbf692af5 - tokio::runtime::task::core::Core<T,S>::poll::h4bf9d7c0e726f6c7
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/core.rs:323:30
 105:     0x55fdbf67738f - tokio::runtime::task::harness::poll_future::{{closure}}::h6168c57e9e480986
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:485:19
 106:     0x55fdbf67738f - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd5af9453ec656146
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panic/unwind_safe.rs:271:9
 107:     0x55fdbf67738f - std::panicking::try::do_call::h11ea65c181fc5faf
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:500:40
 108:     0x55fdbf67738f - std::panicking::try::h2e7eaf37d3d1c224
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:464:19
 109:     0x55fdbf67738f - std::panic::catch_unwind::h76e17570c35836d9
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panic.rs:142:14
 110:     0x55fdbf67738f - tokio::runtime::task::harness::poll_future::he42ab82eb2430173
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:473:18
 111:     0x55fdbf67738f - tokio::runtime::task::harness::Harness<T,S>::poll_inner::h0949f35a4eae2da3
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:208:27
 112:     0x55fdbf67738f - tokio::runtime::task::harness::Harness<T,S>::poll::ha7c74e94fe78cb99
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/harness.rs:153:15
 113:     0x55fdbf674306 - tokio::runtime::task::raw::RawTask::poll::haaef99745fcb600c
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/raw.rs:200:18
 114:     0x55fdbf674306 - tokio::runtime::task::UnownedTask<S>::run::h2b9672bea653e901
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/task/mod.rs:437:9
 115:     0x55fdbf674306 - tokio::runtime::blocking::pool::Task::run::hea90fb381d7d045b
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/blocking/pool.rs:159:9
 116:     0x55fdbf674306 - tokio::runtime::blocking::pool::Inner::run::h738f6cf4149c87a4
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/blocking/pool.rs:513:17
 117:     0x55fdbf6b501b - tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}::h315017ca3df1756f
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.31.0/src/runtime/blocking/pool.rs:471:13
 118:     0x55fdbf6b501b - std::sys_common::backtrace::__rust_begin_short_backtrace::h76a0b4cf3c30a3f8
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys_common/backtrace.rs:135:18
 119:     0x55fdbf68ff92 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb8df74a97b136925
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/thread/mod.rs:529:17
 120:     0x55fdbf68ff92 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0dbe64f9a4737993
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panic/unwind_safe.rs:271:9
 121:     0x55fdbf68ff92 - std::panicking::try::do_call::hc098c079ed7d78f1
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:500:40
 122:     0x55fdbf68ff92 - std::panicking::try::h6721df949e516bb1
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panicking.rs:464:19
 123:     0x55fdbf68ff92 - std::panic::catch_unwind::hdf38a3baacd08d8d
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/panic.rs:142:14
 124:     0x55fdbf68ff92 - std::thread::Builder::spawn_unchecked_::{{closure}}::h255b9c9b5d9e218f
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/thread/mod.rs:528:30
 125:     0x55fdbf68ff92 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he471b1bc8eb6329f
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/ops/function.rs:250:5
 126:     0x55fdbf614465 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0716d70b901d1398
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/boxed.rs:1985:9
 127:     0x55fdbf614465 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7c11e50091aab2e1
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/alloc/src/boxed.rs:1985:9
 128:     0x55fdbf614465 - std::sys::unix::thread::Thread::new::thread_start::h3ae99d1c2785d9c6
                               at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/std/src/sys/unix/thread.rs:108:17
 129:     0x7f2c4cd10b43 - start_thread
                               at ./nptl/pthread_create.c:442:8
 130:     0x7f2c4cda1bb4 - clone
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:100
 131:                0x0 - <unknown>

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

dev=> select version();
                                  version
----------------------------------------------------------------------------
 PostgreSQL 9.5-RisingWave-1.2.0 (f27f085e4433eb4b3b9e8df61b3f94406f654d89)
(1 row)

Additional context

No response

@QuantumBear QuantumBear added the type/bug Something isn't working label Sep 13, 2023
@github-actions github-actions bot added this to the release-1.3 milestone Sep 13, 2023
@liurenjie1024
Copy link
Contributor

Discussed with customer offline, and it's a misuse: in fact the user wants to create a sink from mv. Feel free to reopen it if there are other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants