A VIEW
in SQL is the result set of a stored query defined with a SELECT
statement or the SELECT
portion of an INSERT
statement. A VIEW
can represent a subset of data contained in a table by limiting the data set depending on the query statement. In Impala, you can use VIEW
to your advantage in the following ways:
VIEW
in place of lengthy subqueries and repeating the same subquery in many queriesVIEW
in place of complicated queries across multiple applicationsJOIN
results with a more informative nameHere are the common VIEW
-specific statements in Impala:
CREATE VIEW
ALTER VIEW
DROP VIEW
3.147.77.4