mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Add unsigned_long support to data frame analytics and anomaly detection (#82636)
* add support for unsigned_long field in dfa * add support for unsigned_long for anomaly detection
This commit is contained in:
parent
e61c76d2d1
commit
ae20a3a2a9
2 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ export const MAX_COLUMNS = 10;
|
|||
export const DEFAULT_REGRESSION_COLUMNS = 8;
|
||||
|
||||
export const BASIC_NUMERICAL_TYPES = new Set([
|
||||
ES_FIELD_TYPES.UNSIGNED_LONG,
|
||||
ES_FIELD_TYPES.LONG,
|
||||
ES_FIELD_TYPES.INTEGER,
|
||||
ES_FIELD_TYPES.SHORT,
|
||||
|
|
|
@ -27,6 +27,7 @@ const supportedTypes: string[] = [
|
|||
ES_FIELD_TYPES.INTEGER,
|
||||
ES_FIELD_TYPES.FLOAT,
|
||||
ES_FIELD_TYPES.LONG,
|
||||
ES_FIELD_TYPES.UNSIGNED_LONG,
|
||||
ES_FIELD_TYPES.BYTE,
|
||||
ES_FIELD_TYPES.HALF_FLOAT,
|
||||
ES_FIELD_TYPES.SCALED_FLOAT,
|
||||
|
@ -245,6 +246,7 @@ function getNumericalFields(fields: Field[]): Field[] {
|
|||
return fields.filter(
|
||||
(f) =>
|
||||
f.type === ES_FIELD_TYPES.LONG ||
|
||||
f.type === ES_FIELD_TYPES.UNSIGNED_LONG ||
|
||||
f.type === ES_FIELD_TYPES.INTEGER ||
|
||||
f.type === ES_FIELD_TYPES.SHORT ||
|
||||
f.type === ES_FIELD_TYPES.BYTE ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue