I use vim and https://github.com/vim-scripts/SQLUtilities to do it. It's not hive specific. Any SQL formatting tool will work.
On Tue, Jan 21, 2014 at 11:23 PM, pandees waran <pande...@gmail.com> wrote: > Hi, > > I would like to come up with a code which automatically formats your hql > files. > Because, formatting is one of the tedious task and i would like to come up > with an utility for that. > Please let me know, whether any specific utilities exist already for > formatting hive queries. > > -- > Thanks, > Pandeeswaran