Adaverse commented on code in PR #32089:
URL: https://github.com/apache/airflow/pull/32089#discussion_r1239898290
##########
airflow/providers/vertica/hooks/vertica.py:
##########
@@ -45,6 +45,51 @@ def get_conn(self) -> connect:
conn_config["port"] = 5433
else:
conn_config["port"] = int(conn.port)
+
+ if conn.extra_dejson.get("connection_load_balance", False):
Review Comment:
It's not that big of a performance concern since it would happen only while
adding the connection (which is one time process). But the code looks very
wordy.
--
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]