提交 61fe914b 编写于 作者: D Daniel Gustafsson

Handle the Sentinel case in node creation

We really shouldn't get a sentinel node here but if we for some reason
do we need/should handle it by erroring out rather than propagating the
sentinel.

Reviewed by vraghavan@
上级 34d14aae
......@@ -4432,6 +4432,13 @@ CTranslatorDXLToPlStmt::PplanDML
aclmode = ACL_INSERT;
break;
}
case gpdxl::EdxldmlSentinel:
default:
{
GPOS_RAISE(gpdxl::ExmaDXL, gpdxl::ExmiDXL2PlStmtConversion,
GPOS_WSZ_LIT("Unexpected error during plan generation."));
break;
}
}
IMDId *pmdidTargetTable = pdxlop->Pdxltabdesc()->Pmdid();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册