[HIve - LanguageManual] Union
2015-01-26 11:31
555 查看
Union Syntax
If some additional processing has to be done on the result of the UNION, the entire statement expression can be embedded in a FROM clause like below:
Version information
Icon
In Hive 0.12.0 and earlier releases, unions can only be used within a subquery such as "SELECT * FROM (select_statement UNION ALLselect_statement UNION ALL ...) unionResult".
As of Hive 0.13.0, unions can also be used in a top-level query: "select_statement UNION ALL select_statement UNION ALL ...". (See HIVE-6189.)
相关文章推荐
- [HIve - LanguageManual] Sort/Distribute/Cluster/Order By
- [Hive - LanguageManual] Hive Concurrency Model (待)
- [Hive - LanguageManual] Statistics in Hive
- [HIve - LanguageManual] Transform [没懂]
- [Hive - LanguageManual ] ]SQL Standard Based Hive Authorization
- [Hive - LanguageManual] Archiving for File Count Reduction
- [Hive - LanguageManual] DML: Load, Insert, Update, Delete
- [HIve - LanguageManual] Hive Operators and User-Defined Functions (UDFs)
- [Hive - LanguageManual] Import/Export
- [HIve - LanguageManual] XPathUDF
- [HIve - LanguageManual] Joins
- [HIve - LanguageManual] Join Optimization (不懂)
- [Hive - LanguageManual] Select base use
- [Hive - LanguageManual] GroupBy
- [HIve - LanguageManual] LateralView
- [Hive - LanguageManual] Create/Drop/Alter Database Create/Drop/Truncate Table
- [HIve - LanguageManual] Subqueries
- [Hive - LanguageManual] Alter Table/Partition/Column
- [Hive - LanguageManual] Sampling
- [Hive - LanguageManual] Create/Drop/Alter -View、 Index 、 Function