Commit fb8d356
feat: Support int64_t value for Spark timestampadd function (facebookincubator#15459)
Summary:
Spark 4.0 change `value` from int32_t to int64_t, this PR is quickly to support it.
https://github.com/apache/spark/blob/29434ea766b0fc3c3bf6eaadb43a8f931133649e/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L3442
Pull Request resolved: facebookincubator#15459
Reviewed By: peterenescu
Differential Revision: D87562354
Pulled By: kagamiori
fbshipit-source-id: d748bff943af6b196225c33528b24f8c5a336fdc1 parent 9bc0ce3 commit fb8d356
File tree
5 files changed
+32
-14
lines changed- velox
- docs/functions/spark
- functions
- lib
- sparksql
- registration
- tests
5 files changed
+32
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | | - | |
| 295 | + | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
| |||
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 326 | | |
335 | 327 | | |
336 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
| 1056 | + | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
1059 | 1060 | | |
1060 | | - | |
| 1061 | + | |
1061 | 1062 | | |
1062 | 1063 | | |
1063 | 1064 | | |
| |||
1071 | 1072 | | |
1072 | 1073 | | |
1073 | 1074 | | |
| 1075 | + | |
1074 | 1076 | | |
1075 | 1077 | | |
1076 | 1078 | | |
1077 | | - | |
| 1079 | + | |
1078 | 1080 | | |
1079 | 1081 | | |
1080 | 1082 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1705 | 1705 | | |
1706 | 1706 | | |
1707 | 1707 | | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
1708 | 1715 | | |
1709 | 1716 | | |
1710 | 1717 | | |
| 1718 | + | |
| 1719 | + | |
1711 | 1720 | | |
1712 | 1721 | | |
1713 | 1722 | | |
1714 | 1723 | | |
1715 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
1716 | 1728 | | |
1717 | 1729 | | |
1718 | 1730 | | |
1719 | 1731 | | |
1720 | 1732 | | |
1721 | 1733 | | |
1722 | 1734 | | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1723 | 1741 | | |
1724 | 1742 | | |
1725 | 1743 | | |
| |||
0 commit comments