- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
can we match HBase partitions with Impala Partitions?
- Labels:
-
Apache HBase
-
Apache Hive
-
Apache Impala
Created on ‎01-06-2016 06:01 AM - edited ‎09-16-2022 02:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Impala/ is having better performances on partitioned tables (if they are big enough).
However, I use Impala on an external HBase table. My HBase table is partitioned.
Therefore, I wonder if I can match the HBase partitions with the Impala/Hive ones?
If yes, How can I do this?
Thank you!
Created ‎01-06-2016 11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
HBase tables are range partitioned by the key and Impala will do the equivalent of "partition pruning" for HBase resions if suitable predicates are available in the query. The "PARTITION" concept of HDFS tables is not really applicable to HBase tables. The docs explain this in more detail, including how to interpred Impala's explain plan to see whether region pruning is taking place or not:
Does that answer your question?
Created ‎01-06-2016 11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
HBase tables are range partitioned by the key and Impala will do the equivalent of "partition pruning" for HBase resions if suitable predicates are available in the query. The "PARTITION" concept of HDFS tables is not really applicable to HBase tables. The docs explain this in more detail, including how to interpred Impala's explain plan to see whether region pruning is taking place or not:
Does that answer your question?
Created ‎01-17-2017 05:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The input data set consists of three tables as shown with the following table creation statements in Impala SQL dialect
Created ‎01-17-2017 05:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Use a spark-hbase-connector.
