54 std::shared_ptr<Expression> expr);
66 bool case_sensitive =
true);
79 const Schema& schema,
bool case_sensitive);
81 std::shared_ptr<Expression> expr_;
A partition spec for a Table.
Definition partition_spec.h:47
Finds the residuals for an Expression using the partitions in the given PartitionSpec.
Definition residual_evaluator.h:47
static Result< std::unique_ptr< ResidualEvaluator > > Unpartitioned(std::shared_ptr< Expression > expr)
Return a residual evaluator for an unpartitioned PartitionSpec.
static Result< std::unique_ptr< ResidualEvaluator > > Make(std::shared_ptr< Expression > expr, const PartitionSpec &spec, const Schema &schema, bool case_sensitive=true)
Return a residual evaluator for a PartitionSpec and Expression.
virtual Result< std::shared_ptr< Expression > > ResidualFor(const StructLike &partition_data) const
Returns a residual expression for the given partition values.
A schema for a Table.
Definition schema.h:51
An immutable struct-like wrapper.
Definition struct_like.h:62
Define symbol visibility macros for core Iceberg APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:33
std::expected< T, E > Result
Result alias.
Definition result.h:88
Define Result, Status, and error helpers.