Skip to content

Commit 8ad883a

Browse files
authored
Apply suggestion from @kevinjqliu
1 parent 52fd6e3 commit 8ad883a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyiceberg/expressions/literals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def _(self, _: IntegerType) -> Literal[int]:
319319
def _(self, _: FloatType) -> Literal[float]:
320320
if FloatType.max < self.value:
321321
return FloatAboveMax()
322-
elif FloatType.min > self.value:
322+
elif self.value < FloatType.min:
323323
return FloatBelowMin()
324324
return FloatLiteral(float(self.value))
325325

0 commit comments

Comments
 (0)