eladkal commented on code in PR #66895:
URL: https://github.com/apache/airflow/pull/66895#discussion_r3271355646
##########
providers/databricks/src/airflow/providers/databricks/hooks/databricks_sql.py:
##########
@@ -71,6 +74,35 @@ def _cancel():
return timer, timeout_event
+def _format_query_tag_value(value: str) -> str:
+ """
+ Escape special characters and truncate a single query tag value.
Review Comment:
```suggestion
Escape special characters and truncate a single query tag value.
These limitations are to comply with Databricks requirements as listed in
https://docs.databricks.com/aws/en/sql/user/queries/query-tags#general-limits
```
--
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]