Starting from the 1904 release (MEP 6.0.2, MEP 6.1.1, and MEP 6.2.0), search by ID is supported with Hive HPE Ezmeral Data Fabric Database JSON tables.
hive.mapr.db.json.fetch.by.id.task.conversion
and the value has a boolean type and by default is set to true, which means it is enabled.hive.mapr.db.json.fetch.by.id.task.conversion to
false.
SELECT *
FROM <mapr_db_json_table>
WHERE _id = <constant_string_value>;
or:SELECT *
FROM <mapr_db_json_table>
WHERE _id = <constant_string_value> AND (<condition_1>) AND (<condition_2>) ... AND (<condition_N>);
or:SELECT *
FROM <mapr_db_json_table>
WHERE <Constant false operator>where
_id is a key column of HPE Ezmeral Data Fabric Database JSON table. It provides usage of the
findById() method of the HPE Ezmeral Data Fabric Database JSON table. The following functionality is
not supported: SELECT * FROM t WHERE (CASE WHEN _id = 'value_a' THEN 2 ELSE 4 END) > 3;