Lee-W commented on code in PR #76799:
URL: https://github.com/apache/airflow/pull/76799#discussion_r4597349233
##########
providers/common/ai/src/airflow/providers/common/ai/utils/query_results.py:
##########
@@ -280,6 +301,8 @@ def build_schema_result(
)
full: dict[str, Any] = {"columns": selected, "column_count": len(selected)}
+ if table_comment:
+ full["table_comment"] = truncate_comment(table_comment)
Review Comment:
When the columns fit and the comments don't, `get_schema` returns the full
column list without column comments, with `comments_omitted` set and a hint to
narrow with `name_contains`. It falls back to the summary only when that still
doesn't fit.
--
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]