Adding Hive syntax highlighting.

Hive is a query language extremely similar to SQL. It could be fairly straightforward to hack the SQL syntax highlighting to work for Hive. My questions: is there a way to get the source for SQL syntax highlighting anywhere as I might take a stab at adding Hive plug-in support?
0
4 comments
The SQL plugin for PyCharm is not open-source. The easiest way to provide syntax highlighting for Hive is to use the new TextMate bundles support in PyCharm 2.7, and either to find an existing bundle for Hive or to create your own.
0
Avatar
Permanently deleted user
Got it. Thanks for that. Might give it a go starting from https://github.com/textmate/sql.tmbundle.
0
Avatar
Permanently deleted user

There are some issues with SQL used for HQL files (i.e. comments matching in SQL should not be applied in the case of command line that can be executed in hive)

In order to address that I've forked the repo from above and pushed it to repo here:

https://github.com/bojanbabic/hql.tmbundle

0
Avatar
Permanently deleted user

@gbabun  does this tool also checks syntaxes ? Seems like not.

0

Please sign in to leave a comment.