Skip to content

Complex types in Logs panel +/- filters and ahdoc, doesn't work #678

@Slach

Description

@Slach

adhoc filters from details doesn't work ;(

we need to option to allow enable and disable filters for complex clickhouse types like Map/Object etc.

image
image

filters works but got error on clickhouse level
image

doesn't work

SELECT *
FROM default.test_logs_with_complex_labels
WHERE (_time >= toDateTime64(1732609375, 3)) AND (_time <= toDateTime64(1732782175, 3)) AND (_map = '{"map_key0":"map_value0"}')
FORMAT JSON

works with different signle quotes serialization

SELECT *
FROM default.test_logs_with_complex_labels
WHERE (_time >= toDateTime64(1732609375, 3)) AND (_time <= toDateTime64(1732782175, 3)) AND (_map = '{\'map_key0\':\'map_value0\'}')
FORMAT JSON

but this is clickhouse specific serialization, i don't know how to properly implement it for all clickhouse related invariants

also doesn't work dropdown selection
image
image

Metadata

Metadata

Labels

bugp3Priority 3

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions