CREATE INDEXindex_identifierON {table_identifier|materialized_window_identifier} [USING {HASH | BTREE}] (column_identifier[,...]);
-
index_identifier -
A unique identifier (name) for the index.
-
table_identifier -
The unique identifier (name) for a table.
-
materialized_window_identifier -
The unique identifier (name) for a materialized window.
-
column_identifier -
A unique identifier (name) for the column(s) in the table or materialized window on which the index is based.
Secondary indexes can be based on one or more table columns or fields in a tuple held in a materialized window. Optionally, whether a BTREE (the default) or HASH is used for ordering the index values can be specified.
