Skip to content

Commit ea6af5f

Browse files
authored
Change conditions for enabling block input (#11600)
1 parent 9ab9297 commit ea6af5f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ydb/library/yql/providers/yt/provider/yql_yt_block_input_filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class YtBlockInputFilterTransformer : public TOptimizeTransformerBase {
3939

4040
TMaybeNode<TExprBase> HandleMap(TExprBase node, TExprContext& ctx) const {
4141
auto map = node.Cast<TYtMap>();
42-
if (!State_->Configuration->JobBlockInput.Get().GetOrElse(Types->UseBlocks || Types->BlockEngineMode != EBlockEngineMode::Disable)) {
42+
if (!State_->Configuration->JobBlockInput.Get().GetOrElse(Types->UseBlocks)) {
4343
return map;
4444
}
4545

ydb/library/yql/tests/sql/yt_native_file/part5/canondata/result.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -729,9 +729,9 @@
729729
],
730730
"test.test[blocks-type_and_callable_stats--Debug]": [
731731
{
732-
"checksum": "8b19fc3bd751064da3be585eec86d072",
733-
"size": 3162,
734-
"uri": "https://{canondata_backend}/1600758/2dc19465f48c728834a4a3ba696598f2f30efa2e/resource.tar.gz#test.test_blocks-type_and_callable_stats--Debug_/opt.yql"
732+
"checksum": "abf887f971c093b3c766c0d61de9bfa5",
733+
"size": 3140,
734+
"uri": "https://{canondata_backend}/1942278/7c66ffff1df826f3e0283b5718f3b64fef634b24/resource.tar.gz#test.test_blocks-type_and_callable_stats--Debug_/opt.yql"
735735
}
736736
],
737737
"test.test[blocks-type_and_callable_stats--Peephole]": [

0 commit comments

Comments
 (0)