You should be able to comment code as follows: --comments --more comments select * from table-name
Though you need to be on hive 0.8 or higher for it to work on the CLI (guessing the same applies over thrift too but not sure), check the JIRA at https://issues.apache.org/jira/browse/HIVE-2259 Viral On Tue, Jul 24, 2012 at 7:24 PM, Techy Teck <comptechge...@gmail.com> wrote: > Can we make a comment in HiveQL query? If yes then how? > >