pubudu91 commented on code in PR #34811:
URL: https://github.com/apache/airflow/pull/34811#discussion_r1349527685
##########
airflow/providers/postgres/hooks/postgres.py:
##########
@@ -362,3 +362,12 @@ def get_openlineage_database_dialect(self, connection) ->
str:
def get_openlineage_default_schema(self) -> str | None:
"""Returns current schema. This is usually changed with
``SEARCH_PATH`` parameter."""
return self.get_first("SELECT CURRENT_SCHEMA;")[0]
+
+ @staticmethod
+ def get_ui_field_behaviour() -> dict[str, Any]:
+ return {
+ "hidden_fields": [],
+ "relabeling": {
+ "schema": "Database",
+ }
Review Comment:
Sorry, my bad. Missed this. Should've run the pre-commit checks before
sending in.
--
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]