alamb commented on code in PR #4039:
URL: https://github.com/apache/arrow-datafusion/pull/4039#discussion_r1014268129
##########
datafusion/core/tests/sql/mod.rs:
##########
@@ -1152,10 +1152,10 @@ pub fn make_timestamps() -> RecordBatch {
.map(|(i, _)| format!("Row {}", i))
.collect::<Vec<_>>();
- let arr_nanos = TimestampNanosecondArray::from_opt_vec(ts_nanos, None);
- let arr_micros = TimestampMicrosecondArray::from_opt_vec(ts_micros, None);
- let arr_millis = TimestampMillisecondArray::from_opt_vec(ts_millis, None);
- let arr_secs = TimestampSecondArray::from_opt_vec(ts_secs, None);
+ let arr_nanos = TimestampNanosecondArray::from(ts_nanos);
Review Comment:
❤️
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]