We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0d603c commit dadd3e6Copy full SHA for dadd3e6
1 file changed
backend/apps/db/es_engine.py
@@ -91,7 +91,7 @@ def get_es_fields(conf: DatasourceConf, table_name: str):
91
def get_es_data_by_http(conf: DatasourceConf, sql: str):
92
url = conf.host
93
while url.endswith('/'):
94
- url = sql[:-1]
+ url = url[:-1]
95
96
host = f'{url}/_sql?format=json'
97
username = f"{conf.username}"
0 commit comments