diff --git a/server/src/query/stream_schema_provider.rs b/server/src/query/stream_schema_provider.rs index 6e37a5f36..75440f91f 100644 --- a/server/src/query/stream_schema_provider.rs +++ b/server/src/query/stream_schema_provider.rs @@ -718,6 +718,9 @@ fn extract_from_lit(expr: BinaryExpr, time_partition: Option) -> Option< ScalarValue::TimestampMillisecond(Some(value), _) => { Some(DateTime::from_timestamp_millis(value).unwrap().naive_utc()) } + ScalarValue::TimestampNanosecond(Some(value), _) => { + Some(DateTime::from_timestamp_nanos(value).naive_utc()) + } ScalarValue::Utf8(Some(str_value)) => { if time_partition.is_some() && column_name == time_partition.unwrap() { Some(str_value.parse::().unwrap())