Skip to content

Commit

Permalink
fixup! Suppress deprecation warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Nov 4, 2024
1 parent 36f2b39 commit 554ee00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datafusion/functions/src/datetime/from_unixtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ mod test {
fn test_without_timezone() {
let args = [ColumnarValue::Scalar(Int64(Some(1729900800)))];

#[allow(deprecated)] // TODO use invoke_batch
let result = FromUnixtimeFunc::new().invoke(&args).unwrap();

match result {
Expand All @@ -181,6 +182,7 @@ mod test {
))),
];

#[allow(deprecated)] // TODO use invoke_batch
let result = FromUnixtimeFunc::new().invoke(&args).unwrap();

match result {
Expand Down

0 comments on commit 554ee00

Please sign in to comment.