Skip to content

Commit

Permalink
Support for number, date and IP range data types (#76971) (#94001)
Browse files Browse the repository at this point in the history
* Support for number, date and IP ranges

* Update tests

* Ranges don't work with range agg

* Fix test case

* Allow Discover to create range filters

* Supports ranges in Visualize, KQL, remove Lens support

* Fix test mappings

* Bring back field cache to work around bug

* Fix some tests

* Fix test expectation

* Respond to review comments

* Fix type error

* Remove added sample data

* Fix api_docs

* Fix test
  • Loading branch information
Wylie Conlon authored Mar 8, 2021
1 parent b34542b commit 5c001f8
Show file tree
Hide file tree
Showing 49 changed files with 532 additions and 59 deletions.
6 changes: 3 additions & 3 deletions api_docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -11393,7 +11393,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/kbn_field_types/types.ts",
"lineNumber": 57
"lineNumber": 64
},
"initialIsOpen": false
},
Expand Down Expand Up @@ -20561,7 +20561,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/kbn_field_types/types.ts",
"lineNumber": 57
"lineNumber": 64
},
"initialIsOpen": false
},
Expand Down Expand Up @@ -27151,7 +27151,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/kbn_field_types/types.ts",
"lineNumber": 57
"lineNumber": 64
},
"initialIsOpen": false
}
Expand Down
8 changes: 4 additions & 4 deletions api_docs/data_field_formats.json
Original file line number Diff line number Diff line change
Expand Up @@ -3306,7 +3306,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/field_formats/converters/string.ts",
"lineNumber": 80
"lineNumber": 83
},
"signature": [
"({ kind: boolean; text: string; } | { kind: string; text: string; })[]"
Expand All @@ -3325,7 +3325,7 @@
"returnComment": [],
"source": {
"path": "src/plugins/data/common/field_formats/converters/string.ts",
"lineNumber": 82
"lineNumber": 85
}
},
{
Expand All @@ -3342,7 +3342,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/field_formats/converters/string.ts",
"lineNumber": 102
"lineNumber": 105
}
}
],
Expand All @@ -3353,7 +3353,7 @@
"label": "textConvert",
"source": {
"path": "src/plugins/data/common/field_formats/converters/string.ts",
"lineNumber": 102
"lineNumber": 105
},
"tags": [],
"returnComment": []
Expand Down
Loading

0 comments on commit 5c001f8

Please sign in to comment.