Question 41: You have been given below table definitions
CREATE TABLE HADOOPEXAM (
id uuid,
t_id timeuuid,
name text,
description text,
price int
primary key (t_id));
Now you run the below query
Select * from HADOOPEXAM where name='Amit Jain'
What is the expected result?
- It will successfully return all the rows, where name matches.
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Correct Answer: 3
Explanation: There is one constraint in Cassandra: any field you want to use in the where clause has to be the primary key of the table or there must be a secondary index on it.
You can access to full explanation to question and answer from this page.