yuseok89 commented on code in PR #74552:
URL: https://github.com/apache/airflow/pull/74552#discussion_r4244891516
##########
airflow-core/src/airflow/api_fastapi/common/parameters/dag.py:
##########
@@ -51,6 +59,18 @@
from sqlalchemy.sql import ColumnElement, Select
+class _DagDisplayNamePrefixSearchParam(_PrefixSearchParam):
+ """Match Unicode display-name prefixes without code point bounds that can
disagree with collation order."""
+
+ def _prefix_clause(self, term: str):
+ lower = self._prefix_lower_bound(term)
+ if lower and not lower.isascii():
+ # Keep this fallback scoped to Dag lists; the shared matcher is
tracked in
+ # https://github.com/apache/airflow/issues/74551
Review Comment:
The Dag filter on the XCom list searches the same Dag display name, and it
looks like it would still miss `카페매출집계` when searching `카페`, since it keeps the
default prefix matcher. Would it make sense to cover it in this PR too?
--
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]