Christian Tzolov created ZEPPELIN-205:
-----------------------------------------
Summary: Enable the SQL syntax highlighting to most SQL-like
Interpreters.
Key: ZEPPELIN-205
URL: https://issues.apache.org/jira/browse/ZEPPELIN-205
Project: Zeppelin
Issue Type: Sub-task
Components: GUI
Affects Versions: 0.6.0
Reporter: Christian Tzolov
Priority: Minor
Currently the SQL syntax highlighting is hardcoded to the Spark %sql
interpreter only:
[paragraph.controller.js#482|https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js#L482].
But if the matching rule is expanded to test for prefixes like this:
{code}
%(<some name>.)?(some char)ql
{code}
then most of the SQL-like interpreters will be converted. This includes Spark
SQL, HIVE, PostgreSQL, GoedeOQL, Tajo.
This would be a small improvement until the ZEPPELIN-139 is addressed. Although
incomplete it widens the SQL syntax support at low very cost and most
importantly doesn't harm the ZEPPELIN-139 realization.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)