changed the queryTempView() method to use the includeMissingKeys option