Can you add to the comment what filterOpt does? Also do it for makeRDDForPartitionedTable.