question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ClickHouse IPv6 error

See original GitHub issue

When trying to query a ClickHouse database from SQL Lab with an IPv6 field, Superset gives the following error:

Could not convert ::ffff:0000:0000 with type IPv6Address: did not recognize Python value type when inferring an Arrow data type

(IP address data replaced with 0s). I can’t see any stack traces in the console output.

How to reproduce the bug

  1. Create a new ClickHouse database
  2. Create a table with at least one IPv6 field
  3. Insert some data
  4. Add the database to Superset
  5. Go to SQL Lab and try to query the data via SELECT * FROM ...

Environment

(please complete the following information):

  • superset version: Superset 0.999.0dev
  • python version: Python 3.6.9
  • node.js version: v10.19.0
  • npm version: 6.13.4

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kanadajcommented, Apr 22, 2021

@john-bodley I’ve no idea, the issue was around for long enough that ultimately we’ve switched to using Metabase for querying ClickHouse for an online interface

1reaction
issue-label-bot[bot]commented, Jun 17, 2020

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.92. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid IPv6 value ...
Inclusion (IN/NOT IN) test does not work when the subquery returns IPv6 values. Does it reproduce on recent release? Yes, on version 22.3.2....
Read more >
ipv6 | ClickHouse Docs
IPv6 is a domain based on FixedString(16) type and serves as a typed replacement for storing IPv6 values. It provides compact storage with...
Read more >
Introducing ClickHouse IPv4 and IPv6 Domains for IP ...
The body of the problem was with loading and presenting IPv4 and IPv6 addresses, which are traditionally stored in ClickHouse as UInt32 and ......
Read more >
Clickhouse results are showing null rows sometimes
I'm trying to process some IP data that we store on our clickhouse database. We have some users who have IPv6 addresses logged, ......
Read more >
ClickHouse connect IPv6 - 个人文章
This article mainly explains how to connect ClickHouse IPv6 ... that when ClickHouse server is located does not support IPv6 an error will ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found