1
0

[HUDI-4173] Fix wrong results if the user read no base files hudi table by glob paths (#5723)

This commit is contained in:
RexAn
2022-06-21 01:32:34 +08:00
committed by GitHub
parent 7601e9e4c7
commit 17ac5a4573
7 changed files with 118 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ import org.apache.spark.sql.avro.{HoodieAvroDeserializer, HoodieAvroSchemaConver
import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
import org.apache.spark.sql.catalyst.catalog.CatalogTable
import org.apache.spark.sql.catalyst.encoders.ExpressionEncoder
import org.apache.spark.sql.catalyst.expressions.Expression
import org.apache.spark.sql.catalyst.expressions.{Expression, InterpretedPredicate}
import org.apache.spark.sql.catalyst.parser.ParserInterface
import org.apache.spark.sql.catalyst.plans.JoinType
import org.apache.spark.sql.catalyst.plans.logical.{Join, LogicalPlan, SubqueryAlias}
@@ -174,4 +174,9 @@ trait SparkAdapter extends Serializable {
* Create instance of [[ParquetFileFormat]]
*/
def createHoodieParquetFileFormat(appendPartitionValues: Boolean): Option[ParquetFileFormat]
/**
* Create instance of [[InterpretedPredicate]]
*/
def createInterpretedPredicate(e: Expression): InterpretedPredicate
}