Closed pavelvelikhov closed 1 month ago
The query that fails (actually about 50% of TPCH queries are failing): https://github.com/ydb-platform/ydb/blob/main/ydb/library/benchmarks/queries/tpch/nice/q1.sql
As a workaround you may temporarily disable this predicate pushdown by rewriting date('1998-12-01') -> Cast(date('1998-12-01') as Timestamp)
How to reproduce?
How to reproduce?
@pashandor789 added a fix to kqp_query_compiler.cpp:
} else if (value.Maybe<TCoDate>()) {
ssaValue->MutableConstant()->SetTimestamp(FromString<ui16>(nodeValue));
in this PR: https://github.com/ydb-platform/ydb/pull/7972
This seems to solve the problem
The CLI reports the following error:
However the logs contain this error:
AST of the query before the error: