airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Carlson (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-1341) Improved Syntax Highlighting
Date Fri, 23 Jun 2017 01:26:00 GMT
Chris Carlson created AIRFLOW-1341:

             Summary: Improved Syntax Highlighting 
                 Key: AIRFLOW-1341
             Project: Apache Airflow
          Issue Type: Improvement
          Components: ui
            Reporter: Chris Carlson
            Priority: Minor
         Attachments: airflow_syntax_highlighting.png, sublime2_syntax_highlighting.png

One of my most common use cases for Airflow is to have it run some SQL against the DB and
generate a mart table. I prefer to write my queries directly in the DAG (rather than read
them from file) as it allows me to easily review the logic using the 'code' UI at the `admin/airflow/code`
The problem is that Airflow's syntax highlighting treats SQL as a string (see attached screenshots
for comparison). 
Would be great if Airflow had more advanced syntax highlighting, would be even better if different
themes could be selected.

This message was sent by Atlassian JIRA

View raw message