2025-12-09 03:41:58,400 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-09 03:41:58,401 - INFO - ya.test - pytest_runtest_setup: test_early_finish_case5[v1]
2025-12-09 03:41:58,401 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-09 03:41:58,401 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-12-09 03:41:58,403 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12750
2025-12-09 03:41:58,404 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25859
2025-12-09 03:41:58,465 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/av6y/0029f9/ydb/apps/ydbd/ydbd
2025-12-09 03:41:58,466 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/63778
2025-12-09 03:41:58,467 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1543
2025-12-09 03:41:58,467 - 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-12-09 03:41:58,482 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 03:41:58,483 - 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-12-09 03:41:58,490 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-12-09 03:41:58,490 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 530d945a-bc92-4dba-9f4a-4913efff1f5a, localhost:28607): creating call state
2025-12-09 03:41:58,491 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 530d945a-bc92-4dba-9f4a-4913efff1f5a, localhost:28607): request = { database: "local" }
2025-12-09 03:41:58,496 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 530d945a-bc92-4dba-9f4a-4913efff1f5a, localhost:28607): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-syjwtgwtdu.auto.internal" port: 28607 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-12-09 03:41:58,497 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-syjwtgwtdu.auto.internal:28607, location 1, ssl: False>]>
2025-12-09 03:41:58,497 - 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-12-09 03:41:58,515 - INFO - ydb.connection - close: Closing channel for endpoint localhost:28607
2025-12-09 03:41:58,523 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 03:41:58,524 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7ff3a7597260 state=pending>
2025-12-09 03:41:58,524 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-12-09 03:41:58,524 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,524 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,525 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, dd48adf0-eea7-4e75-97f7-c16b8e5d9044, ghrun-syjwtgwtdu.auto.internal:28607): creating call state
2025-12-09 03:41:58,525 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, dd48adf0-eea7-4e75-97f7-c16b8e5d9044, ghrun-syjwtgwtdu.auto.internal:28607): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 03:41:58,530 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, dd48adf0-eea7-4e75-97f7-c16b8e5d9044, ghrun-syjwtgwtdu.auto.internal:28607): on response callback started
2025-12-09 03:41:58,531 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, dd48adf0-eea7-4e75-97f7-c16b8e5d9044, ghrun-syjwtgwtdu.auto.internal:28607): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=Yzk2M2Q0MGEtYTdjMGE4OWMtZDYxY2IwOTMtNDg3MDRmZmU=" } } } }
2025-12-09 03:41:58,531 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,532 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,532 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, dd48adf0-eea7-4e75-97f7-c16b8e5d9044, ghrun-syjwtgwtdu.auto.internal:28607): on response callback success
2025-12-09 03:41:58,533 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 4d5535ab-196c-4647-868d-69a577ea5d9d, ghrun-syjwtgwtdu.auto.internal:28607): creating call state
2025-12-09 03:41:58,534 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 4d5535ab-196c-4647-868d-69a577ea5d9d, ghrun-syjwtgwtdu.auto.internal:28607): request = { session_id: "ydb://session/3?node_id=1&id=Yzk2M2Q0MGEtYTdjMGE4OWMtZDYxY2IwOTMtNDg3MDRmZmU=" path: "local/DbPoolStorage_4466bc63-2522-4f6d-ac74-34ac0bcf3e76/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-12-09 03:41:58,577 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 4d5535ab-196c-4647-868d-69a577ea5d9d, ghrun-syjwtgwtdu.auto.internal:28607): response = { operation { ready: true status: SUCCESS } }
2025-12-09 03:41:58,578 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,579 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 87e8dc34-4b53-4b9a-adf9-2f7eb2517f1c, ghrun-syjwtgwtdu.auto.internal:28607): creating call state
2025-12-09 03:41:58,580 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 87e8dc34-4b53-4b9a-adf9-2f7eb2517f1c, ghrun-syjwtgwtdu.auto.internal:28607): request = { session_id: "ydb://session/3?node_id=1&id=Yzk2M2Q0MGEtYTdjMGE4OWMtZDYxY2IwOTMtNDg3MDRmZmU=" path: "local/DbPoolStorage_4466bc63-2522-4f6d-ac74-34ac0bcf3e76/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-12-09 03:41:58,613 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 87e8dc34-4b53-4b9a-adf9-2f7eb2517f1c, ghrun-syjwtgwtdu.auto.internal:28607): response = { operation { ready: true status: SUCCESS } }
2025-12-09 03:41:58,614 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,615 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, efeba2c0-0507-4a2a-a093-b6ae1de8edc2, ghrun-syjwtgwtdu.auto.internal:28607): creating call state
2025-12-09 03:41:58,615 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, efeba2c0-0507-4a2a-a093-b6ae1de8edc2, ghrun-syjwtgwtdu.auto.internal:28607): request = { session_id: "ydb://session/3?node_id=1&id=Yzk2M2Q0MGEtYTdjMGE4OWMtZDYxY2IwOTMtNDg3MDRmZmU=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_4466bc63-2522-4f6d-ac74-34ac0bcf3e76\");\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-12-09 03:41:58,643 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, efeba2c0-0507-4a2a-a093-b6ae1de8edc2, ghrun-syjwtgwtdu.auto.internal:28607): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-12-09 03:41:58,644 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff3a7596950>
2025-12-09 03:41:58,729 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/av6y/0029f9/ydb/apps/ydbd/ydbd
2025-12-09 03:41:58,730 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/15738
2025-12-09 03:41:58,731 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/24374
2025-12-09 03:41:58,731 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/24375
2025-12-09 03:41:58,732 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23233
2025-12-09 03:41:58,733 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/kikimr_configs"
2025-12-09 03:41:58,733 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/av6y/0029f9/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/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/node_1/logfile_utbh8bp7.log --grpc-port=1543 --mon-port=15738 --ic-port=63778
2025-12-09 03:41:58,742 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/kikimr_configs"
2025-12-09 03:41:58,743 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/av6y/0029f9/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/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/node_1/logfile_utbh8bp7.log --grpc-port=1543 --mon-port=15738 --ic-port=63778
2025-12-09 03:41:58,744 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/av6y/0029f9/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/node_1/logfile_utbh8bp7.log', '--grpc-port=1543', '--mon-port=15738', '--ic-port=63778')' in '/home/runner/.ya/build/build_root/av6y/0029f9/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk46/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_early_finish_case5.v1/default/node_1' (no wait)
2025-12-09 03:41:58,746 - DEBUG - ya.test - execute: Command pid: 1597539
2025-12-09 03:41:58,747 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:1543/1
2025-12-09 03:41:58,748 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.0
2025-12-09 03:41:58,749 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.0
2025-12-09 03:41:58,749 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/av6y/0029f9/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-12-09 03:41:58,766 - DEBUG - ya.test - execute: Command pid: 1597544
2025-12-09 03:41:59,391 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) rc: 0
2025-12-09 03:41:59,391 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) elapsed time (sec): 0.6236646175384521
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) idrss: 0
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) inblock: 0
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) isrss: 0
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) ixrss: 0
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) majflt: 0
2025-12-09 03:41:59,392 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) maxrss: 543848
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) minflt: 16233
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) msgrcv: 0
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) msgsnd: 0
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) nivcsw: 94
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) nsignals: 0
2025-12-09 03:41:59,393 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) nswap: 0
2025-12-09 03:41:59,394 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) nvcsw: 20
2025-12-09 03:41:59,394 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) oublock: 8
2025-12-09 03:41:59,394 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) stime: 0.357182
2025-12-09 03:41:59,394 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) utime: 0.11678899999999999
2025-12-09 03:41:59,395 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) wtime: 0.641
2025-12-09 03:41:59,395 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) output:
Git info:
    Commit: 2ad8a0198ac871ab3cd73b3e9d43a8d7c87aa707
    Branch: 
    Author: Alexey Efimov <xeno@prnwatch.com>
    Summary: Merge 59f28a396f698b38a7f7341b2c06d7104ff2cbd4 into 0ab8ad45a21edd60c6548fe63ce9b19ce58e1cd6

