jayamanikharyono commented on code in PR #72768:
URL: https://github.com/apache/airflow/pull/72768#discussion_r4396605588


##########
providers/clickhousedb/src/airflow/providers/clickhousedb/hooks/clickhouse.py:
##########
@@ -236,6 +243,9 @@ def _get_client_kwargs(self) -> dict[str, Any]:
             k: v for k, v in merged_client_kwargs.items() if k not in 
_HOOK_MANAGED_KWARGS
         }
 
+        # Shared/reused client -> no auto-generated session ID unless the 
caller opts in.
+        kwargs.setdefault("autogenerate_session_id", False)

Review Comment:
   hi @potiuk, wdyt about this proposed approach, should we proceed with 
`session per get_conn()` approach or should we set sessions off by default and 
declare this changes on docs?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to