[
https://issues.apache.org/jira/browse/DRILL-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16556108#comment-16556108
]
Kunal Khatua commented on DRILL-6630:
-------------------------------------
This is an intended HTMLÂ behaviour. The patch would be to have the results
formatted with a '<pre>' tag.
A better fix would be to modify the CSS for the results table elem to carry the
whitespace property:
{color:#205081}{{<table style="white-space: pre;"> .... </table>}}{color}
Feel free to fix this yourself.
> Extra spaces are ignored while publishing results in Drill Web UI
> -----------------------------------------------------------------
>
> Key: DRILL-6630
> URL: https://issues.apache.org/jira/browse/DRILL-6630
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.14.0
> Reporter: Anton Gozhiy
> Priority: Minor
>
> *Prerequisites:*
> Use Drill Web UI to submit queries
> *Query:*
> {code:sql}
> select ' sds sada' from (values(1))
> {code}
> *Expected Result:*
> {noformat}
> " sds sada"
> {noformat}
> *Actual Result:*
> {noformat}
> "sds sada"
> {noformat}
> *Note:* Inspecting the element using Chrome Developer Tools you can see that
> it contain the real string. So something should be done with HTML formatting.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)