fuji-151a / language-hql

Brings HQL (Apache Hive query) language support to Atom text editor. Works for SQL like languages and Pig Latin

Home Page:https://atom.io/packages/language-hql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HQL (Apache Hive) query language support in Atom Build Status

(((o(*゚▽゚*)o))) New UDfs and Keywords added !

Works for Apache Hive and Apache Pig syntax and other SQL-like languages. See hive language manual UDF and hive language manual DDL for more information on the language.

  • Adds syntax highlighting to HQL files in Atom.
  • Converts HQL grammar to uppercase
  • Added AutoComplete Functionality, requires: autocomplete-snippets and autocomplete-plus
  • In order to use the snippets press alt+shift+s which will prompt autocomplete snippets to load the .hql snippets
  • To enable snippets to be suggested and used in for tab completion, copy ~/.atom/packages/language-hql/snippets/language-hql.cson to ~/.atom/snippets.cson

Installation

  • From the command line: apm install language-hql
  • From Atom -> Preferences -> Packages -> Search for language-hql

Adapted from language-sql Atom package, currently contains the following HQL specific syntax.

  • String Functions
  • Built-in Aggregate Functions (UDAF)
  • Conditional Functions
  • Date Functions
  • Type Conversion Functions
  • Fixed uppercasing with DOM Shadow support
  • Built-in Table-Generating Functions (UDTF)
  • Misc. Functions (e.g. hash)
  • Brickhouse UDFs
  • Some Facebook UDFs
  • Some Custom UDFs
  • Collection Functions
  • Mathematical Functions
  • Relational Operators
  • Arithmetic Operators
  • Logical Operators
  • Complex Type Constructors
  • Operators on Complex Types

Contributing

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc...

About

Brings HQL (Apache Hive query) language support to Atom text editor. Works for SQL like languages and Pig Latin

https://atom.io/packages/language-hql

License:Other


Languages

Language:CSS 69.0%Language:CoffeeScript 31.0%