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

Elasticsearch query runner: mappings_data is not defined #1519

Closed
idlefella opened this issue Jan 13, 2017 · 1 comment
Closed

Elasticsearch query runner: mappings_data is not defined #1519

idlefella opened this issue Jan 13, 2017 · 1 comment

Comments

@idlefella
Copy link

Issue Summary

When executing an elasticsearch query, a message appears that "mappings_data is not defined".

Steps to Reproduce

  1. Clone the latest version (master branch) from github and install the dev environment.
  2. Add an elasticsearch instance and try to execute a query, e.g.
    {"query": {'"match_all": {}}
  3. A message appears that the query was not successfull (mappings_data is not defined)

The bug is quite obvious since

for index_name in mappings_data:
refers to mappings_data, which is nowhere defined in the same file. Unfortunately I didn't find out what this mappings_data should contain.

Technical details:

  • Redash Version: master branch
  • Browser/OS: Linux/Chrome
@arikfr
Copy link
Member

arikfr commented Jan 13, 2017

Fixed. Thanks!

dairyo pushed a commit to KiiCorp/redash that referenced this issue Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants