Skip to content

Commit c20b738

Browse files
author
xiao.dong
committed
debug startsWith case in windows
1 parent 5ec5315 commit c20b738

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/iceberg/expression/inclusive_metrics_evaluator.cc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,13 @@ class InclusiveMetricsVisitor : public BoundVisitor<bool> {
291291

292292
Result<bool> StartsWith(const std::shared_ptr<Bound>& expr,
293293
const Literal& lit) override {
294-
auto transform = internal::checked_pointer_cast<BoundTransform>(expr);
295-
if (transform != nullptr &&
296-
transform->transform()->transform_type() != TransformType::kIdentity) {
297-
// truncate must be rewritten in binding. the result is either always or never
298-
// compatible
299-
return kRowsMightMatch;
300-
}
294+
// auto transform = internal::checked_pointer_cast<BoundTransform>(expr);
295+
// if (transform != nullptr &&
296+
// transform->transform()->transform_type() != TransformType::kIdentity) {
297+
// // truncate must be rewritten in binding. the result is either always or never
298+
// // compatible
299+
// return kRowsMightMatch;
300+
// }
301301

302302
int32_t id = expr->reference()->field().field_id();
303303
if (ContainsNullsOnly(id)) {

0 commit comments

Comments
 (0)