[ 
https://issues.apache.org/jira/browse/AIRFLOW-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004454#comment-17004454
 ] 

Kamil Bregula commented on AIRFLOW-5946:
----------------------------------------

My client also expects this feature to be introduced. I think it's best to 
store this code in the SerializedDag table at the moment.  When introducing 
full DAG versioning, we can think about introducing source code versioning as 
well.

> Store & Read code from DB for Code View
> ---------------------------------------
>
>                 Key: AIRFLOW-5946
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5946
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>    Affects Versions: 2.0.0, 1.10.7
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>
> To make Webserver not need DAG Files we need to find a way to get Code to 
> display in *Code View*.
> - Store in lazy-loaded column in SerializedDag table
> - Save in a new table with DAG_id and store versions as well. Add a limit of 
> last 10 versions. This is just needed by Code View so not a problem if we 
> store in New table
> OR - Just keep as reading from file?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to