2025-11-11 14:15:55,591 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:15:55,591 - INFO - ya.test - pytest_runtest_setup: test_match_recognize_sink[v1]
2025-11-11 14:15:55,591 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:15:55,592 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 14:15:55,593 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64331
2025-11-11 14:15:55,594 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/28799
2025-11-11 14:15:55,650 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd
2025-11-11 14:15:55,650 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16483
2025-11-11 14:15:55,651 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14495
2025-11-11 14:15:55,652 - 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:55,656 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 14:15:55,657 - 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:55,666 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-11 14:15:55,666 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 588b6f30-e83a-41c9-9102-8f6198b468a5, localhost:23791): creating call state
2025-11-11 14:15:55,667 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 588b6f30-e83a-41c9-9102-8f6198b468a5, localhost:23791): request = { database: "local" }
2025-11-11 14:15:55,673 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 588b6f30-e83a-41c9-9102-8f6198b468a5, localhost:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-vb3yoermsa.auto.internal" port: 23791 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:55,673 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-vb3yoermsa.auto.internal:23791, location 1, ssl: False>]>
2025-11-11 14:15:55,674 - 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:55,681 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:23791
2025-11-11 14:15:55,682 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 14:15:55,682 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fd4a55f8920 state=pending>
2025-11-11 14:15:55,682 - 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:55,683 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,683 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,683 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 71520768-1447-4102-a2d8-43daa914f582, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:15:55,684 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 71520768-1447-4102-a2d8-43daa914f582, ghrun-vb3yoermsa.auto.internal:23791): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 14:15:55,690 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 71520768-1447-4102-a2d8-43daa914f582, ghrun-vb3yoermsa.auto.internal:23791): on response callback started
2025-11-11 14:15:55,691 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 71520768-1447-4102-a2d8-43daa914f582, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=NzUyODRkYjMtZjA3ZjJmYzUtZWY0MTU3ZDMtMmJlMGI2ZWY=" } } } }
2025-11-11 14:15:55,691 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,692 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,692 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 71520768-1447-4102-a2d8-43daa914f582, ghrun-vb3yoermsa.auto.internal:23791): on response callback success
2025-11-11 14:15:55,692 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 11ab0590-d115-4228-96af-a4437c318883, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:15:55,693 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 11ab0590-d115-4228-96af-a4437c318883, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=NzUyODRkYjMtZjA3ZjJmYzUtZWY0MTU3ZDMtMmJlMGI2ZWY=" path: "local/DbPoolStorage_503d4657-fc3b-4ed8-89b9-f58532161b0f/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:55,754 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 11ab0590-d115-4228-96af-a4437c318883, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:15:55,755 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,755 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 1942bab3-a444-4cd8-a7b5-2583d410511f, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:15:55,756 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 1942bab3-a444-4cd8-a7b5-2583d410511f, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=NzUyODRkYjMtZjA3ZjJmYzUtZWY0MTU3ZDMtMmJlMGI2ZWY=" path: "local/DbPoolStorage_503d4657-fc3b-4ed8-89b9-f58532161b0f/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:55,822 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 1942bab3-a444-4cd8-a7b5-2583d410511f, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:15:55,823 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:55,824 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 735c5cdd-e8a9-44fe-8db3-bad399775555, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:15:55,824 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 735c5cdd-e8a9-44fe-8db3-bad399775555, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=NzUyODRkYjMtZjA3ZjJmYzUtZWY0MTU3ZDMtMmJlMGI2ZWY=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_503d4657-fc3b-4ed8-89b9-f58532161b0f\");\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:56,077 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 735c5cdd-e8a9-44fe-8db3-bad399775555, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-11 14:15:56,077 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a568de60>
2025-11-11 14:15:56,140 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd
2025-11-11 14:15:56,142 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/24712
2025-11-11 14:15:56,143 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22910
2025-11-11 14:15:56,143 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25471
2025-11-11 14:15:56,144 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/kikimr_configs"
2025-11-11 14:15:56,144 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001788/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/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/node_1/logfile_fhi7141z.log --grpc-port=14495 --mon-port=24712 --ic-port=16483
2025-11-11 14:15:56,145 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/kikimr_configs"
2025-11-11 14:15:56,145 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001788/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/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/node_1/logfile_fhi7141z.log --grpc-port=14495 --mon-port=24712 --ic-port=16483
2025-11-11 14:15:56,147 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/node_1/logfile_fhi7141z.log', '--grpc-port=14495', '--mon-port=24712', '--ic-port=16483')' in '/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink.v1/default/node_1' (no wait)
2025-11-11 14:15:56,149 - DEBUG - ya.test - execute: Command pid: 932602
2025-11-11 14:15:56,150 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:14495/1
2025-11-11 14:15:56,152 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out
2025-11-11 14:15:56,152 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err
2025-11-11 14:15:56,152 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:15:56,153 - DEBUG - ya.test - execute: Command pid: 932604
2025-11-11 14:15:58,261 - DEBUG - ya.test - _save_outputs: Command (pid 932604) rc: 0
2025-11-11 14:15:58,261 - DEBUG - ya.test - _save_outputs: Command (pid 932604) elapsed time (sec): 2.1067895889282227
2025-11-11 14:15:58,261 - DEBUG - ya.test - _save_outputs: Command (pid 932604) idrss: 0
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) inblock: 0
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) isrss: 0
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) ixrss: 0
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) majflt: 0
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) maxrss: 541036
2025-11-11 14:15:58,262 - DEBUG - ya.test - _save_outputs: Command (pid 932604) minflt: 16175
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) msgrcv: 0
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) msgsnd: 0
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) nivcsw: 70
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) nsignals: 0
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) nswap: 0
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) nvcsw: 31
2025-11-11 14:15:58,263 - DEBUG - ya.test - _save_outputs: Command (pid 932604) oublock: 8
2025-11-11 14:15:58,264 - DEBUG - ya.test - _save_outputs: Command (pid 932604) stime: 1.940216
2025-11-11 14:15:58,264 - DEBUG - ya.test - _save_outputs: Command (pid 932604) utime: 0.108139
2025-11-11 14:15:58,264 - DEBUG - ya.test - _save_outputs: Command (pid 932604) wtime: 2.108
2025-11-11 14:15:58,264 - DEBUG - ya.test - _save_outputs: Command (pid 932604) 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:58,265 - DEBUG - ya.test - _save_outputs: Command (pid 932604) errors:

