mirror of
https://github.com/apache/impala.git
synced 2025-12-23 21:08:39 -05:00
82a1aef91b86393973d98b8680c08d6064a70c99
This changes implements support for PARTITIONED BY clauses in CTAS statements. The syntax and semantics follow the PARTITION feature of insert from select statements: inside the PARTITIONED BY (...) column list the user must specify names of the columns to partition by. These column names must appear in that particular order at the end of the select statement. A remapping between columns of the source and destination tables is not possible, because the destination table does not yet exist. Specifying static values for the partition columns is also not possible, as their type needs to be deduced from columns in the select statement. Example: CREATE TABLE t (a DOUBLE, b INT); INSERT INTO t VALUES (1.5, 3); CREATE TABLE p PARTITIONED BY (b) AS SELECT a, b FROM t; This change also contains a fix for setting the PYTHONPATH environment variable correctly, so you can run single python tests from the command line. Change-Id: I5f61854d36d1ee30cfcd1c6b2b3eb971f6cf4b2f Reviewed-on: http://gerrit.cloudera.org:8080/1740 Reviewed-by: Lars Volker <lv@cloudera.com> Tested-by: Internal Jenkins
Welcome to Impala
Lightning-fast, distributed SQL queries for petabytes of data stored in Apache Hadoop clusters.
Impala is a modern, massively-distributed, massively-parallel, C++ query engine that lets you analyze, transform and combine data from a variety of data sources:
- Best of breed performance and scalability.
- Support for data stored in HDFS, Apache HBase and Amazon S3.
- Wide analytic SQL support, including window functions and subqueries.
- On-the-fly code generation using LLVM to generate CPU-efficient code tailored specifically to each individual query.
- Support for the most commonly-used Hadoop file formats, including the Apache Parquet (incubating) project.
- Apache-licensed, 100% open source.
More about Impala
To learn more about Impala as a business user, or to try Impala live or in a VM, please visit the Impala homepage.
If you are interested in contributing to Impala as a developer, or learning more about Impala's internals and architecture, visit the Impala wiki.
Languages
C++
49.6%
Java
29.9%
Python
14.6%
JavaScript
1.4%
C
1.2%
Other
3.2%