apache / doris-spark-connector

Spark Connector for Apache Doris
https://doris.apache.org/
Apache License 2.0
74 stars 90 forks source link

[feature]support read ipv4/ipv6 data type #199

Closed vinlee19 closed 2 months ago

vinlee19 commented 3 months ago

Proposed changes

  1. support read ipv4 type since Apache Doris 2.1.0

  2. support read ipv6 since Apache Doris 2.1.1 , This issue arises from the incompatible conversion between IPv6 data type and Arrow data type. https://github.com/apache/doris/pull/32240

  3. Apache Doris supports IPv6 format, including IPv4-mapped format represented as ::ffff.255.255.255.255 and IPv4 to IPv6 conversion represented as ::0.1.0.0. Issue Number: close #xxx

Problem Summary:

Describe the overview of changes.

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...