[SQL] SPARK-1367 Fix NPE when joining parquet tables by serializing operator output.