You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when building a Parquet primitive type, the PrimitiveTypeBuilder won't allow cases such as Decimal(1, 1):
ifself.scale >= self.precision{returnErr(general_err!("Invalid DECIMAL: scale ({}) cannot be greater than or equal to precision \ ({})",self.scale,self.precision
));
However this should be a valid case.
To Reproduce
Use PrimitiveTypeBuilder to construct a decimal type with the same scale and precision.
Expected behavior
The above case should be allowed.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently when building a Parquet primitive type, the
PrimitiveTypeBuilder
won't allow cases such asDecimal(1, 1)
:However this should be a valid case.
To Reproduce
Use
PrimitiveTypeBuilder
to construct a decimal type with the same scale and precision.Expected behavior
The above case should be allowed.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: