How filter condition working in spark dataframe?

senthilkumar
New Contributor

I have a table in hbase with 1 billions records.I want to filter the records based on certain condition (by date).

For example:

Dataframe.filter(col(date) === todayDate)

Filter will be applied after all records from the table will be loaded into memory or I will get filtered records?