Skip to content

Commit

Permalink
Merge pull request #1074 from toyama0919/master
Browse files Browse the repository at this point in the history
Fix: ElasticSearch wasn't using correct type names
  • Loading branch information
arikfr committed May 26, 2016
2 parents 14fcf01 + d6f4af4 commit 64d7538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _get_mappings(self, url):
property_type = property_data.get("type", None)
if property_type:
if property_type in ELASTICSEARCH_TYPES_MAPPING:
mappings[property_name] = property_type
mappings[property_name] = ELASTICSEARCH_TYPES_MAPPING[property_type]
else:
mappings[property_name] = TYPE_STRING
#raise Exception("Unknown property type: {0}".format(property_type))
Expand Down

0 comments on commit 64d7538

Please sign in to comment.