@@ -77,7 +77,7 @@ def __init__(self,
77
77
tls_mode : Optional [str ] = None ,
78
78
proxy_path : str = '' ):
79
79
"""
80
- Create an HTTP ClickHouse Connect client
80
+ Create an HTTP Timeplus Connect client
81
81
See timeplus_connect.get_client for parameters
82
82
"""
83
83
proxy_path = proxy_path .lstrip ('/' )
@@ -216,7 +216,7 @@ def _query_with_context(self, context: QueryContext) -> QueryResult:
216
216
response = self ._raw_request (f'{ context .final_query } \n FORMAT JSON' ,
217
217
params , headers , retries = self .query_retries )
218
218
json_result = json .loads (response .data )
219
- # ClickHouse will respond with a JSON object of meta, data, and some other objects
219
+ # Timeplus will respond with a JSON object of meta, data, and some other objects
220
220
# We just grab the column names and column types from the metadata sub object
221
221
names : List [str ] = []
222
222
types : List [TimeplusType ] = []
@@ -417,7 +417,7 @@ def _raw_request(self,
417
417
final_params = {}
418
418
if server_wait :
419
419
final_params ['wait_end_of_query' ] = '1'
420
- # We can't actually read the progress headers, but we enable them so ClickHouse sends something
420
+ # We can't actually read the progress headers, but we enable them so Timeplus sends something
421
421
# to keep the connection alive when waiting for long-running queries and (2) to get summary information
422
422
# if not streaming
423
423
if self ._send_progress :
@@ -456,7 +456,7 @@ def _raw_request(self,
456
456
except HTTPError as ex :
457
457
if isinstance (ex .__context__ , ConnectionResetError ):
458
458
# The server closed the connection, probably because the Keep Alive has expired
459
- # We should be safe to retry, as ClickHouse should not have processed anything on a connection
459
+ # We should be safe to retry, as Timeplus should not have processed anything on a connection
460
460
# that it killed. We also only retry this once, as multiple disconnects are unlikely to be
461
461
# related to the Keep Alive settings
462
462
if attempts == 1 :
0 commit comments