This is an automated email from the ASF dual-hosted git repository.
philo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new fef2cf68e6 [GLUTEN-9502][VL] Remove useless datatype check for concat
function (#9503)
fef2cf68e6 is described below
commit fef2cf68e6e0014d5712913e7a205609976e7369
Author: dcoliversun <[email protected]>
AuthorDate: Tue May 6 09:28:09 2025 +0800
[GLUTEN-9502][VL] Remove useless datatype check for concat function (#9503)
---
cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc | 8 --------
1 file changed, 8 deletions(-)
diff --git a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc
b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc
index 67f2634cd4..8ee352cb55 100644
--- a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc
+++ b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc
@@ -209,14 +209,6 @@ bool SubstraitToVeloxPlanValidator::validateScalarFunction(
if (name == "extract") {
return validateExtractExpr(params);
}
- if (name == "concat") {
- for (const auto& type : types) {
- if (type.find("struct") != std::string::npos || type.find("map") !=
std::string::npos) {
- LOG_VALIDATION_MSG(type + " is not supported in concat.");
- return false;
- }
- }
- }
// Validate regex functions.
if (kRegexFunctions.find(name) != kRegexFunctions.end()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]