rdblue commented on a change in pull request #4016:
URL: https://github.com/apache/iceberg/pull/4016#discussion_r796843443
##########
File path: python/src/iceberg/types.py
##########
@@ -206,19 +204,14 @@ class IntegerType(Type):
min: int = -2147483648
- def __init__(self):
- super().__init__("int", "IntegerType()", is_primitive=True)
-
-class LongType(Type):
+class LongType(PrimitiveType):
"""A Long data type in Iceberg can be represented using an instance of
this class. Longs in Iceberg are
64-bit signed integers.
-
Example:
>>> column_foo = LongType()
>>> isinstance(column_foo, LongType)
True
-
Review comment:
I'd prefer keeping the extra whitespace. Maybe we need to fix tox?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]