You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/04/01 13:47:22 UTC

[airflow] 07/11: Remove 'conf' from search_columns in DagRun View (#15099)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 924c6609eed326c6ff99e636919fc3961a555aef
Author: Xiaodong DENG <xd...@apache.org>
AuthorDate: Tue Mar 30 21:10:18 2021 +0200

    Remove 'conf' from search_columns in DagRun View (#15099)
    
    i.e. to not support filtering by 'conf' column in DagRun View.
    
    This cannot be supported because FAB uses ILIKE under the hood,
    which is not supported by 'bytea' type in Postgres or 'BLOB' in SQLite.
    
    Closes issue #14374
    
    (cherry picked from commit 3585b3c54ce930d2ce2eaeddc238201a0a867018)
---
 airflow/www/views.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/airflow/www/views.py b/airflow/www/views.py
index e768464..f0116b3 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -3307,7 +3307,6 @@ class DagRunModelView(AirflowModelView):
         'start_date',
         'end_date',
         'external_trigger',
-        'conf',
     ]
     edit_columns = ['state', 'dag_id', 'execution_date', 'start_date', 'end_date', 'run_id', 'conf']