Spark Connector, getting specific data without full table scans