You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2018/05/29 18:28:00 UTC

[jira] [Created] (DRILL-6450) Visualized plans for profiles querying JDBC sources is broken

Kunal Khatua created DRILL-6450:
-----------------------------------

             Summary: Visualized plans for profiles querying JDBC sources is broken
                 Key: DRILL-6450
                 URL: https://issues.apache.org/jira/browse/DRILL-6450
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning &amp; Optimization
    Affects Versions: 1.13.0
            Reporter: Kunal Khatua
            Assignee: Kunal Khatua
             Fix For: 1.14.0


When viewing a profile for a query against a JDBC source, the visualized plan is not rendered. This is because the generated SQL pushed down to the JDBC source has a line break injected just before the {{FROM}} clause.

The workaround is to strip away any injected newlines at least for the SQL defined in the text plan, so that the backend Javascript can render it correctly.



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