Skip to content

Commit

Permalink
Implement datetime functions in velox/sparksql. (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
lviiii authored and zhejiangxiaomai committed Feb 22, 2023
1 parent d67c40c commit dcd79e7
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 dcd79e7

Please sign in to comment.