Skip to content

Commit

Permalink
Implement datetime functions in velox/sparksql. (oap-project#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
lviiii authored and zhejiangxiaomai committed Feb 27, 2023
1 parent 6649bd6 commit a11cc29
Show file tree
Hide file tree
Showing 7 changed files with 1,463 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ void registerSimpleFunctions() {
registerFunction<WeekFunction, int64_t, Date>({"week", "week_of_year"});
registerFunction<WeekFunction, int64_t, TimestampWithTimezone>(
{"week", "week_of_year"});
// registerFunction<YearFunction, int64_t, Timestamp>({"year"});
// registerFunction<YearFunction, int64_t, Date>({"year"});
// registerFunction<YearFunction, int64_t, TimestampWithTimezone>({"year"});
registerFunction<QuarterFunction, int64_t, Timestamp>({"quarter"});
registerFunction<QuarterFunction, int64_t, Date>({"quarter"});
registerFunction<QuarterFunction, int64_t, TimestampWithTimezone>(
Expand Down
Loading

0 comments on commit a11cc29

Please sign in to comment.