Skip to content
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

Make query tests use schema transformation #997

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

trzysiek
Copy link
Member

There are a couple of problems in a dashboard I clicked out in Kibana 8.15. I'll try to fix them here.

quesma-1                | Nov 14 10:42:23.182 WRN quesma/queryparser/aggregation_parser.go:193 > no _source in top_hits not supported. Using empty. async_id=quesma_async_01932a44-5b4c-7b73-baf0-0c0811e3320c opaque_id=09cce734-bcd7-4983-92e5-eefb5af0ccff;kibana:application:visualize:new;agg_based:metrics: path=/kibana_sample_data_flights/_async_search request_id=01932a44-5b4c-7987-9f89-8167acc0b0a9
quesma-1                | Nov 14 10:42:23.184 INF quesma/quesma/schema_transformer.go:773 > PhysicalFromExpressionTransformation triggered, input query: SELECT sum(count(*)) OVER () AS "metric____quesma_total_count_col_0", count(*) AS "aggr__timeseries__count", countIf("distancemiles" IS NOT NULL) AS "aggr__timeseries__badccb5b-5077-4bc9-9cbb-8a13abb0e33f__count" FROM __quesma_table_name WHERE ("timestamp">=fromUnixTimestamp64Milli(1731526657318) AND "timestamp"<=fromUnixTimestamp64Milli(1731580657318))
quesma-1                | Nov 14 10:42:23.184 INF quesma/quesma/schema_transformer.go:774 > PhysicalFromExpressionTransformation triggered, output query: SELECT sum(count(*)) OVER () AS "metric____quesma_total_count_col_0", count(*) AS "aggr__timeseries__count", countIf("distancemiles" IS NOT NULL) AS "aggr__timeseries__badccb5b-5077-4bc9-9cbb-8a13abb0e33f__count" FROM default.kibana_sample_data_flights WHERE ("timestamp">=fromUnixTimestamp64Milli(1731526657318) AND "timestamp"<=fromUnixTimestamp64Milli(1731580657318))
quesma-1                | Nov 14 10:42:23.186 INF quesma/quesma/schema_transformer.go:773 > PhysicalFromExpressionTransformation triggered, input query: SELECT  FROM __quesma_table_name WHERE ("distancemiles" IS NOT NULL AND ("timestamp">=fromUnixTimestamp64Milli(1731526657318) AND "timestamp"<=fromUnixTimestamp64Milli(1731580657318))) LIMIT 1
quesma-1                | Nov 14 10:42:23.187 INF quesma/quesma/schema_transformer.go:774 > PhysicalFromExpressionTransformation triggered, output query: SELECT  FROM default.kibana_sample_data_flights WHERE ("distancemiles" IS NOT NULL AND ("timestamp">=fromUnixTimestamp64Milli(1731526657318) AND "timestamp"<=fromUnixTimestamp64Milli(1731580657318))) LIMIT 1
quesma-1                | Nov 14 10:42:23.187 ERR quesma/quesma/quesma.go:156 > quesma request failed: error transforming queries: applyWildcardExpansion: no columns found in the query opaque_id=09cce734-bcd7-4983-92e5-eefb5af0ccff

@trzysiek trzysiek changed the title Make query tests use schema transforation [after #998] Make query tests use schema transforation Nov 14, 2024
@trzysiek trzysiek changed the title [after #998] Make query tests use schema transforation Make query tests use schema transforation Nov 14, 2024
@trzysiek trzysiek changed the title Make query tests use schema transforation Make query tests use schema transformation Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant