2025-11-11 14:15:35,796 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:15:35,796 - INFO - ya.test - pytest_runtest_setup: test_early_finish_case4[v1]
2025-11-11 14:15:35,796 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:15:35,797 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 14:15:35,800 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12004
2025-11-11 14:15:35,802 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/10248
2025-11-11 14:15:35,850 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd
2025-11-11 14:15:35,851 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29453
2025-11-11 14:15:35,853 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/62609
2025-11-11 14:15:35,853 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 14:15:35,859 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 14:15:35,861 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 14:15:35,869 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-11 14:15:35,870 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 2165cb0f-4ef0-4ae2-a830-6b38dcada08f, localhost:29499): creating call state
2025-11-11 14:15:35,871 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 2165cb0f-4ef0-4ae2-a830-6b38dcada08f, localhost:29499): request = { database: "local" }
2025-11-11 14:15:35,874 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 2165cb0f-4ef0-4ae2-a830-6b38dcada08f, localhost:29499): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-vb3yoermsa.auto.internal" port: 29499 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
2025-11-11 14:15:35,875 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-vb3yoermsa.auto.internal:29499, location 1, ssl: False>]>
2025-11-11 14:15:35,875 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 14:15:35,882 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:29499
2025-11-11 14:15:35,884 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 14:15:35,884 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f806a0169a0 state=pending>
2025-11-11 14:15:35,884 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-11-11 14:15:35,885 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:35,885 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:35,886 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 286b8ab3-3062-484c-b49e-20c5bdcb78fa, ghrun-vb3yoermsa.auto.internal:29499): creating call state
2025-11-11 14:15:35,886 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 286b8ab3-3062-484c-b49e-20c5bdcb78fa, ghrun-vb3yoermsa.auto.internal:29499): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 14:15:35,888 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 286b8ab3-3062-484c-b49e-20c5bdcb78fa, ghrun-vb3yoermsa.auto.internal:29499): on response callback started
2025-11-11 14:15:35,889 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 286b8ab3-3062-484c-b49e-20c5bdcb78fa, ghrun-vb3yoermsa.auto.internal:29499): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=M2YyMjVkMTMtYTllMDhhNDQtNDE2NmY0Y2MtZDlkOWUyYmQ=" } } } }
2025-11-11 14:15:35,890 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:35,890 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:35,891 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, ccd7b9a4-41b5-4d97-810b-68a9c0d8f2bb, ghrun-vb3yoermsa.auto.internal:29499): creating call state
2025-11-11 14:15:35,891 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 286b8ab3-3062-484c-b49e-20c5bdcb78fa, ghrun-vb3yoermsa.auto.internal:29499): on response callback success
2025-11-11 14:15:35,893 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, ccd7b9a4-41b5-4d97-810b-68a9c0d8f2bb, ghrun-vb3yoermsa.auto.internal:29499): request = { session_id: "ydb://session/3?node_id=1&id=M2YyMjVkMTMtYTllMDhhNDQtNDE2NmY0Y2MtZDlkOWUyYmQ=" path: "local/DbPoolStorage_c1691b1b-87c1-45dc-89bc-5265c24cddb9/tenants" columns { name: "tenant" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "common" type { optional_type { item { type_id: BOOL } } } } columns { name: "state" type { optional_type { item { type_id: UINT32 } } } } columns { name: "state_time" type { optional_type { item { type_id: TIMESTAMP } } } } primary_key: "tenant" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:15:35,988 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, ccd7b9a4-41b5-4d97-810b-68a9c0d8f2bb, ghrun-vb3yoermsa.auto.internal:29499): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:15:35,989 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:35,990 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, c93e202f-ed93-4446-9829-e93f15e92635, ghrun-vb3yoermsa.auto.internal:29499): creating call state
2025-11-11 14:15:35,991 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, c93e202f-ed93-4446-9829-e93f15e92635, ghrun-vb3yoermsa.auto.internal:29499): request = { session_id: "ydb://session/3?node_id=1&id=M2YyMjVkMTMtYTllMDhhNDQtNDE2NmY0Y2MtZDlkOWUyYmQ=" path: "local/DbPoolStorage_c1691b1b-87c1-45dc-89bc-5265c24cddb9/mappings" columns { name: "subject_type" type { optional_type { item { type_id: STRING } } } } columns { name: "subject_id" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "node" type { optional_type { item { type_id: STRING } } } } primary_key: "subject_type" primary_key: "subject_id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:15:36,010 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, c93e202f-ed93-4446-9829-e93f15e92635, ghrun-vb3yoermsa.auto.internal:29499): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:15:36,011 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:36,012 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, a9a22ce8-8c33-42df-9881-d368e27ed982, ghrun-vb3yoermsa.auto.internal:29499): creating call state
2025-11-11 14:15:36,013 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, a9a22ce8-8c33-42df-9881-d368e27ed982, ghrun-vb3yoermsa.auto.internal:29499): request = { session_id: "ydb://session/3?node_id=1&id=M2YyMjVkMTMtYTllMDhhNDQtNDE2NmY0Y2MtZDlkOWUyYmQ=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_c1691b1b-87c1-45dc-89bc-5265c24cddb9\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/default\", \"/default\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:15:36,203 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, a9a22ce8-8c33-42df-9881-d368e27ed982, ghrun-vb3yoermsa.auto.internal:29499): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-11 14:15:36,204 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f806a017ad0>
2025-11-11 14:15:36,260 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd
2025-11-11 14:15:36,262 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18988
2025-11-11 14:15:36,263 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64010
2025-11-11 14:15:36,263 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/28173
2025-11-11 14:15:36,264 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/kikimr_configs"
2025-11-11 14:15:36,264 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/node_1/logfile_7rw2yhoh.log --grpc-port=62609 --mon-port=18988 --ic-port=29453
2025-11-11 14:15:36,265 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/kikimr_configs"
2025-11-11 14:15:36,265 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/node_1/logfile_7rw2yhoh.log --grpc-port=62609 --mon-port=18988 --ic-port=29453
2025-11-11 14:15:36,266 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/node_1/logfile_7rw2yhoh.log', '--grpc-port=62609', '--mon-port=18988', '--ic-port=29453')' in '/home/runner/.ya/build/build_root/knsf/0017a5/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case4.v1/default/node_1' (no wait)
2025-11-11 14:15:36,269 - DEBUG - ya.test - execute: Command pid: 920132
2025-11-11 14:15:36,270 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:62609/1
2025-11-11 14:15:36,271 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out
2025-11-11 14:15:36,272 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err
2025-11-11 14:15:36,272 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/0017a5/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:15:36,273 - DEBUG - ya.test - execute: Command pid: 920133
2025-11-11 14:15:37,563 - DEBUG - ya.test - _save_outputs: Command (pid 920133) rc: 0
2025-11-11 14:15:37,563 - DEBUG - ya.test - _save_outputs: Command (pid 920133) elapsed time (sec): 1.2894330024719238
2025-11-11 14:15:37,563 - DEBUG - ya.test - _save_outputs: Command (pid 920133) idrss: 0
2025-11-11 14:15:37,564 - DEBUG - ya.test - _save_outputs: Command (pid 920133) inblock: 0
2025-11-11 14:15:37,564 - DEBUG - ya.test - _save_outputs: Command (pid 920133) isrss: 0
2025-11-11 14:15:37,564 - DEBUG - ya.test - _save_outputs: Command (pid 920133) ixrss: 0
2025-11-11 14:15:37,564 - DEBUG - ya.test - _save_outputs: Command (pid 920133) majflt: 0
2025-11-11 14:15:37,564 - DEBUG - ya.test - _save_outputs: Command (pid 920133) maxrss: 541160
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) minflt: 17374
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) msgrcv: 0
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) msgsnd: 0
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) nivcsw: 93
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) nsignals: 0
2025-11-11 14:15:37,565 - DEBUG - ya.test - _save_outputs: Command (pid 920133) nswap: 0
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) nvcsw: 53
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) oublock: 8
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) stime: 1.103601
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) utime: 0.108678
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) wtime: 1.29
2025-11-11 14:15:37,566 - DEBUG - ya.test - _save_outputs: Command (pid 920133) output:
Git info:
    Commit: 8d73c3b672aec01e659c446142c7a17d47fb7b86
    Branch: 
    Author: Daniil Cherednik <dan.cherednik@gmail.com>
    Summary: Merge ff13479d27d4896ae8745f863d645cb15399e80c into 8a4d64c49a7679189be0d410f35b930fb517fe75

Other info:
    Build by: runner
    Top src dir: /home/runner/actions_runner/_work/ydb/ydb
    Top build dir: /home/runner/.ya/build
    Hostname: ghrun-vb3yoermsa
    Host information: 
        Linux ghrun-vb3yoermsa 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64

    
Build info:
    Compiler: /home/runner/.ya/tools/v4/10226725676/bin/clang++
    Compiler version: 
        clang version 20.1.8
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /home/runner/.ya/tools/v4/10226725676/bin
    Compile flags: -Xclang -fdebug-compilation-dir -Xclang /tmp -pipe -m64 -O3 -gline-tables-only -fno-common -ffunction-sections -fdata-sections -fsized-deallocation -fexceptions -fuse-init-array -fcolor-diagnostics -faligned-allocation -Werror -Wall -Wextra -Wno-parentheses -Wno-implicit-const-int-float-conversion -Wno-unknown-warning-option -D_THREAD_SAFE -D_PTHREADS -D_REENTRANT -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE -D__LONG_LONG_SUPPORTED -fno-omit-frame-pointer -Wno-unknown-argument -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-missing-designated-field-initializers -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-alias-template-in-declaration-name -Wno-cast-function-type-mismatch -Wno-explicit-specialization-storage-class -Wno-extraneous-template-head -Wno-missing-template-arg-list-after-template-kw -Wno-nontrivial-memcall -Wno-strict-primary-template-shadow -DCATBOOST_OPENSOURCE=yes -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mcx16 -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-missing-designated-field-initializers -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-alias-template-in-declaration-name -Wno-cast-function-type-mismatch -Wno-explicit-specialization-storage-class -Wno-extraneous-template-head -Wno-missing-template-arg-list-after-template-kw -Wno-nontrivial-memcall -Wno-strict-primary-template-shadow -std=c++20 -Wimport-preprocessor-directive-pedantic -Woverloaded-virtual -Wno-ambiguous-reversed-operator -Wno-defaulted-function-deleted -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-enum-float-conversion -Wno-deprecated-volatile -Wno-pessimizing-move -Wno-undefined-var-template -nostdinc++ -DCATBOOST_OPENSOURCE=yes -nostdinc++

2025-11-11 14:15:37,567 - DEBUG - ya.test - _save_outputs: Command (pid 920133) errors:

2025-11-11 14:15:37,567 - INFO - ydb.tests.library.harness.kikimr_runner - start: Node 1 version:
Git info:
    Commit: 8d73c3b672aec01e659c446142c7a17d47fb7b86
    Branch: 
    Author: Daniil Cherednik <dan.cherednik@gmail.com>
    Summary: Merge ff13479d27d4896ae8745f863d645cb15399e80c into 8a4d64c49a7679189be0d410f35b930fb517fe75
2025-11-11 14:15:37,567 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-11 14:15:37,576 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_yq_streaming.py::TestYqStreaming, test_name: test_early_finish_case4[v1])
2025-11-11 14:15:37,580 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_early_finish_case4_v1_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:15:37,602 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:15:37,603 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:37,604 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_early_finish_case4_v1_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:15:37,624 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:15:37,624 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:37,649 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:15:37,649 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:41,253 - DEBUG - root - create_query_impl: Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            $a = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t1 FROM myyds.`pq_test_early_finish_case4_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case4_v1_output` limit 10;\n            select * from $a as a\n            left join $b as b ON a.t1 = b.t2\n            limit 3;\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "631fc817-ee47-43b2-a32c-44c6761e6ffa"

2025-11-11 14:15:41,404 - DEBUG - root - create_query_impl: Result: query_id: "ptqudslmrpksspd17ekk"

2025-11-11 14:15:41,443 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmrpksspd17ekk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870541
        nanos: 257726000
      }
      modified_at {
        seconds: 1762870541
        nanos: 257726000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudslmrpksslu07l2u-ptqudslmrpksspd17ekk"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870541
      nanos: 257726000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            $a = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t1 FROM myyds.`pq_test_early_finish_case4_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case4_v1_output` limit 10;\n            select * from $a as a\n            left join $b as b ON a.t1 = b.t2\n            limit 3;\n            "
    syntax: YQL_V1
  }
}

2025-11-11 14:15:41,949 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:15:42,454 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:15:42,959 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmrpksspd17ekk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870541
        nanos: 257726000
      }
      modified_at {
        seconds: 1762870541
        nanos: 257726000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870542
      nanos: 383000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmrpksslu07l2u-ptqudslmrpksspd17ekk"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870541
      nanos: 257726000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            $a = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t1 FROM myyds.`pq_test_early_finish_case4_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case4_v1_output` limit 10;\n            select * from $a as a\n            left join $b as b ON a.t1 = b.t2\n            limit 3;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":24,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"Take\"}]}},{\"Id\":22,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[24]},{\"Id\":20,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[22]},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqPhyMapJoin\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12,20]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":7,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":24,\"level\":1,\"name\":\"DqStage #24\",\"type\":\"op\"},{\"id\":22,\"level\":2,\"name\":\"DqStage #22\",\"type\":\"op\"},{\"id\":20,\"level\":3,\"name\":\"DqStage #20\",\"type\":\"op\"},{\"id\":10,\"level\":4,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":5,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":6,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":7,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":8,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":24,\"target\":22},{\"source\":22,\"target\":20},{\"source\":12,\"target\":10},{\"source\":20,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "t1"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    column {
      name: "t2"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $5 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $6 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_input\" $4 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'(\'\"Endpoint\" \'\"localhost:29499\") $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmrptv5d0epa42\") \'(\'\"AddBearerToToken\" \'1)))\n(let $10 (SecureParam \'\"cluster:default_myyds\"))\n(let $11 (DqPqTopicSource world $6 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $12 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n(let $13 (lambda \'($30) (AsStruct \'(\'\"Data\" $30))))\n(let $14 (OptionalType (DataType \'Json)))\n(let $15 (Utf8 \'\"$.key\"))\n(let $16 (DqStage \'((DqSource $3 $11)) (lambda \'($28) (block \'(\n  (let $29 (DqSourceWideWrap $28 $3 $5 $12))\n  (return (FlatMap (NarrowMap $29 $13) (lambda \'($31) (block \'(\n    (let $32 (JsonValue (SafeCast (Member $31 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'(\'\"t1\" $32))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210500))))\n(let $17 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_output\" $4 \'() $5))\n(let $18 (DqPqTopicSource world $17 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $19 (Uint64 \'10))\n(let $20 (DqStage \'((DqSource $3 $18)) (lambda \'($33) (block \'(\n  (let $34 (DqSourceWideWrap $33 $3 $5 $12))\n  (return (Take (NarrowMap $34 $13) $19))\n))) \'(\'(\'\"_logical_id\" \'210529))))\n(let $21 (DqStage \'((DqCnUnionAll (TDqOutput $20 \'0))) (lambda \'($35) (FlatMap (Take $35 $19) (lambda \'($36) (block \'(\n  (let $37 (JsonValue (SafeCast (Member $36 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n  (return (Just (AsStruct \'(\'\"t2\" $37))))\n))))) \'(\'(\'\"_logical_id\" \'210612))))\n(let $22 (DqStage \'((DqCnUnionAll (TDqOutput $21 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'210645))))\n(let $23 (Uint64 \'3))\n(let $24 (DqStage \'((DqCnMap (TDqOutput $16 \'0)) (DqCnBroadcast (TDqOutput $22 \'0))) (lambda \'($39 $40) (block \'(\n  (let $41 (DqPhyMapJoin $39 (SkipNullMembers $40 \'(\'\"t2\")) \'\"a\" \'\"b\" \'Left \'(\'(\'\"a\" \'\"t1\" \'\"b\" \'\"t2\")) \'(\'\"a.t1\") \'(\'\"b.t2\")))\n  (return (Take $41 $23))\n))) \'(\'(\'\"_logical_id\" \'210723))))\n(let $25 (DqStage \'((DqCnUnionAll (TDqOutput $24 \'0))) (lambda \'($42) (FlatMap (Take $42 $23) (lambda \'($43) (Just (AsStruct \'(\'\"t1\" (Member $43 \'\"a.t1\")) \'(\'\"t2\" (Member $43 \'\"b.t2\"))))))) \'(\'(\'\"_logical_id\" \'210788))))\n(let $26 (DqStage \'((DqCnUnionAll (TDqOutput $25 \'0))) (lambda \'($44) $44) \'(\'(\'\"_logical_id\" \'210847))))\n(let $27 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $26 \'0) \'()) \'(\'(\'type) \'(\'autoref)) \'\"dq\"))\n(return (Commit! (Commit! $27 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

2025-11-11 14:15:43,597 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0010*\014shard-000000"
  }
}

2025-11-11 14:15:43,598 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "0"}']
2025-11-11 14:15:43,602 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0011*\014shard-000000"
  }
}

2025-11-11 14:15:43,602 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "1"}']
2025-11-11 14:15:43,606 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0012*\014shard-000000"
  }
}

2025-11-11 14:15:43,606 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "2"}']
2025-11-11 14:15:43,610 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0013*\014shard-000000"
  }
}

2025-11-11 14:15:43,610 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "3"}']
2025-11-11 14:15:43,614 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0014*\014shard-000000"
  }
}

2025-11-11 14:15:43,614 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "4"}']
2025-11-11 14:15:43,617 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0015*\014shard-000000"
  }
}

2025-11-11 14:15:43,618 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "5"}']
2025-11-11 14:15:43,621 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0016*\014shard-000000"
  }
}

2025-11-11 14:15:43,621 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "6"}']
2025-11-11 14:15:43,624 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0017*\014shard-000000"
  }
}

2025-11-11 14:15:43,625 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "7"}']
2025-11-11 14:15:43,628 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0018*\014shard-000000"
  }
}

2025-11-11 14:15:43,628 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "8"}']
2025-11-11 14:15:43,631 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_output. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0019*\014shard-000000"
  }
}

2025-11-11 14:15:43,632 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_output: ['{"key": "9"}']
2025-11-11 14:15:43,635 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0010*\014shard-000000"
  }
}

2025-11-11 14:15:43,635 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "0"}']
2025-11-11 14:15:43,638 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0011*\014shard-000000"
  }
}

2025-11-11 14:15:43,639 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "1"}']
2025-11-11 14:15:43,642 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0012*\014shard-000000"
  }
}

2025-11-11 14:15:43,642 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "2"}']
2025-11-11 14:15:43,646 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0013*\014shard-000000"
  }
}

2025-11-11 14:15:43,646 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "3"}']
2025-11-11 14:15:43,650 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0014*\014shard-000000"
  }
}

2025-11-11 14:15:43,651 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "4"}']
2025-11-11 14:15:43,655 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0015*\014shard-000000"
  }
}

2025-11-11 14:15:43,655 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "5"}']
2025-11-11 14:15:43,659 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0016*\014shard-000000"
  }
}

2025-11-11 14:15:43,660 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "6"}']
2025-11-11 14:15:43,664 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0017*\014shard-000000"
  }
}

2025-11-11 14:15:43,665 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "7"}']
2025-11-11 14:15:43,669 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0018*\014shard-000000"
  }
}

2025-11-11 14:15:43,669 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "8"}']
2025-11-11 14:15:43,674 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case4_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0019*\014shard-000000"
  }
}

2025-11-11 14:15:43,674 - INFO - root - write_stream: Data was written to pq_test_early_finish_case4_v1_input: ['{"key": "9"}']
2025-11-11 14:15:43,681 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmrpksspd17ekk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870541
        nanos: 257726000
      }
      modified_at {
        seconds: 1762870541
        nanos: 257726000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870542
      nanos: 383000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmrpksslu07l2u-ptqudslmrpksspd17ekk"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870541
      nanos: 257726000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            $a = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t1 FROM myyds.`pq_test_early_finish_case4_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case4_v1_output` limit 10;\n            select * from $a as a\n            left join $b as b ON a.t1 = b.t2\n            limit 3;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":24,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"Take\"}]}},{\"Id\":22,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[24]},{\"Id\":20,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[22]},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqPhyMapJoin\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12,20]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":7,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":24,\"level\":1,\"name\":\"DqStage #24\",\"type\":\"op\"},{\"id\":22,\"level\":2,\"name\":\"DqStage #22\",\"type\":\"op\"},{\"id\":20,\"level\":3,\"name\":\"DqStage #20\",\"type\":\"op\"},{\"id\":10,\"level\":4,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":5,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":6,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":7,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":8,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":24,\"target\":22},{\"source\":22,\"target\":20},{\"source\":12,\"target\":10},{\"source\":20,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "t1"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    column {
      name: "t2"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $5 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $6 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_input\" $4 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'(\'\"Endpoint\" \'\"localhost:29499\") $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmrptv5d0epa42\") \'(\'\"AddBearerToToken\" \'1)))\n(let $10 (SecureParam \'\"cluster:default_myyds\"))\n(let $11 (DqPqTopicSource world $6 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $12 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n(let $13 (lambda \'($30) (AsStruct \'(\'\"Data\" $30))))\n(let $14 (OptionalType (DataType \'Json)))\n(let $15 (Utf8 \'\"$.key\"))\n(let $16 (DqStage \'((DqSource $3 $11)) (lambda \'($28) (block \'(\n  (let $29 (DqSourceWideWrap $28 $3 $5 $12))\n  (return (FlatMap (NarrowMap $29 $13) (lambda \'($31) (block \'(\n    (let $32 (JsonValue (SafeCast (Member $31 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'(\'\"t1\" $32))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210500))))\n(let $17 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_output\" $4 \'() $5))\n(let $18 (DqPqTopicSource world $17 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $19 (Uint64 \'10))\n(let $20 (DqStage \'((DqSource $3 $18)) (lambda \'($33) (block \'(\n  (let $34 (DqSourceWideWrap $33 $3 $5 $12))\n  (return (Take (NarrowMap $34 $13) $19))\n))) \'(\'(\'\"_logical_id\" \'210529))))\n(let $21 (DqStage \'((DqCnUnionAll (TDqOutput $20 \'0))) (lambda \'($35) (FlatMap (Take $35 $19) (lambda \'($36) (block \'(\n  (let $37 (JsonValue (SafeCast (Member $36 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n  (return (Just (AsStruct \'(\'\"t2\" $37))))\n))))) \'(\'(\'\"_logical_id\" \'210612))))\n(let $22 (DqStage \'((DqCnUnionAll (TDqOutput $21 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'210645))))\n(let $23 (Uint64 \'3))\n(let $24 (DqStage \'((DqCnMap (TDqOutput $16 \'0)) (DqCnBroadcast (TDqOutput $22 \'0))) (lambda \'($39 $40) (block \'(\n  (let $41 (DqPhyMapJoin $39 (SkipNullMembers $40 \'(\'\"t2\")) \'\"a\" \'\"b\" \'Left \'(\'(\'\"a\" \'\"t1\" \'\"b\" \'\"t2\")) \'(\'\"a.t1\") \'(\'\"b.t2\")))\n  (return (Take $41 $23))\n))) \'(\'(\'\"_logical_id\" \'210723))))\n(let $25 (DqStage \'((DqCnUnionAll (TDqOutput $24 \'0))) (lambda \'($42) (FlatMap (Take $42 $23) (lambda \'($43) (Just (AsStruct \'(\'\"t1\" (Member $43 \'\"a.t1\")) \'(\'\"t2\" (Member $43 \'\"b.t2\"))))))) \'(\'(\'\"_logical_id\" \'210788))))\n(let $26 (DqStage \'((DqCnUnionAll (TDqOutput $25 \'0))) (lambda \'($44) $44) \'(\'(\'\"_logical_id\" \'210847))))\n(let $27 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $26 \'0) \'()) \'(\'(\'type) \'(\'autoref)) \'\"dq\"))\n(return (Commit! (Commit! $27 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

2025-11-11 14:15:44,187 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmrpksspd17ekk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870541
        nanos: 257726000
      }
      modified_at {
        seconds: 1762870541
        nanos: 257726000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870542
      nanos: 383000000
    }
    finished_at {
      seconds: 1762870543
      nanos: 677000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudslmrpksslu07l2u-ptqudslmrpksspd17ekk"
    result_expire_at {
      seconds: 1762956942
      nanos: 325707000
    }
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870541
      nanos: 257726000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            $a = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t1 FROM myyds.`pq_test_early_finish_case4_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case4_v1_output` limit 10;\n            select * from $a as a\n            left join $b as b ON a.t1 = b.t2\n            limit 3;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":24,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"Take\"}]}},{\"Id\":22,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[24]},{\"Id\":20,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[22]},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqPhyMapJoin\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12,20]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":7,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":24,\"level\":1,\"name\":\"DqStage #24\",\"type\":\"op\"},{\"id\":22,\"level\":2,\"name\":\"DqStage #22\",\"type\":\"op\"},{\"id\":20,\"level\":3,\"name\":\"DqStage #20\",\"type\":\"op\"},{\"id\":10,\"level\":4,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":5,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":6,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":7,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":8,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":24,\"target\":22},{\"source\":22,\"target\":20},{\"source\":12,\"target\":10},{\"source\":20,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":7,\"count\":7,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.69s\",\"count\":7,\"avg\":\"99ms\",\"max\":\"0.19s\",\"min\":\"2ms\"},\"IngressBytes\":{\"sum\":156,\"count\":2,\"avg\":78,\"max\":120,\"min\":36},\"IngressRows\":{\"sum\":13,\"count\":2,\"avg\":6,\"max\":10,\"min\":3},\"InputBytes\":{\"sum\":337,\"count\":5,\"avg\":67,\"max\":180,\"min\":21},\"InputRows\":{\"sum\":39,\"count\":5,\"avg\":7,\"max\":13,\"min\":3},\"OutputBytes\":{\"sum\":358,\"count\":7,\"avg\":51,\"max\":180,\"min\":15},\"OutputRows\":{\"sum\":42,\"count\":7,\"avg\":6,\"max\":10,\"min\":3},\"ResultBytes\":{\"sum\":21,\"count\":1,\"avg\":21,\"max\":21,\"min\":21},\"ResultRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MaxMemoryUsage\":{\"sum\":3932160,\"count\":7,\"avg\":561737,\"max\":2162688,\"min\":196608},\"IngressQueuedBytes\":{\"sum\":0,\"count\":7,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":7,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  result_set_meta {
    column {
      name: "t1"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    column {
      name: "t2"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    rows_count: 3
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $5 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $6 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_input\" $4 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'(\'\"Endpoint\" \'\"localhost:29499\") $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmrptv5d0epa42\") \'(\'\"AddBearerToToken\" \'1)))\n(let $10 (SecureParam \'\"cluster:default_myyds\"))\n(let $11 (DqPqTopicSource world $6 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $12 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n(let $13 (lambda \'($30) (AsStruct \'(\'\"Data\" $30))))\n(let $14 (OptionalType (DataType \'Json)))\n(let $15 (Utf8 \'\"$.key\"))\n(let $16 (DqStage \'((DqSource $3 $11)) (lambda \'($28) (block \'(\n  (let $29 (DqSourceWideWrap $28 $3 $5 $12))\n  (return (FlatMap (NarrowMap $29 $13) (lambda \'($31) (block \'(\n    (let $32 (JsonValue (SafeCast (Member $31 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'(\'\"t1\" $32))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210500))))\n(let $17 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case4_v1_output\" $4 \'() $5))\n(let $18 (DqPqTopicSource world $17 $7 $9 $10 \'\"\" $5 \'\"\"))\n(let $19 (Uint64 \'10))\n(let $20 (DqStage \'((DqSource $3 $18)) (lambda \'($33) (block \'(\n  (let $34 (DqSourceWideWrap $33 $3 $5 $12))\n  (return (Take (NarrowMap $34 $13) $19))\n))) \'(\'(\'\"_logical_id\" \'210529))))\n(let $21 (DqStage \'((DqCnUnionAll (TDqOutput $20 \'0))) (lambda \'($35) (FlatMap (Take $35 $19) (lambda \'($36) (block \'(\n  (let $37 (JsonValue (SafeCast (Member $36 \'\"Data\") $14) $15 (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n  (return (Just (AsStruct \'(\'\"t2\" $37))))\n))))) \'(\'(\'\"_logical_id\" \'210612))))\n(let $22 (DqStage \'((DqCnUnionAll (TDqOutput $21 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'210645))))\n(let $23 (Uint64 \'3))\n(let $24 (DqStage \'((DqCnMap (TDqOutput $16 \'0)) (DqCnBroadcast (TDqOutput $22 \'0))) (lambda \'($39 $40) (block \'(\n  (let $41 (DqPhyMapJoin $39 (SkipNullMembers $40 \'(\'\"t2\")) \'\"a\" \'\"b\" \'Left \'(\'(\'\"a\" \'\"t1\" \'\"b\" \'\"t2\")) \'(\'\"a.t1\") \'(\'\"b.t2\")))\n  (return (Take $41 $23))\n))) \'(\'(\'\"_logical_id\" \'210723))))\n(let $25 (DqStage \'((DqCnUnionAll (TDqOutput $24 \'0))) (lambda \'($42) (FlatMap (Take $42 $23) (lambda \'($43) (Just (AsStruct \'(\'\"t1\" (Member $43 \'\"a.t1\")) \'(\'\"t2\" (Member $43 \'\"b.t2\"))))))) \'(\'(\'\"_logical_id\" \'210788))))\n(let $26 (DqStage \'((DqCnUnionAll (TDqOutput $25 \'0))) (lambda \'($44) $44) \'(\'(\'\"_logical_id\" \'210847))))\n(let $27 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $26 \'0) \'()) \'(\'(\'type) \'(\'autoref)) \'\"dq\"))\n(return (Commit! (Commit! $27 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

2025-11-11 14:15:44,320 - DEBUG - root - test_early_finish_case4: columns {
  name: "t1"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
columns {
  name: "t2"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
rows {
  items {
    text_value: "0"
  }
  items {
    text_value: "0"
  }
}
rows {
  items {
    text_value: "1"
  }
  items {
    text_value: "1"
  }
}
rows {
  items {
    text_value: "2"
  }
  items {
    text_value: "2"
  }
}

2025-11-11 14:15:44,322 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-11 14:15:47,324 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:62609/1
2025-11-11 14:15:47,325 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28173
2025-11-11 14:15:47,326 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64010
2025-11-11 14:15:47,326 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18988
2025-11-11 14:15:47,326 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62609
2025-11-11 14:15:47,326 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29453
2025-11-11 14:15:47,326 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10248
