Database Reference
In-Depth Information
Comments in Impala SQL statements
You can write multiple queries into a file and then let Impala run your queries directly
by passing the query file name. When lots of queries are written in a file, you might
require adding comments to specify what each query or a group of queries are, and
adding comments to the query file will help you achieve your objective. Impala sup-
ports the following two kinds of comments with SQL statements:
-- Sequence (two dashes): All the text after -- Sequence is considered as
a comment and ignored for processing. This comment is used mostly in com-
menting a complete line in multiline SQL statements.
/* this is a comment */ :The text inside /* and */ will be considered
as a comment and will not be processed. This comment is used mostly within
the line but it can be stretched into multiple lines as well.
Search WWH ::




Custom Search