You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiaodong DENG (JIRA)" <ji...@apache.org> on 2018/08/08 07:55:00 UTC
[jira] [Created] (AIRFLOW-2872) Minor bugs in "Ad Hoc Query" view,
and refinement
Xiaodong DENG created AIRFLOW-2872:
--------------------------------------
Summary: Minor bugs in "Ad Hoc Query" view, and refinement
Key: AIRFLOW-2872
URL: https://issues.apache.org/jira/browse/AIRFLOW-2872
Project: Apache Airflow
Issue Type: Improvement
Components: ui
Reporter: Xiaodong DENG
Assignee: Xiaodong DENG
# The ".csv" button in *Ad Hoc Query* view is responding with a plain text file, rather than a CSV file (even though users can manually change the extension).
# Argument 'has_data' passed to the template is not used by the template 'airflow/query.html'.
# Sometimes get errors 'UnboundLocalError: local variable 'df' referenced before assignment'
# 'result = df.to_html()' should only be invoked when user doesn NOT choose '.csv'. Otherwise it's a waste of resource to invoke 'df.to_html()' since the result it returns will not be used if user askes for CSV downloading instead of a html page.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)