Skip to content

Commit f6063ee

Browse files
committed
chore: update pgwire
1 parent c3c98c3 commit f6063ee

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["datafusion-postgres", "datafusion-postgres-cli"]
44

55
[workspace.dependencies]
6-
pgwire = "0.30.1"
6+
pgwire = "0.30.2"
77
datafusion = { version = "47", default-features = false }
88
tokio = { version = "1", default-features = false }
99

datafusion-postgres/src/encoder/list_encoder.rs

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
use std::{error::Error, str::FromStr, sync::Arc};
22

3-
use arrow::{
4-
datatypes::{
5-
Date32Type, Date64Type, Time32MillisecondType, Time32SecondType, Time64MicrosecondType,
6-
Time64NanosecondType,
7-
},
8-
temporal_conversions::{as_date, as_time},
9-
};
103
use bytes::{BufMut, BytesMut};
114
use chrono::{DateTime, TimeZone, Utc};
5+
use datafusion::arrow::array::{
6+
timezone::Tz, Array, BinaryArray, BooleanArray, Date32Array, Date64Array, Decimal128Array,
7+
LargeBinaryArray, PrimitiveArray, StringArray, Time32MillisecondArray, Time32SecondArray,
8+
Time64MicrosecondArray, Time64NanosecondArray, TimestampMicrosecondArray,
9+
TimestampMillisecondArray, TimestampNanosecondArray, TimestampSecondArray,
10+
};
1211
use datafusion::arrow::{
13-
array::{
14-
timezone::Tz, Array, BinaryArray, BooleanArray, Date32Array, Date64Array, Decimal128Array,
15-
LargeBinaryArray, PrimitiveArray, StringArray, Time32MillisecondArray, Time32SecondArray,
16-
Time64MicrosecondArray, Time64NanosecondArray, TimestampMicrosecondArray,
17-
TimestampMillisecondArray, TimestampNanosecondArray, TimestampSecondArray,
18-
},
1912
datatypes::{
20-
DataType, Float32Type, Float64Type, Int16Type, Int32Type, Int64Type, Int8Type, TimeUnit,
21-
UInt16Type, UInt32Type, UInt64Type, UInt8Type,
13+
DataType, Date32Type, Date64Type, Float32Type, Float64Type, Int16Type, Int32Type,
14+
Int64Type, Int8Type, Time32MillisecondType, Time32SecondType, Time64MicrosecondType,
15+
Time64NanosecondType, TimeUnit, UInt16Type, UInt32Type, UInt64Type, UInt8Type,
2216
},
17+
temporal_conversions::{as_date, as_time},
2318
};
2419
use pgwire::{
2520
api::results::FieldFormat,

0 commit comments

Comments
 (0)