Skip to content

Commit

Permalink
Fix pattern matching qual pushdown test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
gruuya committed Jan 17, 2022
1 parent 369a230 commit 20e5d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/splitgraph/commands/test_es_aggregation_pushdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_simple_aggregation_functions_filtering(local_engine_empty):
# Ensure query is going to be aggregated on the foreign server
result = get_engine().run_sql("EXPLAIN " + query)
assert _extract_queries_from_explain(result)[0] == {
"query": {"bool": {"must": [{"wildcard": {"age": ""}}]}},
"query": {"bool": {"must": [{"wildcard": {"firstname": "Al*"}}]}},
"track_total_hits": True,
"aggs": {
"avg.balance": {"avg": {"field": "balance"}},
Expand Down

0 comments on commit 20e5d8d

Please sign in to comment.