Skip to content

Commit 95316db

Browse files
Add chrono::Offset import needed for .fix() method
The previous commit removed chrono::prelude::* but the Offset trait is needed for calling .fix() on TzOffset.
1 parent 20ea78a commit 95316db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native-engine/datafusion-ext-functions/src/spark_dates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use arrow::{
2020
compute::{DatePart, date_part},
2121
datatypes::{DataType, TimeUnit},
2222
};
23-
use chrono::{TimeZone, Utc};
23+
use chrono::{Offset, TimeZone, Utc};
2424
use chrono_tz::Tz;
2525
use datafusion::{
2626
common::{Result, ScalarValue},

0 commit comments

Comments
 (0)