You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "taiyang-li (via GitHub)" <gi...@apache.org> on 2025/05/29 06:18:13 UTC
[I] [CH] Fix map key cannot be nullable [incubator-gluten]
taiyang-li opened a new issue, #9791:
URL: https://github.com/apache/incubator-gluten/issues/9791
### Backend
CH (ClickHouse)
### Bug description
query: d_36974.sql
``` log
org.apache.gluten.exception.GlutenException: Map cannot have a key of type Nullable(String)
0. Poco::Exception::Exception(String const&, int) @ 0x0000000013a62739
1. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000677b519
2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000663492c
3. DB::Exception::Exception<String>(int, FormatStringHelperImpl<std::type_identity<String>::type>, String&&) @ 0x000000000663ebcb
4. DB::DataTypeMap::assertKeyType() const @ 0x000000000e8df54f
5. DB::DataTypeMap::DataTypeMap(std::vector<std::shared_ptr<DB::IDataType const>, std::allocator<std::shared_ptr<DB::IDataType const>>> const&) @ 0x000000000e8df6ae
6. std::shared_ptr<DB::DataTypeMap> std::allocate_shared[abi:v15007]<DB::DataTypeMap, std::allocator<DB::DataTypeMap>, std::vector<std::shared_ptr<DB::IDataType const>, std::allocator<std::shared_ptr<DB::IDataType const>>>&, void>(std::allocator<DB::DataTypeMap> const&, std::vector<std::shared_ptr<DB::IDataType const>, std::allocator<std::shared_ptr<DB::IDataType const>>>&) @ 0x000000000b1c53b5
7. DB::(anonymous namespace)::FunctionMap::getReturnTypeImpl(std::vector<std::shared_ptr<DB::IDataType const>, std::allocator<std::shared_ptr<DB::IDataType const>>> const&) const @ 0x000000000b1c2298
8. DB::IFunction::getReturnTypeImpl(std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>> const&) const @ 0x000000000663e71a
9. DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>> const&) const @ 0x000000000dfc6022
10. DB::IFunctionOverloadResolver::getReturnType(std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>> const&) const @ 0x000000000dfc5db8
11. DB::IFunctionOverloadResolver::build(std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>> const&) const @ 0x000000000dfc65e1
12. DB::ActionsDAG::addFunction(std::shared_ptr<DB::IFunctionOverloadResolver> const&, std::vector<DB::ActionsDAG::Node const*, std::allocator<DB::ActionsDAG::Node const*>>, String) @ 0x000000000eaf5761
13. local_engine::ExpressionParser::toFunctionNode(DB::ActionsDAG&, String const&, std::vector<DB::ActionsDAG::Node const*, std::allocator<DB::ActionsDAG::Node const*>> const&, String const&) const @ 0x0000000006b1f767
14. local_engine::FunctionParser::parse(substrait::Expression_ScalarFunction const&, DB::ActionsDAG&) const @ 0x0000000006b2b641
15. local_engine::ExpressionParser::parseFunction(substrait::Expression_ScalarFunction const&, DB::ActionsDAG&, bool) const @ 0x0000000006b1fafd
16. local_engine::ExpressionParser::parseExpression(DB::ActionsDAG&, substrait::Expression const&) const @ 0x0000000006b1bbe8
17. local_engine::ExpressionParser::parseExpression(DB::ActionsDAG&, substrait::Expression const&) const @ 0x0000000006b1bfad
18. local_engine::ExpressionParser::parseExpression(DB::ActionsDAG&, substrait::Expression const&) const @ 0x0000000006b1bfad
19. local_engine::SparkFunctionAliasParser::parse(substrait::Expression_ScalarFunction const&, DB::ActionsDAG&) const @ 0x00000000066b80dd
20. local_engine::ExpressionParser::parseFunction(substrait::Expression_ScalarFunction const&, DB::ActionsDAG&, bool) const @ 0x0000000006b1fafd
21. local_engine::ExpressionParser::expressionsToActionsDAG(std::vector<substrait::Expression, std::allocator<substrait::Expression>> const&, DB::Block const&) const @ 0x0000000006b2032c
22. local_engine::RelParser::expressionsToActionsDAG(std::vector<substrait::Expression, std::allocator<substrait::Expression>> const&, DB::Block const&) const @ 0x0000000006b66bcd
23. local_engine::ProjectRelParser::parseProject(std::unique_ptr<DB::QueryPlan, std::default_delete<DB::QueryPlan>>, substrait::Rel const&, std::list<substrait::Rel const*, std::allocator<substrait::Rel const*>>&) @ 0x0000000006b7fd20
24. local_engine::ProjectRelParser::parse(std::unique_ptr<DB::QueryPlan, std::default_delete<DB::QueryPlan>>, substrait::Rel const&, std::list<substrait::Rel const*, std::allocator<substrait::Rel const*>>&) @ 0x0000000006b7f808
25. local_engine::SerializedPlanParser::parseOp(substrait::Rel const&, std::list<substrait::Rel const*, std::allocator<substrait::Rel const*>>&) @ 0x0000000006b409ce
26. local_engine::SerializedPlanParser::parseOp(substrait::Rel const&, std::list<substrait::Rel const*, std::allocator<substrait::Rel const*>>&) @ 0x0000000006b40239
27. local_engine::SerializedPlanParser::parse(substrait::Plan const&) @ 0x0000000006b3f9bb
28. local_engine::SerializedPlanParser::createExecutor(substrait::Plan const&) @ 0x0000000006b413af
29. Java_org_apache_gluten_vectorized_ExpressionEvaluatorJniWrapper_nativeCreateKernelWithIterator @ 0x0000000006618fbf
```
### Gluten version
_No response_
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [CH] Fix map key cannot be nullable [incubator-gluten]
Posted by "taiyang-li (via GitHub)" <gi...@apache.org>.
taiyang-li closed issue #9791: [CH] Fix map key cannot be nullable
URL: https://github.com/apache/incubator-gluten/issues/9791
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org