Skip to content

Commit 174f3ce

Browse files
zouxiang1993dust1
authored andcommitted
fix: datumkind size (apache#994)
## Rationale ## Detailed Changes ## Test Plan
1 parent dc8aca5 commit 174f3ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common_types/src/datum.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ impl DatumKind {
225225
DatumKind::UInt8 => 1,
226226
DatumKind::Int64 => 8,
227227
DatumKind::Int32 => 4,
228-
DatumKind::Int16 => 8,
229-
DatumKind::Int8 => 8,
228+
DatumKind::Int16 => 2,
229+
DatumKind::Int8 => 1,
230230
DatumKind::Boolean => 1,
231231
DatumKind::Date => 4,
232232
DatumKind::Time => 8,

0 commit comments

Comments
 (0)