Other info:
    Build by: runner
    Top src dir: /home/runner/actions_runner/_work/ydb/ydb
    Top build dir: /home/runner/.ya/build
    Hostname: ghrun-syjwtgwtdu
    Host information: 
        Linux ghrun-syjwtgwtdu 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/9695656278/bin/clang++
    Compiler version: 
        clang version 20.1.2
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /home/runner/.ya/tools/v4/9695656278/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-deprecated-literal-operator -Wno-unused-but-set-variable -Wno-unused-private-field -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-deprecated-literal-operator -Wno-unused-but-set-variable -Wno-unused-private-field -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-12-09 03:41:59,395 - DEBUG - ya.test - _save_outputs: Command (pid 1597544) errors:

2025-12-09 03:41:59,395 - INFO - ydb.tests.library.harness.kikimr_runner - start: Node 1 version:
Git info:
    Commit: 2ad8a0198ac871ab3cd73b3e9d43a8d7c87aa707
    Branch: 
    Author: Alexey Efimov <xeno@prnwatch.com>
    Summary: Merge 59f28a396f698b38a7f7341b2c06d7104ff2cbd4 into 0ab8ad45a21edd60c6548fe63ce9b19ce58e1cd6
2025-12-09 03:41:59,396 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-12-09 03:41:59,413 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_yq_streaming.py::TestYqStreaming, test_name: test_early_finish_case5[v1])
2025-12-09 03:41:59,415 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_early_finish_case5_v1_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-12-09 03:41:59,458 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-12-09 03:41:59,458 - DEBUG - root - _get_and_check_result: Result: 
2025-12-09 03:41:59,460 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_early_finish_case5_v1_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-12-09 03:41:59,507 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-12-09 03:41:59,508 - DEBUG - root - _get_and_check_result: Result: 
2025-12-09 03:41:59,535 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-12-09 03:41:59,535 - DEBUG - root - _get_and_check_result: Result: 
2025-12-09 03:42:02,780 - 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_case5_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case5_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: "5cca7fa1-77db-45e0-b311-42847eb6900b"

