Hi,
Syntax for creating bucketed table is as follows:
create table page_views(user_id INT, session_id INT, url STRING) PARTITIONED BY (day INT) CLUSTERED BY (user_id) INTO 10;
Here the data would be classified depending upon hash number of user_id into 10 buckets. So when someone queries for certain user_id, the processor will first calculate the hash number of the user_id in query and will look for only that bucket.