The default bug view has changed. See this FAQ.

[Qb] Auto-convert strings to numbers, if that s how a field is used

NEW
Unassigned

Status

Testing
ActiveData
2 years ago
2 years ago

People

(Reporter: ekyle, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Oh dear!  Elasticsearch is wonderful for it's ability to recast properties to the greatest common type encountered, but that often leads to numeric types being cast to strings; which denies us the ability to perform math on them.

If a property is a string (like in an aggregate), and it is being used as a number, then force then convert it to a number with a script field.  Strings that do not convert completely are mapped to `null`.
(Reporter)

Updated

2 years ago
Assignee: klahnakoski → nobody
You need to log in before you can comment on or make changes to this bug.