org.apache.spark.sql.hive.execution.SQLQuerySuite.SPARK-26709: OptimizeMetadataOnlyQuery does not handle empty records correctly