2020-04-28 11:39:28 -04:00
|
|
|
================================================================================================
|
|
|
|
datetime +/- interval
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2020-04-28 11:39:28 -04:00
|
|
|
datetime +/- interval: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date + interval(m) 1636 1653 24 6.1 163.6 1.0X
|
|
|
|
date + interval(m, d) 1802 1818 23 5.5 180.2 0.9X
|
|
|
|
date + interval(m, d, ms) 6330 6348 26 1.6 633.0 0.3X
|
|
|
|
date - interval(m) 1462 1484 32 6.8 146.2 1.1X
|
|
|
|
date - interval(m, d) 1732 1732 1 5.8 173.2 0.9X
|
|
|
|
date - interval(m, d, ms) 6494 6505 16 1.5 649.4 0.3X
|
|
|
|
timestamp + interval(m) 2446 2446 0 4.1 244.6 0.7X
|
|
|
|
timestamp + interval(m, d) 2670 2703 46 3.7 267.0 0.6X
|
|
|
|
timestamp + interval(m, d, ms) 2992 3012 29 3.3 299.2 0.5X
|
|
|
|
timestamp - interval(m) 2447 2449 3 4.1 244.7 0.7X
|
|
|
|
timestamp - interval(m, d) 2739 2739 0 3.7 273.9 0.6X
|
|
|
|
timestamp - interval(m, d, ms) 2977 2983 8 3.4 297.7 0.5X
|
2020-04-28 11:39:28 -04:00
|
|
|
|
|
|
|
|
2019-01-28 08:21:21 -05:00
|
|
|
================================================================================================
|
|
|
|
Extract components
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
cast to timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
cast to timestamp wholestage off 312 321 13 32.1 31.2 1.0X
|
|
|
|
cast to timestamp wholestage on 290 311 14 34.5 29.0 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
year of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
year of timestamp wholestage off 1226 1228 3 8.2 122.6 1.0X
|
|
|
|
year of timestamp wholestage on 1214 1222 10 8.2 121.4 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
quarter of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
quarter of timestamp wholestage off 1437 1447 14 7.0 143.7 1.0X
|
|
|
|
quarter of timestamp wholestage on 1354 1359 4 7.4 135.4 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
month of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
month of timestamp wholestage off 1219 1219 1 8.2 121.9 1.0X
|
|
|
|
month of timestamp wholestage on 1205 1211 7 8.3 120.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
weekofyear of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
weekofyear of timestamp wholestage off 1849 1854 7 5.4 184.9 1.0X
|
|
|
|
weekofyear of timestamp wholestage on 1829 1835 5 5.5 182.9 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
day of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
day of timestamp wholestage off 1224 1230 8 8.2 122.4 1.0X
|
|
|
|
day of timestamp wholestage on 1204 1215 10 8.3 120.4 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
dayofyear of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
dayofyear of timestamp wholestage off 1272 1275 5 7.9 127.2 1.0X
|
|
|
|
dayofyear of timestamp wholestage on 1246 1256 7 8.0 124.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
dayofmonth of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
dayofmonth of timestamp wholestage off 1226 1233 11 8.2 122.6 1.0X
|
|
|
|
dayofmonth of timestamp wholestage on 1205 1211 5 8.3 120.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
dayofweek of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
dayofweek of timestamp wholestage off 1420 1427 9 7.0 142.0 1.0X
|
|
|
|
dayofweek of timestamp wholestage on 1375 1385 11 7.3 137.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
weekday of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
weekday of timestamp wholestage off 1345 1347 3 7.4 134.5 1.0X
|
2020-05-25 11:00:11 -04:00
|
|
|
weekday of timestamp wholestage on 1316 1322 5 7.6 131.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
hour of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
hour of timestamp wholestage off 983 984 1 10.2 98.3 1.0X
|
|
|
|
hour of timestamp wholestage on 942 953 8 10.6 94.2 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
minute of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
minute of timestamp wholestage off 1008 1010 3 9.9 100.8 1.0X
|
|
|
|
minute of timestamp wholestage on 942 945 3 10.6 94.2 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
second of timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
second of timestamp wholestage off 975 976 1 10.3 97.5 1.0X
|
|
|
|
second of timestamp wholestage on 938 944 4 10.7 93.8 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Current date and time
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
current_date: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
current_date wholestage off 295 296 2 33.9 29.5 1.0X
|
|
|
|
current_date wholestage on 267 274 6 37.5 26.7 1.1X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
current_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
current_timestamp wholestage off 298 303 7 33.5 29.8 1.0X
|
|
|
|
current_timestamp wholestage on 261 275 12 38.2 26.1 1.1X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Date arithmetic
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
cast to date: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
cast to date wholestage off 1071 1073 3 9.3 107.1 1.0X
|
|
|
|
cast to date wholestage on 998 1014 31 10.0 99.8 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
last_day: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
last_day wholestage off 1260 1261 1 7.9 126.0 1.0X
|
|
|
|
last_day wholestage on 1245 1261 17 8.0 124.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
next_day: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
next_day wholestage off 1118 1120 2 8.9 111.8 1.0X
|
|
|
|
next_day wholestage on 1043 1047 3 9.6 104.3 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_add: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_add wholestage off 1046 1048 3 9.6 104.6 1.0X
|
|
|
|
date_add wholestage on 1040 1048 11 9.6 104.0 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_sub: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_sub wholestage off 1081 1081 0 9.3 108.1 1.0X
|
|
|
|
date_sub wholestage on 1030 1035 6 9.7 103.0 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
add_months: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
add_months wholestage off 1393 1400 10 7.2 139.3 1.0X
|
|
|
|
add_months wholestage on 1391 1396 5 7.2 139.1 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Formatting dates
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
format date: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
format date wholestage off 5424 5426 2 1.8 542.4 1.0X
|
|
|
|
format date wholestage on 5408 5448 37 1.8 540.8 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Formatting timestamps
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
from_unixtime: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
from_unixtime wholestage off 8839 8841 3 1.1 883.9 1.0X
|
|
|
|
from_unixtime wholestage on 8788 8826 24 1.1 878.8 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Convert timestamps
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
from_utc_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
from_utc_timestamp wholestage off 1105 1111 8 9.0 110.5 1.0X
|
|
|
|
from_utc_timestamp wholestage on 1073 1081 8 9.3 107.3 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
to_utc_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to_utc_timestamp wholestage off 1462 1465 4 6.8 146.2 1.0X
|
|
|
|
to_utc_timestamp wholestage on 1394 1408 13 7.2 139.4 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Intervals
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
cast interval: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
cast interval wholestage off 325 328 4 30.8 32.5 1.0X
|
|
|
|
cast interval wholestage on 286 290 3 35.0 28.6 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
datediff: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
datediff wholestage off 1822 1824 3 5.5 182.2 1.0X
|
|
|
|
datediff wholestage on 1757 1761 5 5.7 175.7 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
months_between: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
months_between wholestage off 4886 4893 10 2.0 488.6 1.0X
|
|
|
|
months_between wholestage on 4785 4799 12 2.1 478.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
window: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
window wholestage off 2024 2052 40 0.5 2023.7 1.0X
|
|
|
|
window wholestage on 46599 46660 45 0.0 46599.0 0.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Truncation
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc YEAR: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc YEAR wholestage off 2361 2366 7 4.2 236.1 1.0X
|
|
|
|
date_trunc YEAR wholestage on 2325 2328 3 4.3 232.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc YYYY: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc YYYY wholestage off 2366 2374 12 4.2 236.6 1.0X
|
|
|
|
date_trunc YYYY wholestage on 2316 2328 13 4.3 231.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc YY: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc YY wholestage off 2359 2359 0 4.2 235.9 1.0X
|
|
|
|
date_trunc YY wholestage on 2315 2325 7 4.3 231.5 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc MON: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc MON wholestage off 2360 2369 12 4.2 236.0 1.0X
|
|
|
|
date_trunc MON wholestage on 2306 2314 9 4.3 230.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc MONTH: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc MONTH wholestage off 2359 2360 2 4.2 235.9 1.0X
|
|
|
|
date_trunc MONTH wholestage on 2304 2308 4 4.3 230.4 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc MM: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc MM wholestage off 2356 2358 2 4.2 235.6 1.0X
|
|
|
|
date_trunc MM wholestage on 2302 2309 6 4.3 230.2 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc DAY: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc DAY wholestage off 1962 1964 3 5.1 196.2 1.0X
|
|
|
|
date_trunc DAY wholestage on 1916 1921 6 5.2 191.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc DD: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc DD wholestage off 1956 1957 2 5.1 195.6 1.0X
|
|
|
|
date_trunc DD wholestage on 1916 1922 6 5.2 191.6 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc HOUR: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc HOUR wholestage off 1968 1970 3 5.1 196.8 1.0X
|
|
|
|
date_trunc HOUR wholestage on 1949 1961 9 5.1 194.9 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc MINUTE: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc MINUTE wholestage off 368 373 7 27.2 36.8 1.0X
|
|
|
|
date_trunc MINUTE wholestage on 338 343 6 29.6 33.8 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc SECOND: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc SECOND wholestage off 379 379 1 26.4 37.9 1.0X
|
|
|
|
date_trunc SECOND wholestage on 327 340 13 30.6 32.7 1.2X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc WEEK: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc WEEK wholestage off 2227 2242 21 4.5 222.7 1.0X
|
|
|
|
date_trunc WEEK wholestage on 2231 2241 9 4.5 223.1 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
date_trunc QUARTER: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
date_trunc QUARTER wholestage off 3158 3160 3 3.2 315.8 1.0X
|
|
|
|
date_trunc QUARTER wholestage on 3150 3163 12 3.2 315.0 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc year: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc year wholestage off 321 323 3 31.2 32.1 1.0X
|
|
|
|
trunc year wholestage on 302 330 18 33.1 30.2 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc yyyy: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc yyyy wholestage off 320 324 6 31.2 32.0 1.0X
|
|
|
|
trunc yyyy wholestage on 294 329 20 34.0 29.4 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc yy: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc yy wholestage off 322 322 0 31.1 32.2 1.0X
|
|
|
|
trunc yy wholestage on 293 320 37 34.1 29.3 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc mon: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc mon wholestage off 320 322 2 31.2 32.0 1.0X
|
|
|
|
trunc mon wholestage on 291 312 26 34.4 29.1 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc month: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc month wholestage off 318 331 18 31.4 31.8 1.0X
|
|
|
|
trunc month wholestage on 297 329 28 33.7 29.7 1.1X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
trunc mm: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
trunc mm wholestage off 318 319 1 31.4 31.8 1.0X
|
|
|
|
trunc mm wholestage on 312 335 15 32.1 31.2 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
================================================================================================
|
|
|
|
Parsing
|
|
|
|
================================================================================================
|
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
to timestamp str: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to timestamp str wholestage off 217 221 5 4.6 217.5 1.0X
|
|
|
|
to timestamp str wholestage on 210 214 5 4.8 210.0 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-04-22 07:41:32 -04:00
|
|
|
to_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to_timestamp wholestage off 1714 1718 5 0.6 1714.4 1.0X
|
|
|
|
to_timestamp wholestage on 1418 1433 14 0.7 1418.5 1.2X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-04-22 07:41:32 -04:00
|
|
|
to_unix_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to_unix_timestamp wholestage off 1436 1441 6 0.7 1436.2 1.0X
|
|
|
|
to_unix_timestamp wholestage on 1421 1426 7 0.7 1420.6 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
to date str: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to date str wholestage off 267 267 0 3.8 266.6 1.0X
|
|
|
|
to date str wholestage on 260 262 2 3.8 260.1 1.0X
|
2019-10-03 11:58:25 -04:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2019-10-03 11:58:25 -04:00
|
|
|
to_date: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
to_date wholestage off 3419 3436 25 0.3 3419.0 1.0X
|
|
|
|
to_date wholestage on 3344 3352 7 0.3 3343.5 1.0X
|
2019-01-28 08:21:21 -05:00
|
|
|
|
|
|
|
|
2019-10-03 11:58:25 -04:00
|
|
|
================================================================================================
|
|
|
|
Conversion from/to external types
|
|
|
|
================================================================================================
|
2019-01-28 08:21:21 -05:00
|
|
|
|
2020-05-03 20:39:50 -04:00
|
|
|
OpenJDK 64-Bit Server VM 1.8.0_252-8u252-b09-1~18.04-b09 on Linux 4.15.0-1063-aws
|
|
|
|
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
|
2020-04-14 10:44:00 -04:00
|
|
|
To/from Java's date-time: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
|
2019-04-09 18:42:27 -04:00
|
|
|
------------------------------------------------------------------------------------------------------------------------
|
2020-06-17 02:28:47 -04:00
|
|
|
From java.sql.Date 436 445 8 11.5 87.2 1.0X
|
|
|
|
From java.time.LocalDate 348 357 11 14.4 69.7 1.3X
|
|
|
|
Collect java.sql.Date 1723 1917 168 2.9 344.5 0.3X
|
|
|
|
Collect java.time.LocalDate 1591 1602 18 3.1 318.3 0.3X
|
|
|
|
From java.sql.Timestamp 248 252 4 20.2 49.6 1.8X
|
|
|
|
From java.time.Instant 232 238 5 21.5 46.5 1.9X
|
|
|
|
Collect longs 1398 1455 99 3.6 279.5 0.3X
|
|
|
|
Collect java.sql.Timestamp 1469 1483 13 3.4 293.9 0.3X
|
|
|
|
Collect java.time.Instant 1561 1597 40 3.2 312.2 0.3X
|
|
|
|
java.sql.Date to Hive string 13820 14798 857 0.4 2763.9 0.0X
|
|
|
|
java.time.LocalDate to Hive string 14374 14779 357 0.3 2874.8 0.0X
|
|
|
|
java.sql.Timestamp to Hive string 14872 15461 653 0.3 2974.5 0.0X
|
|
|
|
java.time.Instant to Hive string 17062 17789 759 0.3 3412.4 0.0X
|
2019-04-09 18:42:27 -04:00
|
|
|
|
|
|
|
|