2025-11-11 14:15:58,265 - 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:58,266 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-11 14:15:58,276 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_yq_streaming.py::TestYqStreaming, test_name: test_match_recognize_sink[v1])
2025-11-11 14:15:58,279 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_match_recognize_sink_v1_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

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

2025-11-11 14:15:58,314 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:58,316 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_match_recognize_sink_v1_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

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

2025-11-11 14:15:58,340 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:58,355 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:15:58,355 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:15:58,920 - DEBUG - root - create_query_impl: Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            PRAGMA DisableAnsiInForEmptyOrNullableItemsCollections;\n            PRAGMA FeatureR010=\"prototype\";\n            PRAGMA config.flags(\"TimeOrderRecoverAhead\", \"20000000\");\n            PRAGMA config.flags(\"TimeOrderRecoverDelay\", \"-20000000\");\n            $parsed = SELECT JSON_VALUE(Cast(Data as Json), \"$.event_class\") as event_class, JSON_VALUE(Cast(Data as Json), \"$.time\") as time FROM myyds.`pq_test_match_recognize_sink_v1_input`;\n\n            $tojson = ($data) -> (ToBytes(Unwrap(Yson2::SerializeJson(Yson::From($data)))));\n\n            INSERT INTO bindings.my_binding\n            (SELECT $tojson(`result`) AS data FROM\n                (SELECT TableRow() AS `result` FROM (\n            SELECT \"bank\" AS _service, \"finish\" AS action_state, \"success\" AS action_status, \"present\" AS action_type,\n                \"MK8SCreateNamespace\" AS event_class, \"normalized\" AS event_type, \"host\" AS object_type, \"vmhost\" AS reporter_type, \"mk8s\" AS source, \"user\" AS subject_type\n            FROM (\n                SELECT * FROM ((\n                SELECT * FROM $parsed MATCH_RECOGNIZE(\n                    ORDER BY CAST(time as Timestamp)\n                    ONE ROW PER MATCH\n                    PATTERN (\n                        (MK8SCNMK8SCN24h0m0s)\n                    )\n                    DEFINE\n                        MK8SCNMK8SCN24h0m0s as ((MK8SCNMK8SCN24h0m0s.event_class IS NOT DISTINCT FROM \"ManagedKubernetesEvent\"))\n                )))) AS MATCHED\n            ))\n            )\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "4cb4a77d-66d0-49fa-8291-833abeb152cc"

2025-11-11 14:15:59,061 - DEBUG - root - create_query_impl: Result: query_id: "ptqudslmr8po0js95ea9"

2025-11-11 14:15:59,098 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmr8po0js95ea9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870558
        nanos: 924697000
      }
      modified_at {
        seconds: 1762870558
        nanos: 924697000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudslmr8po0gai6gtt-ptqudslmr8po0js95ea9"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870558
      nanos: 924697000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA DisableAnsiInForEmptyOrNullableItemsCollections;\n            PRAGMA FeatureR010=\"prototype\";\n            PRAGMA config.flags(\"TimeOrderRecoverAhead\", \"20000000\");\n            PRAGMA config.flags(\"TimeOrderRecoverDelay\", \"-20000000\");\n            $parsed = SELECT JSON_VALUE(Cast(Data as Json), \"$.event_class\") as event_class, JSON_VALUE(Cast(Data as Json), \"$.time\") as time FROM myyds.`pq_test_match_recognize_sink_v1_input`;\n\n            $tojson = ($data) -> (ToBytes(Unwrap(Yson2::SerializeJson(Yson::From($data)))));\n\n            INSERT INTO bindings.my_binding\n            (SELECT $tojson(`result`) AS data FROM\n                (SELECT TableRow() AS `result` FROM (\n            SELECT \"bank\" AS _service, \"finish\" AS action_state, \"success\" AS action_status, \"present\" AS action_type,\n                \"MK8SCreateNamespace\" AS event_class, \"normalized\" AS event_type, \"host\" AS object_type, \"vmhost\" AS reporter_type, \"mk8s\" AS source, \"user\" AS subject_type\n            FROM (\n                SELECT * FROM ((\n                SELECT * FROM $parsed MATCH_RECOGNIZE(\n                    ORDER BY CAST(time as Timestamp)\n                    ONE ROW PER MATCH\n                    PATTERN (\n                        (MK8SCNMK8SCN24h0m0s)\n                    )\n                    DEFINE\n                        MK8SCNMK8SCN24h0m0s as ((MK8SCNMK8SCN24h0m0s.event_class IS NOT DISTINCT FROM \"ManagedKubernetesEvent\"))\n                )))) AS MATCHED\n            ))\n            )\n            "
    syntax: YQL_V1
  }
}

2025-11-11 14:15:59,604 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:00,117 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:00,631 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmr8po0js95ea9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870558
        nanos: 924697000
      }
      modified_at {
        seconds: 1762870558
        nanos: 924697000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870560
      nanos: 62000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmr8po0gai6gtt-ptqudslmr8po0js95ea9"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870558
      nanos: 924697000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA DisableAnsiInForEmptyOrNullableItemsCollections;\n            PRAGMA FeatureR010=\"prototype\";\n            PRAGMA config.flags(\"TimeOrderRecoverAhead\", \"20000000\");\n            PRAGMA config.flags(\"TimeOrderRecoverDelay\", \"-20000000\");\n            $parsed = SELECT JSON_VALUE(Cast(Data as Json), \"$.event_class\") as event_class, JSON_VALUE(Cast(Data as Json), \"$.time\") as time FROM myyds.`pq_test_match_recognize_sink_v1_input`;\n\n            $tojson = ($data) -> (ToBytes(Unwrap(Yson2::SerializeJson(Yson::From($data)))));\n\n            INSERT INTO bindings.my_binding\n            (SELECT $tojson(`result`) AS data FROM\n                (SELECT TableRow() AS `result` FROM (\n            SELECT \"bank\" AS _service, \"finish\" AS action_state, \"success\" AS action_status, \"present\" AS action_type,\n                \"MK8SCreateNamespace\" AS event_class, \"normalized\" AS event_type, \"host\" AS object_type, \"vmhost\" AS reporter_type, \"mk8s\" AS source, \"user\" AS subject_type\n            FROM (\n                SELECT * FROM ((\n                SELECT * FROM $parsed MATCH_RECOGNIZE(\n                    ORDER BY CAST(time as Timestamp)\n                    ONE ROW PER MATCH\n                    PATTERN (\n                        (MK8SCNMK8SCN24h0m0s)\n                    )\n                    DEFINE\n                        MK8SCNMK8SCN24h0m0s as ((MK8SCNMK8SCN24h0m0s.event_class IS NOT DISTINCT FROM \"ManagedKubernetesEvent\"))\n                )))) AS MATCHED\n            ))\n            )\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"TimeOrderRecover\"},{\"Name\":\"OrderedFlatMap\"},{\"Name\":\"MatchRecognizeCore\"},{\"Name\":\"FlatMap\"},{\"Name\":\"FromFlow\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (DataSource \'\"config\"))\n(let $2 (Configure! world $1 \'\"DqEngine\" \'\"force\"))\n(let $3 (Configure! $2 $1 \'\"TimeOrderRecoverAhead\" \'\"20000000\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-20000000\"))\n(let $5 (DataSource \'\"pq\" \'\"myyds\"))\n(let $6 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $7 \'\"_yql_sys_tsp_write_time\")\n(let $8 (DataType \'String))\n(let $9 \'(\'\"Data\" $8))\n(let $10 (StructType $9))\n(let $11 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_input\" $6 \'(\'(\'\"system\" $7)) $10))\n(let $12 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $13 \'(\'\"SharedReading\" \'\"0\"))\n(let $14 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $15 \'($12 $13 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmr97fmk6n1gsk\") $14))\n(let $16 (SecureParam \'\"cluster:default_myyds\"))\n(let $17 (DataType \'Timestamp))\n(let $18 \'($7 $17))\n(let $19 (StructType $9 $18))\n(let $20 (DqPqTopicSource $4 $11 \'(\'\"Data\") $15 $16 \'\"\" $19 \'\"\"))\n(let $21 (OptionalType (DataType \'Json)))\n(let $22 (DqStage \'((DqSource $5 $20)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"raw\") \'(\'\"metadataColumns\" \'($7)) \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($13))))\n  (let $28 (DqSourceWideWrap $26 $5 $19 $27))\n  (return (FlatMap (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'\"Data\" $29) \'($7 $30)))) (lambda \'($31) (block \'(\n    (let $32 (SafeCast (Member $31 \'\"Data\") $21))\n    (let $33 (JsonValue $32 (Utf8 \'\"$.event_class\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (let $34 (JsonValue $32 (Utf8 \'\"$.time\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'($7 (Member $31 $7)) \'(\'event_class $33) \'(\'\"time\" $34))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210874))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_output\" $6 \'() $10))\n(let $25 (DqPqTopicSink $24 \'($12 $14) $16))\n(return (Commit! (DqQuery! $4 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'\"0\"))) (lambda \'($35) (block \'(\n  (let $36 (TimeOrderRecover $35 (lambda \'($45) (SafeCast (Member $45 \'\"time\") (OptionalType $17))) (Interval \'\"-20000000\") (Interval \'\"20000000\") (Uint32 \'\"1000000\")))\n  (let $37 (OptionalType (DataType \'Utf8)))\n  (let $38 (StructType $18 \'(\'event_class $37) \'(\'\"time\" $37)))\n  (let $39 \'\"MK8SCNMK8SCN24h0m0s\")\n  (let $40 \'($39))\n  (let $41 (MatchRecognizeMeasures $38 $40 \'()))\n  (let $42 (MatchRecognizeDefines $38 $40 $40 (lambda \'($49 $50 $51) (IsNotDistinctFrom (Member (Lookup (ToIndexDict $49) $51) \'event_class) (String \'\"ManagedKubernetesEvent\")))))\n  (let $43 (MatchRecognizeParams $41 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'(\'((MatchRecognizePattern \'(\'($39 \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"1\"))) \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"0\"))) $42))\n  (let $44 (MatchRecognizeCore (OrderedFlatMap $36 (lambda \'($46) (block \'(\n    (let $47 (AsStruct \'($7 (Member $46 $7)) \'(\'event_class (Member $46 \'event_class)) \'(\'\"time\" (Member $46 \'\"time\"))))\n    (return (OptionalIf (Not (Member $46 \'\"_yql_OutOfOrder\")) $47))\n  )))) (lambda \'($48) \'()) \'() $43 \'(\'(\'\"Streaming\" \'\"1\"))))\n  (return (FromFlow (FlatMap $44 (lambda \'($52) (block \'(\n    (let $53 (ResourceType \'\"Yson2.Node\"))\n    (let $54 \'($53 \'\"\" \'\"1\"))\n    (let $55 (ResourceType \'\"Yson2.Options\"))\n    (let $56 (OptionalType (DataType \'Bool)))\n    (let $57 (CallableType \'(\'\"4\") \'($21) $54 \'((OptionalType $55)) \'($56 \'\"SkipMapEntity\") \'($56 \'\"EncodeUtf8\") \'($56 \'\"WriteNanAsString\")))\n    (let $58 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $57 (VoidType) \'\"\" \'()))\n    (let $59 (StructType \'(\'\"_service\" $8) \'(\'\"action_state\" $8) \'(\'\"action_status\" $8) \'(\'\"action_type\" $8) \'(\'event_class $8) \'(\'\"event_type\" $8) \'(\'\"object_type\" $8) \'(\'\"reporter_type\" $8) \'(\'\"source\" $8) \'(\'\"subject_type\" $8)))\n    (let $60 (TupleType (TupleType $59) (StructType) (TupleType)))\n    (let $61 (CallableType \'() \'($53) \'($59)))\n    (let $62 \'(\'(\'\"strict\")))\n    (let $63 (Udf \'\"Yson2.From\" (Void) $60 \'\"\" $61 (VoidType) \'\"\" $62))\n    (let $64 (AsStruct \'(\'\"_service\" (String \'\"bank\")) \'(\'\"action_state\" (String \'\"finish\")) \'(\'\"action_status\" (String \'\"success\")) \'(\'\"action_type\" (String \'\"present\")) \'(\'event_class (String \'\"MK8SCreateNamespace\")) \'(\'\"event_type\" (String \'\"normalized\")) \'(\'\"object_type\" (String \'\"host\")) \'(\'\"reporter_type\" (String \'\"vmhost\")) \'(\'\"source\" (String \'\"mk8s\")) \'(\'\"subject_type\" (String \'\"user\"))))\n    (let $65 (CallableType \'(\'\"2\") \'($55) \'($56 \'\"AutoConvert\") \'($56 \'\"Strict\")))\n    (let $66 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $65 (VoidType) \'\"\" $62))\n    (return (Just (AsStruct \'(\'\"data\" (ToBytes (Unwrap (Apply $58 (Apply $63 $64) (Just (NamedApply $66 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'211379) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'\"0\" $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:01,188 - DEBUG - root - write_stream: Write topic pq_test_match_recognize_sink_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\032\021\"\0011*\014shard-000000\032\021\"\0012*\014shard-000000\032\021\"\0013*\014shard-000000\032\021\"\0014*\014shard-000000"
  }
}

