Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin-Ray committed Jun 18, 2024
1 parent 5989ae6 commit a2a04a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/proof-of-sql/src/base/database/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,15 @@ impl ColumnType {
| ColumnType::BigInt
| ColumnType::Int128
| ColumnType::Scalar
| ColumnType::Decimal75(_, _) // TODO: is a timestamp numeric?
| ColumnType::Decimal75(_, _)
)
}

/// Returns true if this column is an integer and false otherwise
pub fn is_integer(&self) -> bool {
matches!(
self,
ColumnType::SmallInt | ColumnType::Int | ColumnType::BigInt | ColumnType::Int128 // TODO: is a timestamp an integer?
ColumnType::SmallInt | ColumnType::Int | ColumnType::BigInt | ColumnType::Int128
)
}

Expand Down

0 comments on commit a2a04a1

Please sign in to comment.