mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-13 00:22:23 +00:00
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:
parent
26ae339aff
commit
5d733b490c
File diff suppressed because it is too large
Load Diff
@ -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,
|
||||
|
||||
@ -201,8 +201,7 @@
|
||||
},
|
||||
"query": {
|
||||
"type": "text",
|
||||
"index": false,
|
||||
"doc_values": false
|
||||
"index": false
|
||||
},
|
||||
"queryDate": {
|
||||
"type": "long"
|
||||
|
||||
@ -177,9 +177,8 @@
|
||||
}
|
||||
},
|
||||
"query": {
|
||||
"type": "keyword",
|
||||
"index": false,
|
||||
"doc_values": false
|
||||
"type": "text",
|
||||
"index": false
|
||||
},
|
||||
"queryDate": {
|
||||
"type": "long"
|
||||
|
||||
@ -182,9 +182,8 @@
|
||||
}
|
||||
},
|
||||
"query": {
|
||||
"type": "keyword",
|
||||
"index": false,
|
||||
"doc_values": false
|
||||
"type": "text",
|
||||
"index": false
|
||||
},
|
||||
"queryDate": {
|
||||
"type": "long"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user