2025-11-11 14:16:01,188 - INFO - root - write_stream: Data was written to pq_test_match_recognize_sink_v1_input: ['{"event_class": "ManagedKubernetesEvent", "time": "2024-01-03T00:00:00Z"}', '{"event_class": "ManagedKubernetesEvent", "time": "2024-01-03T00:00:15Z"}', '{"event_class": "ManagedKubernetesEvent", "time": "2024-01-03T00:00:30Z"}', '{"event_class": "ManagedKubernetesEvent", "time": "2024-01-03T00:00:45Z"}', '{"event_class": "ManagedKubernetesEvent", "time": "2024-01-03T00:01:00Z"}']
2025-11-11 14:16:01,189 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read
2025-11-11 14:16:01,190 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to pq_read.err
2025-11-11 14:16:01,191 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read', '--endpoint', 'localhost:23791', '--database', 'local', '--topic-path', 'pq_test_match_recognize_sink_v1_output', '--consumer-name', 'pq_test_match_recognize_sink_v1_consumer', '--disable-cluster-discovery', '--messages-count', '3', '--timeout', '30000ms', '--commit-after-processing']' in 'None' (waiting)
2025-11-11 14:16:01,192 - DEBUG - ya.test - execute: Command pid: 935337
2025-11-11 14:16:01,293 - DEBUG - ya.test - _wait: Process resource usage is not available as process finished before wait4 was called
2025-11-11 14:16:01,294 - DEBUG - ya.test - _save_outputs: Command (pid 935337) rc: 0
2025-11-11 14:16:01,294 - DEBUG - ya.test - _save_outputs: Command (pid 935337) elapsed time (sec): 0.1008908748626709
2025-11-11 14:16:01,294 - DEBUG - ya.test - _save_outputs: Command (pid 935337) wtime: 0.102
2025-11-11 14:16:01,294 - DEBUG - ya.test - _save_outputs: Command (pid 935337) output:
None
2025-11-11 14:16:01,295 - DEBUG - ya.test - _save_outputs: Command (pid 935337) errors:
2025-11-11T14:16:01.223621Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Starting read session
2025-11-11T14:16:01.223660Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Starting session to cluster null (localhost:23791)
2025-11-11T14:16:01.224313Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:01.224325Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:01.224330Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Reconnecting session to cluster null in 0.000000s
2025-11-11T14:16:01.230410Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Successfully connected. Initializing session
2025-11-11T14:16:01.233835Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Server session id: pq_test_match_recognize_sink_v1_consumer_1_2_11025022560658481095_v1
2025-11-11T14:16:01.233913Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:01.240186Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Confirm partition stream create. Partition stream id: 1. Cluster: "". Topic: "pq_test_match_recognize_sink_v1_output". Partition: 0. Read offset: (NULL)
2025-11-11T14:16:01.241332Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:01.241394Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 0 (0-2)
2025-11-11T14:16:01.241434Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-11-11T14:16:01.241449Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 0} (1-1)
2025-11-11T14:16:01.241457Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 1} (2-2)
2025-11-11T14:16:01.241526Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Commit offsets [0, 3). Partition stream id: 1
2025-11-11T14:16:01.241606Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] The application data is transferred to the client. Number of messages 3, size 717 bytes
2025-11-11T14:16:01.257276Z :DEBUG: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] [null] Committed response: cookies { assign_id: 1 partition_cookie: 1 }
Closing session. Got 3 messages
2025-11-11T14:16:01.257433Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Closing read session. Close timeout: 5.000000s
2025-11-11T14:16:01.257479Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:pq_test_match_recognize_sink_v1_output:0:1:2:3
2025-11-11T14:16:01.257488Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Counters: { Errors: 0 CurrentSessionLifetimeMs: 33 BytesRead: 717 MessagesRead: 3 BytesReadCompressed: 717 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
Session closed
2025-11-11T14:16:01.257692Z :NOTICE: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
Stopping driver...
Driver stopped. Exit
Session closed event: SessionClosed { Status: SUCCESS Issues: "<main>: Error: Session was gracefully closed " }
2025-11-11T14:16:01.257875Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Closing read session. Close timeout: 0.000000s
2025-11-11T14:16:01.257885Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:pq_test_match_recognize_sink_v1_output:0:1:2:3
2025-11-11T14:16:01.257893Z :INFO: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Counters: { Errors: 0 CurrentSessionLifetimeMs: 34 BytesRead: 717 MessagesRead: 3 BytesReadCompressed: 717 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:16:01.257927Z :NOTICE: [local] [local] [3af8aff4-e3e490c7-a1b1326-f3a159f7] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }

2025-11-11 14:16:01,295 - INFO - root - read_stream: Data was read from pq_test_match_recognize_sink_v1_output: ['{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}', '{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}', '{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}']
2025-11-11 14:16:01,295 - INFO - root - test_match_recognize_sink: Data was read: ['{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}', '{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}', '{"_service":"bank","action_state":"finish","action_status":"success","action_type":"present","event_class":"MK8SCreateNamespace","event_type":"normalized","object_type":"host","reporter_type":"vmhost","source":"mk8s","subject_type":"user"}']
2025-11-11 14:16:01,483 - DEBUG - root - control_query: Result: 
2025-11-11 14:16:01,494 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmr8po0js95ea9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870558
        nanos: 924697000
      }
      modified_at {
        seconds: 1762870561
        nanos: 477467000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870560
      nanos: 62000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmr8po0gai6gtt-ptqudslmr8po0js95ea9"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870558
      nanos: 924697000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA DisableAnsiInForEmptyOrNullableItemsCollections;\n            PRAGMA FeatureR010=\"prototype\";\n            PRAGMA config.flags(\"TimeOrderRecoverAhead\", \"20000000\");\n            PRAGMA config.flags(\"TimeOrderRecoverDelay\", \"-20000000\");\n            $parsed = SELECT JSON_VALUE(Cast(Data as Json), \"$.event_class\") as event_class, JSON_VALUE(Cast(Data as Json), \"$.time\") as time FROM myyds.`pq_test_match_recognize_sink_v1_input`;\n\n            $tojson = ($data) -> (ToBytes(Unwrap(Yson2::SerializeJson(Yson::From($data)))));\n\n            INSERT INTO bindings.my_binding\n            (SELECT $tojson(`result`) AS data FROM\n                (SELECT TableRow() AS `result` FROM (\n            SELECT \"bank\" AS _service, \"finish\" AS action_state, \"success\" AS action_status, \"present\" AS action_type,\n                \"MK8SCreateNamespace\" AS event_class, \"normalized\" AS event_type, \"host\" AS object_type, \"vmhost\" AS reporter_type, \"mk8s\" AS source, \"user\" AS subject_type\n            FROM (\n                SELECT * FROM ((\n                SELECT * FROM $parsed MATCH_RECOGNIZE(\n                    ORDER BY CAST(time as Timestamp)\n                    ONE ROW PER MATCH\n                    PATTERN (\n                        (MK8SCNMK8SCN24h0m0s)\n                    )\n                    DEFINE\n                        MK8SCNMK8SCN24h0m0s as ((MK8SCNMK8SCN24h0m0s.event_class IS NOT DISTINCT FROM \"ManagedKubernetesEvent\"))\n                )))) AS MATCHED\n            ))\n            )\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"TimeOrderRecover\"},{\"Name\":\"OrderedFlatMap\"},{\"Name\":\"MatchRecognizeCore\"},{\"Name\":\"FlatMap\"},{\"Name\":\"FromFlow\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  ast {
    data: "(\n(let $1 (DataSource \'\"config\"))\n(let $2 (Configure! world $1 \'\"DqEngine\" \'\"force\"))\n(let $3 (Configure! $2 $1 \'\"TimeOrderRecoverAhead\" \'\"20000000\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-20000000\"))\n(let $5 (DataSource \'\"pq\" \'\"myyds\"))\n(let $6 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $7 \'\"_yql_sys_tsp_write_time\")\n(let $8 (DataType \'String))\n(let $9 \'(\'\"Data\" $8))\n(let $10 (StructType $9))\n(let $11 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_input\" $6 \'(\'(\'\"system\" $7)) $10))\n(let $12 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $13 \'(\'\"SharedReading\" \'\"0\"))\n(let $14 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $15 \'($12 $13 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmr97fmk6n1gsk\") $14))\n(let $16 (SecureParam \'\"cluster:default_myyds\"))\n(let $17 (DataType \'Timestamp))\n(let $18 \'($7 $17))\n(let $19 (StructType $9 $18))\n(let $20 (DqPqTopicSource $4 $11 \'(\'\"Data\") $15 $16 \'\"\" $19 \'\"\"))\n(let $21 (OptionalType (DataType \'Json)))\n(let $22 (DqStage \'((DqSource $5 $20)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"raw\") \'(\'\"metadataColumns\" \'($7)) \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($13))))\n  (let $28 (DqSourceWideWrap $26 $5 $19 $27))\n  (return (FlatMap (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'\"Data\" $29) \'($7 $30)))) (lambda \'($31) (block \'(\n    (let $32 (SafeCast (Member $31 \'\"Data\") $21))\n    (let $33 (JsonValue $32 (Utf8 \'\"$.event_class\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (let $34 (JsonValue $32 (Utf8 \'\"$.time\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'($7 (Member $31 $7)) \'(\'event_class $33) \'(\'\"time\" $34))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210874))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_output\" $6 \'() $10))\n(let $25 (DqPqTopicSink $24 \'($12 $14) $16))\n(return (Commit! (DqQuery! $4 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'\"0\"))) (lambda \'($35) (block \'(\n  (let $36 (TimeOrderRecover $35 (lambda \'($45) (SafeCast (Member $45 \'\"time\") (OptionalType $17))) (Interval \'\"-20000000\") (Interval \'\"20000000\") (Uint32 \'\"1000000\")))\n  (let $37 (OptionalType (DataType \'Utf8)))\n  (let $38 (StructType $18 \'(\'event_class $37) \'(\'\"time\" $37)))\n  (let $39 \'\"MK8SCNMK8SCN24h0m0s\")\n  (let $40 \'($39))\n  (let $41 (MatchRecognizeMeasures $38 $40 \'()))\n  (let $42 (MatchRecognizeDefines $38 $40 $40 (lambda \'($49 $50 $51) (IsNotDistinctFrom (Member (Lookup (ToIndexDict $49) $51) \'event_class) (String \'\"ManagedKubernetesEvent\")))))\n  (let $43 (MatchRecognizeParams $41 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'(\'((MatchRecognizePattern \'(\'($39 \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"1\"))) \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"0\"))) $42))\n  (let $44 (MatchRecognizeCore (OrderedFlatMap $36 (lambda \'($46) (block \'(\n    (let $47 (AsStruct \'($7 (Member $46 $7)) \'(\'event_class (Member $46 \'event_class)) \'(\'\"time\" (Member $46 \'\"time\"))))\n    (return (OptionalIf (Not (Member $46 \'\"_yql_OutOfOrder\")) $47))\n  )))) (lambda \'($48) \'()) \'() $43 \'(\'(\'\"Streaming\" \'\"1\"))))\n  (return (FromFlow (FlatMap $44 (lambda \'($52) (block \'(\n    (let $53 (ResourceType \'\"Yson2.Node\"))\n    (let $54 \'($53 \'\"\" \'\"1\"))\n    (let $55 (ResourceType \'\"Yson2.Options\"))\n    (let $56 (OptionalType (DataType \'Bool)))\n    (let $57 (CallableType \'(\'\"4\") \'($21) $54 \'((OptionalType $55)) \'($56 \'\"SkipMapEntity\") \'($56 \'\"EncodeUtf8\") \'($56 \'\"WriteNanAsString\")))\n    (let $58 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $57 (VoidType) \'\"\" \'()))\n    (let $59 (StructType \'(\'\"_service\" $8) \'(\'\"action_state\" $8) \'(\'\"action_status\" $8) \'(\'\"action_type\" $8) \'(\'event_class $8) \'(\'\"event_type\" $8) \'(\'\"object_type\" $8) \'(\'\"reporter_type\" $8) \'(\'\"source\" $8) \'(\'\"subject_type\" $8)))\n    (let $60 (TupleType (TupleType $59) (StructType) (TupleType)))\n    (let $61 (CallableType \'() \'($53) \'($59)))\n    (let $62 \'(\'(\'\"strict\")))\n    (let $63 (Udf \'\"Yson2.From\" (Void) $60 \'\"\" $61 (VoidType) \'\"\" $62))\n    (let $64 (AsStruct \'(\'\"_service\" (String \'\"bank\")) \'(\'\"action_state\" (String \'\"finish\")) \'(\'\"action_status\" (String \'\"success\")) \'(\'\"action_type\" (String \'\"present\")) \'(\'event_class (String \'\"MK8SCreateNamespace\")) \'(\'\"event_type\" (String \'\"normalized\")) \'(\'\"object_type\" (String \'\"host\")) \'(\'\"reporter_type\" (String \'\"vmhost\")) \'(\'\"source\" (String \'\"mk8s\")) \'(\'\"subject_type\" (String \'\"user\"))))\n    (let $65 (CallableType \'(\'\"2\") \'($55) \'($56 \'\"AutoConvert\") \'($56 \'\"Strict\")))\n    (let $66 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $65 (VoidType) \'\"\" $62))\n    (return (Just (AsStruct \'(\'\"data\" (ToBytes (Unwrap (Apply $58 (Apply $63 $64) (Just (NamedApply $66 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'211379) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'\"0\" $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:02,006 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:02,512 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:03,026 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmr8po0js95ea9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870558
        nanos: 924697000
      }
      modified_at {
        seconds: 1762870561
        nanos: 477467000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870560
      nanos: 62000000
    }
    finished_at {
      seconds: 1762870562
      nanos: 480000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmr8po0gai6gtt-ptqudslmr8po0js95ea9"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870558
      nanos: 924697000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA DisableAnsiInForEmptyOrNullableItemsCollections;\n            PRAGMA FeatureR010=\"prototype\";\n            PRAGMA config.flags(\"TimeOrderRecoverAhead\", \"20000000\");\n            PRAGMA config.flags(\"TimeOrderRecoverDelay\", \"-20000000\");\n            $parsed = SELECT JSON_VALUE(Cast(Data as Json), \"$.event_class\") as event_class, JSON_VALUE(Cast(Data as Json), \"$.time\") as time FROM myyds.`pq_test_match_recognize_sink_v1_input`;\n\n            $tojson = ($data) -> (ToBytes(Unwrap(Yson2::SerializeJson(Yson::From($data)))));\n\n            INSERT INTO bindings.my_binding\n            (SELECT $tojson(`result`) AS data FROM\n                (SELECT TableRow() AS `result` FROM (\n            SELECT \"bank\" AS _service, \"finish\" AS action_state, \"success\" AS action_status, \"present\" AS action_type,\n                \"MK8SCreateNamespace\" AS event_class, \"normalized\" AS event_type, \"host\" AS object_type, \"vmhost\" AS reporter_type, \"mk8s\" AS source, \"user\" AS subject_type\n            FROM (\n                SELECT * FROM ((\n                SELECT * FROM $parsed MATCH_RECOGNIZE(\n                    ORDER BY CAST(time as Timestamp)\n                    ONE ROW PER MATCH\n                    PATTERN (\n                        (MK8SCNMK8SCN24h0m0s)\n                    )\n                    DEFINE\n                        MK8SCNMK8SCN24h0m0s as ((MK8SCNMK8SCN24h0m0s.event_class IS NOT DISTINCT FROM \"ManagedKubernetesEvent\"))\n                )))) AS MATCHED\n            ))\n            )\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"TimeOrderRecover\"},{\"Name\":\"OrderedFlatMap\"},{\"Name\":\"MatchRecognizeCore\"},{\"Name\":\"FlatMap\"},{\"Name\":\"FromFlow\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  issue {
    message: "ABORTED_BY_USER"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  ast {
    data: "(\n(let $1 (DataSource \'\"config\"))\n(let $2 (Configure! world $1 \'\"DqEngine\" \'\"force\"))\n(let $3 (Configure! $2 $1 \'\"TimeOrderRecoverAhead\" \'\"20000000\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-20000000\"))\n(let $5 (DataSource \'\"pq\" \'\"myyds\"))\n(let $6 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $7 \'\"_yql_sys_tsp_write_time\")\n(let $8 (DataType \'String))\n(let $9 \'(\'\"Data\" $8))\n(let $10 (StructType $9))\n(let $11 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_input\" $6 \'(\'(\'\"system\" $7)) $10))\n(let $12 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $13 \'(\'\"SharedReading\" \'\"0\"))\n(let $14 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $15 \'($12 $13 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmr97fmk6n1gsk\") $14))\n(let $16 (SecureParam \'\"cluster:default_myyds\"))\n(let $17 (DataType \'Timestamp))\n(let $18 \'($7 $17))\n(let $19 (StructType $9 $18))\n(let $20 (DqPqTopicSource $4 $11 \'(\'\"Data\") $15 $16 \'\"\" $19 \'\"\"))\n(let $21 (OptionalType (DataType \'Json)))\n(let $22 (DqStage \'((DqSource $5 $20)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"raw\") \'(\'\"metadataColumns\" \'($7)) \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($13))))\n  (let $28 (DqSourceWideWrap $26 $5 $19 $27))\n  (return (FlatMap (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'\"Data\" $29) \'($7 $30)))) (lambda \'($31) (block \'(\n    (let $32 (SafeCast (Member $31 \'\"Data\") $21))\n    (let $33 (JsonValue $32 (Utf8 \'\"$.event_class\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (let $34 (JsonValue $32 (Utf8 \'\"$.time\") (EmptyDict) \'DefaultValue (Null) \'DefaultValue (Null)))\n    (return (Just (AsStruct \'($7 (Member $31 $7)) \'(\'event_class $33) \'(\'\"time\" $34))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'210874))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"pq_test_match_recognize_sink_v1_output\" $6 \'() $10))\n(let $25 (DqPqTopicSink $24 \'($12 $14) $16))\n(return (Commit! (DqQuery! $4 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'\"0\"))) (lambda \'($35) (block \'(\n  (let $36 (TimeOrderRecover $35 (lambda \'($45) (SafeCast (Member $45 \'\"time\") (OptionalType $17))) (Interval \'\"-20000000\") (Interval \'\"20000000\") (Uint32 \'\"1000000\")))\n  (let $37 (OptionalType (DataType \'Utf8)))\n  (let $38 (StructType $18 \'(\'event_class $37) \'(\'\"time\" $37)))\n  (let $39 \'\"MK8SCNMK8SCN24h0m0s\")\n  (let $40 \'($39))\n  (let $41 (MatchRecognizeMeasures $38 $40 \'()))\n  (let $42 (MatchRecognizeDefines $38 $40 $40 (lambda \'($49 $50 $51) (IsNotDistinctFrom (Member (Lookup (ToIndexDict $49) $51) \'event_class) (String \'\"ManagedKubernetesEvent\")))))\n  (let $43 (MatchRecognizeParams $41 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'(\'((MatchRecognizePattern \'(\'($39 \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"1\"))) \'\"1\" \'\"1\" \'\"1\" \'\"1\" \'\"0\"))) $42))\n  (let $44 (MatchRecognizeCore (OrderedFlatMap $36 (lambda \'($46) (block \'(\n    (let $47 (AsStruct \'($7 (Member $46 $7)) \'(\'event_class (Member $46 \'event_class)) \'(\'\"time\" (Member $46 \'\"time\"))))\n    (return (OptionalIf (Not (Member $46 \'\"_yql_OutOfOrder\")) $47))\n  )))) (lambda \'($48) \'()) \'() $43 \'(\'(\'\"Streaming\" \'\"1\"))))\n  (return (FromFlow (FlatMap $44 (lambda \'($52) (block \'(\n    (let $53 (ResourceType \'\"Yson2.Node\"))\n    (let $54 \'($53 \'\"\" \'\"1\"))\n    (let $55 (ResourceType \'\"Yson2.Options\"))\n    (let $56 (OptionalType (DataType \'Bool)))\n    (let $57 (CallableType \'(\'\"4\") \'($21) $54 \'((OptionalType $55)) \'($56 \'\"SkipMapEntity\") \'($56 \'\"EncodeUtf8\") \'($56 \'\"WriteNanAsString\")))\n    (let $58 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $57 (VoidType) \'\"\" \'()))\n    (let $59 (StructType \'(\'\"_service\" $8) \'(\'\"action_state\" $8) \'(\'\"action_status\" $8) \'(\'\"action_type\" $8) \'(\'event_class $8) \'(\'\"event_type\" $8) \'(\'\"object_type\" $8) \'(\'\"reporter_type\" $8) \'(\'\"source\" $8) \'(\'\"subject_type\" $8)))\n    (let $60 (TupleType (TupleType $59) (StructType) (TupleType)))\n    (let $61 (CallableType \'() \'($53) \'($59)))\n    (let $62 \'(\'(\'\"strict\")))\n    (let $63 (Udf \'\"Yson2.From\" (Void) $60 \'\"\" $61 (VoidType) \'\"\" $62))\n    (let $64 (AsStruct \'(\'\"_service\" (String \'\"bank\")) \'(\'\"action_state\" (String \'\"finish\")) \'(\'\"action_status\" (String \'\"success\")) \'(\'\"action_type\" (String \'\"present\")) \'(\'event_class (String \'\"MK8SCreateNamespace\")) \'(\'\"event_type\" (String \'\"normalized\")) \'(\'\"object_type\" (String \'\"host\")) \'(\'\"reporter_type\" (String \'\"vmhost\")) \'(\'\"source\" (String \'\"mk8s\")) \'(\'\"subject_type\" (String \'\"user\"))))\n    (let $65 (CallableType \'(\'\"2\") \'($55) \'($56 \'\"AutoConvert\") \'($56 \'\"Strict\")))\n    (let $66 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $65 (VoidType) \'\"\" $62))\n    (return (Just (AsStruct \'(\'\"data\" (ToBytes (Unwrap (Apply $58 (Apply $63 $64) (Just (NamedApply $66 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'211379) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'\"0\" $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:03,028 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-11 14:16:10,031 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:14495/1
2025-11-11 14:16:10,032 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25471
2025-11-11 14:16:10,032 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22910
2025-11-11 14:16:10,033 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24712
2025-11-11 14:16:10,033 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14495
2025-11-11 14:16:10,033 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16483
2025-11-11 14:16:10,034 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28799
