You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ku...@apache.org on 2018/09/18 17:21:37 UTC

[drill] branch master updated: DRILL-6630: Extra spaces are ignored while publishing results in Drill Web UI (#1468)

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

kunal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 4596b74  DRILL-6630: Extra spaces are ignored while publishing results in Drill Web UI (#1468)
4596b74 is described below

commit 4596b74232c972df226c3926824f41bd479669d6
Author: Anton Gozhiy <an...@gmail.com>
AuthorDate: Tue Sep 18 20:21:32 2018 +0300

    DRILL-6630: Extra spaces are ignored while publishing results in Drill Web UI (#1468)
    
    Added a style option to the table to ensure that all explicit spaces are shown in the published results.
---
 exec/java-exec/src/main/resources/rest/query/result.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/java-exec/src/main/resources/rest/query/result.ftl b/exec/java-exec/src/main/resources/rest/query/result.ftl
index 96e68b0..817b350 100644
--- a/exec/java-exec/src/main/resources/rest/query/result.ftl
+++ b/exec/java-exec/src/main/resources/rest/query/result.ftl
@@ -51,7 +51,7 @@
       <p class="lead">No result found.</p>
     </div>
   <#else>
-    <table id="result" class="table table-striped table-bordered table-condensed" style="table-layout: auto; width=100%;">
+    <table id="result" class="table table-striped table-bordered table-condensed" style="table-layout: auto; width=100%; white-space: pre;">
       <thead>
         <tr>
           <#list model.getColumns() as value>