I am currently loading a hive table to pig relation using below code.
a = LOAD 'hive_db.hive_table' using org.apache.hive.hcatalog.pig.HCatLoader();
This step would get all the records from hive table into pig but for my current scenario I wouldn't need the whole table in pig. Is there way to filter out the unwanted records while I get the data from hive?
No you can't load partial table.However you can filter it after the load statement.You can use filter for specific partitions or filter out records based on column values in the table loaded.
Examples here