2025-12-09 03:42:03,183 - DEBUG - root - create_query_impl: Result: query_id: "ptqudqgd71v32immq6qb"

2025-12-09 03:42:03,286 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudqgd71v32immq6qb"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765251722
        nanos: 801982000
      }
      modified_at {
        seconds: 1765251722
        nanos: 801982000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudqgd71v31qvp33rp-ptqudqgd71v32immq6qb"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765251722
      nanos: 801982000
    }
  }
  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_case5_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case5_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-12-09 03:42:03,807 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-09 03:42:04,514 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudqgd71v32immq6qb"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765251722
        nanos: 801982000
      }
      modified_at {
        seconds: 1765251722
        nanos: 801982000
      }
      revision: 1
    }
    started_at {
      seconds: 1765251723
      nanos: 842000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudqgd71v31qvp33rp-ptqudqgd71v32immq6qb"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765251722
      nanos: 801982000
    }
  }
  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_case5_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case5_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_case5_v1_input\" $4 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'(\'\"Endpoint\" \'\"localhost:28607\") $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudqgd72dcpaligdra\") \'(\'\"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\" \'201347))))\n(let $17 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case5_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\" \'201376))))\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\" \'201459))))\n(let $22 (DqStage \'((DqCnUnionAll (TDqOutput $21 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'201492))))\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\" \'201570))))\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\" \'201635))))\n(let $26 (DqStage \'((DqCnUnionAll (TDqOutput $25 \'0))) (lambda \'($44) $44) \'(\'(\'\"_logical_id\" \'201694))))\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-12-09 03:42:05,072 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,073 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "0"}']
2025-12-09 03:42:05,087 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,087 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "1"}']
2025-12-09 03:42:05,095 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,095 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "2"}']
2025-12-09 03:42:05,105 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,106 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "3"}']
2025-12-09 03:42:05,123 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,123 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "4"}']
2025-12-09 03:42:05,134 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,135 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "5"}']
2025-12-09 03:42:05,147 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,148 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "6"}']
2025-12-09 03:42:05,156 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,157 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "7"}']
2025-12-09 03:42:05,168 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,168 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "8"}']
2025-12-09 03:42:05,188 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,189 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_output: ['{"key": "9"}']
2025-12-09 03:42:05,200 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:05,200 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "20"}']
2025-12-09 03:42:06,211 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:06,211 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "21"}']
2025-12-09 03:42:07,218 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:07,218 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "22"}']
2025-12-09 03:42:08,233 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:08,234 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "23"}']
2025-12-09 03:42:09,244 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:09,244 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "24"}']
2025-12-09 03:42:10,262 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:10,263 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "25"}']
2025-12-09 03:42:11,274 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:11,274 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "26"}']
2025-12-09 03:42:12,280 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:12,281 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "27"}']
2025-12-09 03:42:13,287 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:13,287 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "28"}']
2025-12-09 03:42:14,295 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_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-12-09 03:42:14,295 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "29"}']
2025-12-09 03:42:15,303 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00210*\014shard-000000"
  }
}

2025-12-09 03:42:15,303 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "30"}']
2025-12-09 03:42:16,310 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00211*\014shard-000000"
  }
}

2025-12-09 03:42:16,310 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "31"}']
2025-12-09 03:42:17,319 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00212*\014shard-000000"
  }
}

2025-12-09 03:42:17,320 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "32"}']
2025-12-09 03:42:18,328 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00213*\014shard-000000"
  }
}

2025-12-09 03:42:18,328 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "33"}']
2025-12-09 03:42:19,336 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00214*\014shard-000000"
  }
}

2025-12-09 03:42:19,337 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "34"}']
2025-12-09 03:42:20,347 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00215*\014shard-000000"
  }
}

2025-12-09 03:42:20,347 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "35"}']
2025-12-09 03:42:21,354 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00216*\014shard-000000"
  }
}

2025-12-09 03:42:21,354 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "36"}']
2025-12-09 03:42:22,363 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00217*\014shard-000000"
  }
}

2025-12-09 03:42:22,363 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "37"}']
2025-12-09 03:42:23,371 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00218*\014shard-000000"
  }
}

