intermediary patch

This commit is contained in:
Pijus Kamandulis
2025-08-22 18:22:27 +03:00
parent 51e3311ba4
commit c3ba4ebedf
6 changed files with 2089 additions and 1826 deletions

View File

@@ -231,9 +231,6 @@ func (r rowContext) selectItem_SelectItemTypeFunctionCall(functionCall parsers.F
case parsers.FunctionCallSetUnion:
return r.set_Union(functionCall.Arguments)
case parsers.FunctionCallIif:
return r.misc_Iif(functionCall.Arguments)
case parsers.FunctionCallMathAbs:
return r.math_Abs(functionCall.Arguments)
case parsers.FunctionCallMathAcos:
@@ -320,6 +317,10 @@ func (r rowContext) selectItem_SelectItemTypeFunctionCall(functionCall parsers.F
case parsers.FunctionCallIn:
return r.misc_In(functionCall.Arguments)
case parsers.FunctionCallIif:
return r.misc_Iif(functionCall.Arguments)
case parsers.FunctionCallUDF:
return r.misc_UDF(functionCall.Arguments)
}
logger.Errorf("Unknown function call type: %v", functionCall.Type)

View File

@@ -29,3 +29,7 @@ func (r rowContext) misc_Iif(arguments []interface{}) interface{} {
return r.resolveSelectItem(arguments[2].(parsers.SelectItem))
}
func (r rowContext) misc_UDF(arguments []interface{}) interface{} {
return "TODO"
}