• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

language-hql

HQL language support in Atom - Apache Hive
adidonato
4.2.0 4,838
8
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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...

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by