Skip to content

Commit

Permalink
Add date and time to compatiblity.md
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Lee <[email protected]>
  • Loading branch information
seanprime7 authored and wjxiz1992 committed Aug 25, 2020
1 parent 311fdf9 commit fac6fd3
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ When translating UDFs to Catalyst expressions, the supported UDF functions are l
| | lhs >> rhs |
| | lhs >>> rhs |
| Conditional | if |
| | case |
| Math | abs(x) |
| | case |
| Math | abs(x) |
| | cos(x) |
| | acos(x) |
| | asin(x) |
Expand Down Expand Up @@ -351,8 +351,14 @@ When translating UDFs to Catalyst expressions, the supported UDF functions are l
| | x.contains(CharSequence s) |
| | x.indexOf(String str) |
| | x.indexOf(String str, int fromIndex) |
| |x.replaceAll(String regex, String replacement) |
| |x.split(String regex) |
| |x.split(String regex, int limit) |
| |x.getBytes() |
| |x.getBytes(String charsetName) |
| | x.replaceAll(String regex, String replacement) |
| | x.split(String regex) |
| | x.split(String regex, int limit) |
| | x.getBytes() |
| | x.getBytes(String charsetName) |
| Date and Time | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getYear |
| | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getMonthValue |
| | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getDayOfMonth |
| | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getHour |
| | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getMinute |
| | LocalDateTime.parse(x, DateTimeFormatter.ofPattern(pattern)).getSecond |

0 comments on commit fac6fd3

Please sign in to comment.