2025-12-09 03:42:23,372 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "38"}']
2025-12-09 03:42:24,381 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00219*\014shard-000000"
  }
}

2025-12-09 03:42:24,381 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "39"}']
2025-12-09 03:42:25,387 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00220*\014shard-000000"
  }
}

2025-12-09 03:42:25,387 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "0"}']
2025-12-09 03:42:25,392 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00221*\014shard-000000"
  }
}

2025-12-09 03:42:25,393 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "1"}']
2025-12-09 03:42:25,399 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00222*\014shard-000000"
  }
}

2025-12-09 03:42:25,399 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "2"}']
2025-12-09 03:42:25,404 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00223*\014shard-000000"
  }
}

2025-12-09 03:42:25,404 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "3"}']
2025-12-09 03:42:25,409 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00224*\014shard-000000"
  }
}

2025-12-09 03:42:25,409 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "4"}']
2025-12-09 03:42:25,414 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00225*\014shard-000000"
  }
}

2025-12-09 03:42:25,415 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "5"}']
2025-12-09 03:42:25,419 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00226*\014shard-000000"
  }
}

2025-12-09 03:42:25,420 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "6"}']
2025-12-09 03:42:25,424 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00227*\014shard-000000"
  }
}

2025-12-09 03:42:25,424 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "7"}']
2025-12-09 03:42:25,432 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00228*\014shard-000000"
  }
}

2025-12-09 03:42:25,433 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "8"}']
2025-12-09 03:42:25,437 - DEBUG - root - write_stream: Write topic pq_test_early_finish_case5_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00229*\014shard-000000"
  }
}

2025-12-09 03:42:25,438 - INFO - root - write_stream: Data was written to pq_test_early_finish_case5_v1_input: ['{"key": "9"}']
2025-12-09 03:42:25,449 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudqgd71v32immq6qb"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765251722
        nanos: 801982000
      }
      modified_at {
        seconds: 1765251722
        nanos: 801982000
      }
      revision: 1
    }
    started_at {
      seconds: 1765251723
      nanos: 842000000
    }
    finished_at {
      seconds: 1765251727
      nanos: 239000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudqgd71v31qvp33rp-ptqudqgd71v32immq6qb"
    result_expire_at {
      seconds: 1765338123
      nanos: 770323000
    }
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1765251722
      nanos: 801982000
    }
  }
  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_case5_v1_input`;\n            $b = SELECT JSON_VALUE(Cast(Data as Json), \"$.key\") as t2 FROM myyds.`pq_test_early_finish_case5_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.70s\",\"count\":7,\"avg\":\"0.10s\",\"max\":\"0.22s\",\"min\":\"4ms\"},\"IngressBytes\":{\"sum\":159,\"count\":2,\"avg\":79,\"max\":120,\"min\":39},\"IngressRows\":{\"sum\":13,\"count\":2,\"avg\":6,\"max\":10,\"min\":3},\"InputBytes\":{\"sum\":340,\"count\":5,\"avg\":68,\"max\":180,\"min\":21},\"InputRows\":{\"sum\":39,\"count\":5,\"avg\":7,\"max\":13,\"min\":3},\"OutputBytes\":{\"sum\":361,\"count\":7,\"avg\":51,\"max\":180,\"min\":18},\"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_case5_v1_input\" $4 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'(\'\"Endpoint\" \'\"localhost:28607\") $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudqgd72dcpaligdra\") \'(\'\"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\" \'201347))))\n(let $17 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_early_finish_case5_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\" \'201376))))\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\" \'201459))))\n(let $22 (DqStage \'((DqCnUnionAll (TDqOutput $21 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'201492))))\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\" \'201570))))\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\" \'201635))))\n(let $26 (DqStage \'((DqCnUnionAll (TDqOutput $25 \'0))) (lambda \'($44) $44) \'(\'(\'\"_logical_id\" \'201694))))\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-12-09 03:42:25,627 - DEBUG - root - test_early_finish_case5: columns {
  name: "t1"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
columns {
  name: "t2"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
rows {
  items {
    text_value: "20"
  }
  items {
    null_flag_value: NULL_VALUE
  }
}
rows {
  items {
    text_value: "21"
  }
  items {
    null_flag_value: NULL_VALUE
  }
}
rows {
  items {
    text_value: "22"
  }
  items {
    null_flag_value: NULL_VALUE
  }
}

2025-12-09 03:42:25,629 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-12-09 03:42:28,631 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:1543/1
2025-12-09 03:42:28,632 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23233
2025-12-09 03:42:28,632 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24375
2025-12-09 03:42:28,632 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15738
2025-12-09 03:42:28,633 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1543
2025-12-09 03:42:28,633 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63778
2025-12-09 03:42:28,633 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25859
