Using Phoenix client to load data
You must use Phoenix client to load data into the HBase database and also to write to the Phoenix tables.
Index updates are automatically generated by the Phoenix client and there is no user
intervention or effort required. Whenever a record is written to the Phoenix tables, the
client generates updates for the indexes automatically.
If Phoenix table has
indexes, you can use JDBC driver or CSV bulk load table to update or ingest data.
Note | |
---|---|
It is highly recommended that you use Phoenix client to load data into the HBase database and also to write to the Phoenix tables. If HBase APIs are used to write data to a Phoenix data table, indexes against that Phoenix data table will not be updated.