-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transform] mapper cannot be changed from type [long] to [float] #67148
Comments
Pinging @elastic/ml-core (:ml/Transform) |
I can replicate this error on the |
This behaviour is expected as the For clarity, this issue is raised as a bug as we would ideally like for a better user experience when evaluating and creating transforms using the Kibana sample data - without the user sometimes needing to create templates or to copy mappings prior to starting the transform. (In a future version, we may be able to include logic into the UI workflow for managing mappings in instances where a template does not already exist.) |
The location of the ecommerce sample dataset in the Kibana repo is here
There is a file |
Thanks for the pointer @Winterflower, I'll give it a try. |
The dataset has been fixed so this error should not occur anymore. |
we are again getting same error on elastic search and for all float parameters, we are getting below error one after another
|
A couple of questions, @pmunshi1:
|
It happens that the
latest
transform fails with the following error:Steps to reproduce:
kibana_sample_data_ecommerce
datasetThe reason for this error is that the
products.min_price
mapped type in the source index ishalf_float
but the field value is sometimes an integer.Then, due to dynamic mappings in the destination index, the
products.min_price
gets mapped aslong
and cannot be further changed fromlong
tofloat
.Workaround:
Create destination index mappings explicitly (at least for this one problematic field):
The text was updated successfully, but these errors were encountered: