Cleaning up build warnings.

Cleans up several build warnings; some of these are related to operators not present in Spark, others are due to deprecated field accesses to AVRO types.