-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported json/dynamic serialization #1168
Comments
I actually just made a fix for this today in ClickHouse/clickhouse-go#1501 and ClickHouse/ch-go#1043 We should be able to get the fix propagated/released in the next few days. Thanks! As a short term fix you can try casting to |
Closing as #1172 was merged and released to resolve this. |
@adamyeats @SpencerTorres still have the same error on the latest release |
@kurayama The JSON type is implemented separately in clickhouse-go, ch-go only supports JSON strings. The correct version is included in plugin version 4.8.1 I have personally tested a query that works with Array(JSON), specifically from an OTel table. Can you confirm again which version you're using for the plugin? |
Fascinating. Yeah that's broke Can you run this:
Curious to see what the paths and types are. If the paths are secret you can just do |
I have a reproducible query here:
Looking into it now. This is specifically with |
Fixed in ClickHouse/clickhouse-go#1506 Going to release a patch ASAP, then we can update the plugin again. The original fix supported Appreciate your patience, these types can be tricky to decode. I had to get the hex editor out to see what was going on |
Thanks for looking into it. |
Released the clickhouse-go patch in https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.32.2 Grafana team should be able to get a release soon. Thanks! |
@kurayama v4.8.2 has been released, let me know if this solves your issues. Thanks! |
@SpencerTorres I confirm it correctly works now 👌 |
What happened:
I tried changing the opentelemetry-collector-contrib exporter to use JSON instead of Map(String,String) for LogAttributes and ResourceAttributes.
Outputting some JSON values throws an error.
What you expected to happen:
All JSON values correctly showing.
How to reproduce it (as minimally and precisely as possible):
Change the otel schema to use JSON instead of Map(String,String) for LogAttributes
Selecting the root JSON value breaks in my scenario, some other nested JSONs also break.
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: