CircArgs commented on a change in pull request #4016:
URL: https://github.com/apache/iceberg/pull/4016#discussion_r796194881
##########
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:
hmm I did run the tox formatter before committing `tox -e format` maybe
that case was that it was not run on `types.py` previously? (which I think
would have been my fault still...)
--
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]