GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/11587

    [SPARK-13755] Escape quotes in Graphviz / DOT node labels

    When generating Graphviz DOT files in the SQL query visualization we need 
to escape double-quotes inside node labels.
    
    See http://www.graphviz.org/doc/info/lang.html:
    
    > In quoted strings in DOT, the only escaped character is double-quote ("). 
That is, in quoted strings, the dyad \" is converted to "; all other characters 
are left unchanged. In particular, \\ remains \\. Layout engines may apply 
additional escape sequences.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark graphviz-escaping

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11587.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #11587
    
----
commit 3ac22fedbc725d5eaefbd4c13e3fda3536a0b38b
Author: Josh Rosen <[email protected]>
Date:   2016-03-08T21:23:59Z

    Escape quotes in graphviz labels.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to