mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
The Hive HBase spec specifies that the key column mapping can either be defined explicitly (using the :key syntax) or left out completely in which case a mapping to the first table column is implied. This change updates Impala to support implicit key mappings and also adds some checks in our ALTER TABLE DDL to unsure we cannot get into this state by dropping a column from an Hbase table (a similar restriction that Hive puts in place) Change-Id: I920d642261659ee3e881da2553ffe83300923af8 Reviewed-on: http://gerrit.ent.cloudera.com:8080/554 Reviewed-by: Lenni Kuff <lskuff@cloudera.com> Tested-by: Lenni Kuff <lskuff@cloudera.com>