Minor Fix : query_cost_record_search_index Search exception for elasticsearch instance (#21985)

* Fix : query_cost_record_search_index Search exception for elasticsearch instance

* add sample query to cover test scenarios

* update mapping and fix test
This commit is contained in:
sonika-shah 2025-06-28 11:22:34 +05:30 committed by GitHub
parent 26ae339aff
commit 5d733b490c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1387 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -73,7 +73,7 @@ class QueryParserTest(TestCase):
Check the join count
"""
expected_result = {
"shopify.raw_product_catalog": 5,
"shopify.raw_product_catalog": 6,
"dim_customer": 4,
"fact_order": 4,
"shopify.fact_sale": 5,

View File

@ -201,8 +201,7 @@
},
"query": {
"type": "text",
"index": false,
"doc_values": false
"index": false
},
"queryDate": {
"type": "long"

View File

@ -177,9 +177,8 @@
}
},
"query": {
"type": "keyword",
"index": false,
"doc_values": false
"type": "text",
"index": false
},
"queryDate": {
"type": "long"

View File

@ -182,9 +182,8 @@
}
},
"query": {
"type": "keyword",
"index": false,
"doc_values": false
"type": "text",
"index": false
},
"queryDate": {
"type": "long"