Skip to content

Commit

Permalink
updated handling udf with single quoted literals
Browse files Browse the repository at this point in the history
  • Loading branch information
adranwit committed Dec 28, 2018
1 parent d51a5cc commit 18d129c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@ func (s *Map) expandArgumentsExpressions(argument interface{}) interface{} {
continue
}
result[i] = Parse(toolbox.AsString(arg), expandVariable)
if text, ok := result[i].(string); ok {
result[i] = strings.Trim(text, "'")
}
}
if len(result) == 1 {
return result[0]
Expand Down

0 comments on commit 18d129c

Please sign in to comment.