Apache Hive
Features
| Feature | Info |
|---|---|
Type | Relational |
Driver | Included |
Install |
|
Hop Dependencies | None |
Documentation | |
JDBC Url | jdbc:hive2://<host:port>,<host2:port2>/databaseName |
Partitions
Apache Hive need to have a PARTITION clause generated before the fields definition. To do this you can add table and clause definitions in the specific Hive field called 'Table-partition clauses'. This is the format to specify:
TABLE1(CLAUSE1);SCHEMA2.TABLE2(CLAUSE2)
For example, if you want to partition a customers table by statecode dynamically, you can add the following: customers(statecode) and for INSERT INTO statement Hop will add PARTITION(statecode).
HINT: for dynamic partitioning you can add the following statements in the advanced tab of the RDBMS metadata as statements to run right after connecting:
SET hive.exec.dynamic.partition = true;
SET hive.exec.dynamic.partition.mode = nonstrict;