-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Unit tests for FlintIndexReader (#2238)
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
- Loading branch information
Showing
8 changed files
with
197 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
...ources/flint-index-mappings/flint_my_glue_default_http_logs_size_year_covering_index.json
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
spark/src/test/resources/flint-index-mappings/flint_mys3_default_http_logs_cv1_index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"flint_mys3_default_http_logs_cv1_index": { | ||
"mappings": { | ||
"_doc": { | ||
"_meta": { | ||
"kind": "skipping", | ||
"indexedColumns": [ | ||
{ | ||
"columnType": "int", | ||
"kind": "VALUE_SET", | ||
"columnName": "status" | ||
} | ||
], | ||
"name": "flint_mys3_default_http_logs_cv1_index", | ||
"options": {}, | ||
"source": "mys3.default.http_logs", | ||
"version": "0.1.0", | ||
"properties": { | ||
"env": { | ||
"SERVERLESS_EMR_VIRTUAL_CLUSTER_ID": "00fd777k3k3ls20p", | ||
"SERVERLESS_EMR_JOB_ID": "00fdmvv9hp8u0o0q" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": 5, | ||
"number_of_replicas": 0, | ||
"max_result_window": 100, | ||
"version": { | ||
"created": "6050399" | ||
} | ||
} | ||
}, | ||
"mapping_version": "1", | ||
"settings_version": "1", | ||
"aliases_version": "1" | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
.../src/test/resources/flint-index-mappings/flint_mys3_default_http_logs_skipping_index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"flint_mys3_default_http_logs_skipping_index": { | ||
"mappings": { | ||
"_doc": { | ||
"_meta": { | ||
"kind": "skipping", | ||
"indexedColumns": [ | ||
{ | ||
"columnType": "int", | ||
"kind": "VALUE_SET", | ||
"columnName": "status" | ||
} | ||
], | ||
"name": "flint_mys3_default_http_logs_skipping_index", | ||
"options": {}, | ||
"source": "mys3.default.http_logs", | ||
"version": "0.1.0", | ||
"properties": { | ||
"env": { | ||
"SERVERLESS_EMR_VIRTUAL_CLUSTER_ID": "00fd777k3k3ls20p", | ||
"SERVERLESS_EMR_JOB_ID": "00fdmvv9hp8u0o0q" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": 5, | ||
"number_of_replicas": 0, | ||
"max_result_window": 100, | ||
"version": { | ||
"created": "6050399" | ||
} | ||
} | ||
}, | ||
"mapping_version": "1", | ||
"settings_version": "1", | ||
"aliases_version": "1" | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
spark/src/test/resources/flint-index-mappings/npe_mapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"flint_mys3_default_http_logs_cv1_index": { | ||
"mappings": { | ||
"_doc": { | ||
"_meta": { | ||
"kind": "skipping", | ||
"indexedColumns": [ | ||
{ | ||
"columnType": "int", | ||
"kind": "VALUE_SET", | ||
"columnName": "status" | ||
} | ||
], | ||
"name": "flint_mys3_default_http_logs_cv1_index", | ||
"options": {}, | ||
"source": "mys3.default.http_logs", | ||
"version": "0.1.0" | ||
} | ||
} | ||
}, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": 5, | ||
"number_of_replicas": 0, | ||
"max_result_window": 100, | ||
"version": { | ||
"created": "6050399" | ||
} | ||
} | ||
}, | ||
"mapping_version": "1", | ||
"settings_version": "1", | ||
"aliases_version": "1" | ||
} | ||
} |