Please check below outputs for the information
As i can see keyspace_student has table student which has data but still related mview shows null results :
cassandra@cqlsh:keyspace_student> select * from student where roll_number='1234567890000'; roll_number | is_enable | biometric_id ---------------+-----------+--------------------- 1234567890000 | True | 1095975000004044014 (1 rows) cassandra@cqlsh:keyspace_student> SELECT * FROM view_student_by_biometric_id WHERE biometric_id = '1095975000004044014'; biometric_id | roll_number | is_enable -----------------+-------------+-----------
When i tried dropping mview and recreating again it started working properly , how can i find the cause behind this ?