Hi,
I am new to C*, i am unable to create index on the fields in UDT (User Defined Type). While googling i came across it is not possible to create index on UDT fields individually and there were suggestions to create Materialized Views for these UDT individually.
Table Schema
Employee
name text,
age int
Project project
UDT Schema
Project
code text,
name text,
startDate timestamp,
endDate timestamp
I want to create index on Project.code to retrieve employees based on Project code.
I tried creating Materialized Views and had no success. Could you please help me in achieving it.
create materialized view emp_view as select name,age,project.code,
project.name from employee primary key(name,project.code);
Thanks and Regards
A.SathishKumar