[
https://issues.apache.org/jira/browse/PARQUET-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562060#comment-16562060
]
Tristan Stevens commented on PARQUET-1363:
------------------------------------------
I guess you've got two options - you could have two types, or you could use the
ipv6 representation of ipv4 addresses (i.e. zero padded). My first thought was
for one type, but the same argument goes for having both 32 bit integers and 64
bit integers and arguing that the first 2^32 can be represented by zero padding
the leading 32 bits!
> Add IP address logical type
> ---------------------------
>
> Key: PARQUET-1363
> URL: https://issues.apache.org/jira/browse/PARQUET-1363
> Project: Parquet
> Issue Type: Improvement
> Reporter: Tristan Stevens
> Priority: Major
>
> IP addresses can be much more optimally represented as a 64 bit integer,
> meaning that it's much more efficient for storage and allowing consumers to
> do equality or subnet (range) comparisons using long-integer arithmetic.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)