coding style fix plus remove primary key from partial key list

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>