[
https://issues.apache.org/jira/browse/FLINK-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509869#comment-15509869
]
ASF GitHub Bot commented on FLINK-3580:
---------------------------------------
Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/2468#discussion_r79824726
--- Diff: docs/dev/table_api.md ---
@@ -1940,6 +1951,17 @@ localTimestamp()
</td>
</tr>
+ <tr>
+ <td>
+ {% highlight scala %}
+temporalOverlaps(TIMEPOINT, TEMPORAL, TIMEPOINT, TEMPORAL)
+{% endhighlight %}
+ </td>
+ <td>
+ <p>Determines whether two anchored time intervals overlap. It
evaluates <code>leftTemporal >= rightTimePoint && rightTemporal >=
leftTimePoint</code>. E.g. <code>temporalOverlaps('2:55:00'.toTime, 1.hour,
'3:30:00'.toTime, 2.hour)</code> leads to true.</p>
--- End diff --
Rephrase condition
> Reintroduce Date/Time and implement scalar functions for it
> -----------------------------------------------------------
>
> Key: FLINK-3580
> URL: https://issues.apache.org/jira/browse/FLINK-3580
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Reporter: Timo Walther
> Assignee: Timo Walther
>
> This task includes:
> {code}
> DATETIME_PLUS
> EXTRACT_DATE
> FLOOR
> CEIL
> CURRENT_TIME
> CURRENT_TIMESTAMP
> LOCALTIME
> LOCALTIMESTAMP
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)