Skip to content
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

[ML] Fix datafeed preview with remote indices #81099

Commits on Nov 29, 2021

  1. [ML] Fix datafeed preview with remote indices

    In elastic#77109 a bug was fixed with regard to `date_nanos` time fields
    and the preview datafeed API. However, that fix introduces a new bug.
    As we are calling the field caps API to find out whether the time field
    is `date_nanos`, we are setting the datafeed indices on the request.
    This may result to erroneous behaviour on local indices and it certainly
    will result to an error if the datafeed's indices are remote.
    
    This commit fixes that problem by setting the datafeed's indices on the
    field caps request.
    dimitris-athanasiou committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    4c8e038 View commit details
    Browse the repository at this point in the history