Skip to content

Commit a53a362

Browse files
committed
Bump arrow-rs, parquet to 54.0.0 and pyo3 to 0.23.3
1 parent df5b5dc commit a53a362

4 files changed

Lines changed: 35 additions & 35 deletions

File tree

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@ version = "42.2.0"
6969
ahash = { version = "0.8", default-features = false, features = [
7070
"runtime-rng",
7171
] }
72-
arrow = { version = "53.1.0", features = [
72+
arrow = { version = "54.0.0", features = [
7373
"prettyprint",
7474
] }
75-
arrow-array = { version = "53.1.0", default-features = false, features = [
75+
arrow-array = { version = "54.0.0", default-features = false, features = [
7676
"chrono-tz",
7777
] }
78-
arrow-buffer = { version = "53.1.0", default-features = false }
79-
arrow-flight = { version = "53.1.0", features = [
78+
arrow-buffer = { version = "54.0.0", default-features = false }
79+
arrow-flight = { version = "54.0.0", features = [
8080
"flight-sql-experimental",
8181
] }
82-
arrow-ipc = { version = "53.1.0", default-features = false, features = [
82+
arrow-ipc = { version = "54.0.0", default-features = false, features = [
8383
"lz4",
8484
] }
85-
arrow-ord = { version = "53.1.0", default-features = false }
86-
arrow-schema = { version = "53.1.0", default-features = false }
87-
arrow-string = { version = "53.1.0", default-features = false }
85+
arrow-ord = { version = "54.0.0", default-features = false }
86+
arrow-schema = { version = "54.0.0", default-features = false }
87+
arrow-string = { version = "54.0.0", default-features = false }
8888
async-trait = "0.1.73"
8989
bigdecimal = "=0.4.1"
9090
bytes = "1.4"
@@ -124,7 +124,7 @@ log = "^0.4"
124124
num_cpus = "1.13.0"
125125
object_store = { version = "0.11.0", default-features = false }
126126
parking_lot = "0.12"
127-
parquet = { version = "53.1.0", default-features = false, features = [
127+
parquet = { version = "54.0.0", default-features = false, features = [
128128
"arrow",
129129
"async",
130130
"object_store",

datafusion/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ num_cpus = { workspace = true }
6161
object_store = { workspace = true, optional = true }
6262
parquet = { workspace = true, optional = true, default-features = true }
6363
paste = "1.0.15"
64-
pyo3 = { version = "0.22.0", optional = true }
64+
pyo3 = { version = "0.23.3", optional = true }
6565
sqlparser = { workspace = true }
6666
tokio = { workspace = true }
6767

datafusion/sqllogictest/test_files/dates.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ query error input contains invalid characters
183183
SELECT to_date('2020-09-08 12/00/00+00:00', '%c', '%+')
184184

185185
# to_date with broken formatting
186-
query error bad or unsupported format string
186+
query error Error parsing timestamp
187187
SELECT to_date('2020-09-08 12/00/00+00:00', '%q')
188188

189189
statement ok

datafusion/sqllogictest/test_files/timestamps.slt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ SET TIME ZONE = '+05:00'
19981998

19991999
statement ok
20002000
CREATE TABLE foo (time TIMESTAMPTZ) AS VALUES
2001-
('2020-01-01T00:00:00+05:00'),
2001+
('2020-01-01T00:00:00+05:00'),
20022002
('2020-01-01T01:00:00+05:00'),
20032003
('2020-01-01T02:00:00+05:00'),
20042004
('2020-01-01T03:00:00+05:00')
@@ -2045,7 +2045,7 @@ Timestamp(Microsecond, None)
20452045
query T
20462046
select arrow_typeof(date_trunc('microsecond', to_timestamp(61)))
20472047
----
2048-
Timestamp(Nanosecond, None)
2048+
Timestamp(Nanosecond, None)
20492049

20502050
# check date_bin
20512051
query P
@@ -2083,17 +2083,17 @@ NULL 1970-01-01T00:00:00 2031-01-19T23:33:25 1970-01-01T00:00:01 1969-12-31T23:5
20832083
# verify timestamp syntax styles are consistent
20842084
query BBBBBBBBBBBBB
20852085
SELECT to_timestamp(null) is null as c1,
2086-
null::timestamp is null as c2,
2087-
cast(null as timestamp) is null as c3,
2088-
to_timestamp(0) = 0::timestamp as c4,
2089-
to_timestamp(1926632005) = 1926632005::timestamp as c5,
2090-
to_timestamp(1) = 1::timestamp as c6,
2091-
to_timestamp(-1) = -1::timestamp as c7,
2086+
null::timestamp is null as c2,
2087+
cast(null as timestamp) is null as c3,
2088+
to_timestamp(0) = 0::timestamp as c4,
2089+
to_timestamp(1926632005) = 1926632005::timestamp as c5,
2090+
to_timestamp(1) = 1::timestamp as c6,
2091+
to_timestamp(-1) = -1::timestamp as c7,
20922092
to_timestamp(0-1) = (0-1)::timestamp as c8,
2093-
to_timestamp(0) = cast(0 as timestamp) as c9,
2094-
to_timestamp(1926632005) = cast(1926632005 as timestamp) as c10,
2095-
to_timestamp(1) = cast(1 as timestamp) as c11,
2096-
to_timestamp(-1) = cast(-1 as timestamp) as c12,
2093+
to_timestamp(0) = cast(0 as timestamp) as c9,
2094+
to_timestamp(1926632005) = cast(1926632005 as timestamp) as c10,
2095+
to_timestamp(1) = cast(1 as timestamp) as c11,
2096+
to_timestamp(-1) = cast(-1 as timestamp) as c12,
20972097
to_timestamp(0-1) = cast(0-1 as timestamp) as c13
20982098
----
20992099
true true true true true true true true true true true true true
@@ -2106,10 +2106,10 @@ Timestamp(Nanosecond, None) Timestamp(Nanosecond, None) Timestamp(Nanosecond, No
21062106

21072107
# verify timestamp output types using timestamp literal syntax
21082108
query BBBBBB
2109-
SELECT arrow_typeof(to_timestamp(1)) = arrow_typeof(1::timestamp) as c1,
2109+
SELECT arrow_typeof(to_timestamp(1)) = arrow_typeof(1::timestamp) as c1,
21102110
arrow_typeof(to_timestamp(null)) = arrow_typeof(null::timestamp) as c2,
21112111
arrow_typeof(to_timestamp('2023-01-10 12:34:56.000')) = arrow_typeof('2023-01-10 12:34:56.000'::timestamp) as c3,
2112-
arrow_typeof(to_timestamp(1)) = arrow_typeof(cast(1 as timestamp)) as c4,
2112+
arrow_typeof(to_timestamp(1)) = arrow_typeof(cast(1 as timestamp)) as c4,
21132113
arrow_typeof(to_timestamp(null)) = arrow_typeof(cast(null as timestamp)) as c5,
21142114
arrow_typeof(to_timestamp('2023-01-10 12:34:56.000')) = arrow_typeof(cast('2023-01-10 12:34:56.000' as timestamp)) as c6
21152115
----
@@ -2161,23 +2161,23 @@ query error input contains invalid characters
21612161
SELECT to_timestamp_seconds('2020-09-08 12/00/00+00:00', '%c', '%+')
21622162

21632163
# to_timestamp with broken formatting
2164-
query error bad or unsupported format string
2164+
query error Error parsing timestamp
21652165
SELECT to_timestamp('2020-09-08 12/00/00+00:00', '%q')
21662166

21672167
# to_timestamp_nanos with broken formatting
2168-
query error bad or unsupported format string
2168+
query error Error parsing timestamp
21692169
SELECT to_timestamp_nanos('2020-09-08 12/00/00+00:00', '%q')
21702170

21712171
# to_timestamp_millis with broken formatting
2172-
query error bad or unsupported format string
2172+
query error Error parsing timestamp
21732173
SELECT to_timestamp_millis('2020-09-08 12/00/00+00:00', '%q')
21742174

21752175
# to_timestamp_micros with broken formatting
2176-
query error bad or unsupported format string
2176+
query error Error parsing timestamp
21772177
SELECT to_timestamp_micros('2020-09-08 12/00/00+00:00', '%q')
21782178

21792179
# to_timestamp_seconds with broken formatting
2180-
query error bad or unsupported format string
2180+
query error Error parsing timestamp
21812181
SELECT to_timestamp_seconds('2020-09-08 12/00/00+00:00', '%q')
21822182

21832183
# Create string timestamp table with different formats
@@ -2266,13 +2266,13 @@ drop table table_a
22662266
##########
22672267

22682268
statement ok
2269-
create table table_a (ts timestamp) as values
2270-
('2020-09-08T11:42:29Z'::timestamp),
2269+
create table table_a (ts timestamp) as values
2270+
('2020-09-08T11:42:29Z'::timestamp),
22712271
('2020-09-08T12:42:29Z'::timestamp),
22722272
('2020-09-08T13:42:29Z'::timestamp)
22732273

22742274
statement ok
2275-
create table table_b (ts timestamp) as values
2275+
create table table_b (ts timestamp) as values
22762276
('2020-09-08T11:42:29.190Z'::timestamp),
22772277
('2020-09-08T13:42:29.190Z'::timestamp),
22782278
('2020-09-08T12:42:29.190Z'::timestamp)
@@ -2394,8 +2394,8 @@ statement ok
23942394
drop table t1
23952395

23962396
statement ok
2397-
create table table_a (val int, ts1 timestamp, ts2 timestamp) as values
2398-
(1, '2018-07-01T06:00:00'::timestamp, '2018-07-01T07:00:00'::timestamp),
2397+
create table table_a (val int, ts1 timestamp, ts2 timestamp) as values
2398+
(1, '2018-07-01T06:00:00'::timestamp, '2018-07-01T07:00:00'::timestamp),
23992399
(2, '2018-07-01T07:00:00'::timestamp, '2018-07-01T08:00:00'::timestamp)
24002400

24012401
query I?

0 commit comments

Comments
 (0)