Skip to content

Commit

Permalink
[FLINK-33407] Remove old expression stack leftovers for time functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidwys committed Nov 3, 2023
1 parent cb3a69c commit 5da6b3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 349 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,46 +147,6 @@ class PlannerExpressionConverter private extends ApiExpressionVisitor[PlannerExp
assert(args.size == 1)
Collect(args.head)

case EXTRACT =>
assert(args.size == 2)
Extract(args.head, args.last)

case CURRENT_DATE =>
assert(args.isEmpty)
CurrentDate()

case CURRENT_TIME =>
assert(args.isEmpty)
CurrentTime()

case CURRENT_TIMESTAMP =>
assert(args.isEmpty)
CurrentTimestamp()

case LOCAL_TIME =>
assert(args.isEmpty)
LocalTime()

case LOCAL_TIMESTAMP =>
assert(args.isEmpty)
LocalTimestamp()

case TEMPORAL_OVERLAPS =>
assert(args.size == 4)
TemporalOverlaps(args.head, args(1), args(2), args.last)

case DATE_FORMAT =>
assert(args.size == 2)
DateFormat(args.head, args.last)

case TIMESTAMP_DIFF =>
assert(args.size == 3)
TimestampDiff(args.head, args(1), args.last)

case TO_TIMESTAMP_LTZ =>
assert(args.size == 2)
ToTimestampLtz(args.head, args.last)

case AT =>
assert(args.size == 2)
ItemAt(args.head, args.last)
Expand Down

This file was deleted.

0 comments on commit 5da6b3e

Please sign in to comment.