You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/06/21 17:23:06 UTC
[superset] branch hugh/update-elasticsearch created (now 832051b)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/update-elasticsearch
in repository https://gitbox.apache.org/repos/asf/superset.git.
at 832051b add more specific engine elastic search
This branch includes the following new commits:
new 832051b add more specific engine elastic search
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[superset] 01/01: add more specific engine elastic search
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/update-elasticsearch
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 832051b9807ba5bf8ad3c83a883f4235eed0b3ad
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Jun 21 13:22:05 2021 -0400
add more specific engine elastic search
---
superset/db_engine_specs/elasticsearch.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset/db_engine_specs/elasticsearch.py b/superset/db_engine_specs/elasticsearch.py
index 31c15a4..cf96bf1 100644
--- a/superset/db_engine_specs/elasticsearch.py
+++ b/superset/db_engine_specs/elasticsearch.py
@@ -28,7 +28,7 @@ from superset.utils import core as utils
class ElasticSearchEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
engine = "elasticsearch"
- engine_name = "ElasticSearch"
+ engine_name = "ElasticSearch (SQL API)"
time_groupby_inline = True
time_secondary_columns = True
allows_joins = False
@@ -83,7 +83,7 @@ class OpenDistroEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
}
engine = "odelasticsearch"
- engine_name = "ElasticSearch"
+ engine_name = "ElasticSearch (OpenDistro SQL)"
@classmethod
def convert_dttm(cls, target_type: str, dttm: datetime) -> Optional[str]: