Skip to content

Commit

Permalink
Merge pull request #374 from nuclon/fix-clickhouse
Browse files Browse the repository at this point in the history
Fix clickhouse_getresult method
  • Loading branch information
ObservedObserver committed Jun 15, 2023
2 parents 4a59d59 + 24f7e82 commit b3dacf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/connector/bp/basefunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def clickhouse_getdetail(uri, database, table, schema, rows_num,**kwargs):
return [meta, res_list[0], res_list[1]]

@staticmethod
def clickhouse_getresult(sql, uri=None, engine=None):
def clickhouse_getresult(sql, uri=None, engine=None,**kwargs):
if engine is None:
engine = create_engine(uri, echo=True)
res = engine.execute(sql)
Expand Down

1 comment on commit b3dacf0

@vercel
Copy link

@vercel vercel bot commented on b3dacf0 Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.