Skip to content

Commit

Permalink
move function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
idegtiarenko committed Dec 5, 2024
1 parent 633a044 commit f063055
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ private static FunctionDefinition[][] functions() {
def(Substring.class, Substring::new, "substring"),
def(ToLower.class, ToLower::new, "to_lower"),
def(ToUpper.class, ToUpper::new, "to_upper"),
def(Trim.class, Trim::new, "trim") },
def(Trim.class, Trim::new, "trim"),
def(Hash.class, Hash::new, "hash") },
// date
new FunctionDefinition[] {
def(DateDiff.class, DateDiff::new, "date_diff"),
Expand Down Expand Up @@ -414,9 +415,7 @@ private static FunctionDefinition[][] functions() {
def(MvSum.class, MvSum::new, "mv_sum"),
def(Split.class, Split::new, "split") },
// fulltext functions
new FunctionDefinition[] { def(Match.class, Match::new, "match"), def(QueryString.class, QueryString::new, "qstr") },
// hash
new FunctionDefinition[] { def(Hash.class, Hash::new, "hash") } };
new FunctionDefinition[] { def(Match.class, Match::new, "match"), def(QueryString.class, QueryString::new, "qstr") } };
}

private static FunctionDefinition[][] snapshotFunctions() {
Expand Down

0 comments on commit f063055

Please sign in to comment.