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

ASF GitHub Bot commented on DRILL-6423:
---------------------------------------

arina-ielchiieva commented on a change in pull request #1266: DRILL-6423: 
Export query result as a CSV file
URL: https://github.com/apache/drill/pull/1266#discussion_r189245944
 
 

 ##########
 File path: exec/java-exec/src/main/resources/rest/query/result.ftl
 ##########
 @@ -30,6 +30,22 @@
   <a href="/queries">back</a><br/>
   <div class="page-header">
   </div>
+  <div>
+  <table><tr>
+    <td align='left'>
+      <button type="button"  title="Open in new window" 
onclick="popOutProfile('${model.getQueryId()}');" class="btn btn-default 
btn-sm">
+      <b>Query Profile:</b> ${model.getQueryId()} <span class="glyphicon 
glyphicon-new-window"/></button>
+     </td><td align="right" width="100%">
+       <div class="input-group">
+         <span class="input-group-addon" style="font-size:95%">Delimiter 
</span>
+         <input id="delimitBy" type="text" class="form-control input-sm" 
name="delimitBy" title="Specify delimiter" placeholder="Required" maxlength="2" 
size="2" value=",">
+       </div></td><td>
+       <button type="button"  title="Export visible table as CSV" 
onclick="exportTableAsCsv('${model.getQueryId()}');" class="btn btn-default 
btn-sm">
 
 Review comment:
   Maybe we can add tooltip that explains that we export only visible table? If 
user needs to export all results, then should chose all rows to display?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Export query result as a CSV file
> ---------------------------------
>
>                 Key: DRILL-6423
>                 URL: https://issues.apache.org/jira/browse/DRILL-6423
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Web Server
>            Reporter: Kunal Khatua
>            Assignee: Kunal Khatua
>            Priority: Major
>             Fix For: 1.14.0
>
>
> This feature request is based on a question posted in the user mailing list:
> [is there any way to download the data through Drill Web 
> UI?|https://lists.apache.org/thread.html/bd6b2453c83d818b618ec6334891309f42556d4a7de34d84024a43cd@<user.drill.apache.org>]
> Since the results of the WebUI allows for sorting and filtering as well, it 
> can be very useful if there is a way for a user to download the results of an 
> executed query for further processing in other tools (like Excel)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to