ClickHouse IPv6 error
See original GitHub issueWhen 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
- Create a new ClickHouse database
- Create a table with at least one IPv6 field
- Insert some data
- Add the database to Superset
- 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:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
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.