Skip to content

Commit 407abc5

Browse files
committed
minor fix
1 parent 925fe12 commit 407abc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iceberg/util/projection_util_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class ProjectionUtil {
132132
}
133133
}
134134

135-
// Apply to int32, int64, decimal
135+
// Apply to int32, int64, decimal, and temporal types
136136
static Result<std::unique_ptr<UnboundPredicate>> TransformNumeric(
137137
std::string_view name, const std::shared_ptr<BoundLiteralPredicate>& pred,
138138
const std::shared_ptr<TransformFunction>& func) {
@@ -263,7 +263,7 @@ class ProjectionUtil {
263263
}
264264

265265
if (op == Expression::Operation::kNotStartsWith) {
266-
return TruncateByteArrayStrict(name, pred, func);
266+
return MakePredicate(Expression::Operation::kNotStartsWith, name, func, literal);
267267
}
268268

269269
return nullptr;

0 commit comments

Comments
 (0)