Skip to content

Commit 2ac0565

Browse files
authored
YDB FQ: enable Timestamp pushdown for Generic provider (#14222)
1 parent 6cd0f50 commit 2ac0565

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ydb/library/yql/providers/generic/provider/yql_generic_physical_opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace NYql {
2727
: NPushdown::TSettings(NLog::EComponent::ProviderGeneric)
2828
{
2929
using EFlag = NPushdown::TSettings::EFeatureFlag;
30-
Enable(EFlag::ExpressionAsPredicate | EFlag::ArithmeticalExpressions | EFlag::ImplicitConversionToInt64);
30+
Enable(EFlag::ExpressionAsPredicate | EFlag::ArithmeticalExpressions | EFlag::ImplicitConversionToInt64 | EFlag::DateTimeTypes | EFlag::TimestampCtor);
3131
}
3232
};
3333

ydb/library/yql/providers/generic/provider/yql_generic_predicate_pushdown.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ namespace NYql {
112112
MATCH_TYPE(String, STRING);
113113
MATCH_TYPE(Utf8, UTF8);
114114
MATCH_TYPE(Json, JSON);
115+
MATCH_TYPE(Timestamp, TIMESTAMP);
115116

116117
ctx.Err << "unknown data slot " << static_cast<ui64>(dataSlot) << " for safe cast";
117118
return false;

0 commit comments

Comments
 (0)