Skip to content

Commit

Permalink
fix: Timestamp with timezone not considerd in
Browse files Browse the repository at this point in the history
  • Loading branch information
ackingliu committed Nov 14, 2023
1 parent a38ac20 commit d56e132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/expr/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ pub fn can_hash(data_type: &DataType) -> bool {
DataType::UInt64 => true,
DataType::Float32 => true,
DataType::Float64 => true,
DataType::Timestamp(time_unit, None) => match time_unit {
DataType::Timestamp(time_unit, _) => match time_unit {
TimeUnit::Second => true,
TimeUnit::Millisecond => true,
TimeUnit::Microsecond => true,
Expand Down

0 comments on commit d56e132

Please sign in to comment.