pub fn execute_query( catalog: &Catalog, indexes: &IndexState, latest: &HashMap<(u32, Vec<u8>), BTreeMap<String, RowValue>>, query: &Query, ) -> Result<Vec<BTreeMap<String, RowValue>>, DbError>