2025-11-11 14:16:20,851 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:16:20,852 - INFO - ya.test - pytest_runtest_setup: test_match_recognize[v1-kikimr0]
2025-11-11 14:16:20,852 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:16:20,852 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 14:16:20,854 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29243
2025-11-11 14:16:20,855 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/21697
2025-11-11 14:16:20,905 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd
2025-11-11 14:16:20,906 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19710
2025-11-11 14:16:20,907 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/26632
2025-11-11 14:16:20,962 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd
2025-11-11 14:16:20,963 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/20214
2025-11-11 14:16:20,964 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13341
2025-11-11 14:16:20,964 - 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:16:20,966 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 14:16:20,967 - 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:16:20,974 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-11 14:16:20,975 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 72da5583-027a-4e66-ac34-8621e8d11083, localhost:18945): creating call state
2025-11-11 14:16:20,977 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 72da5583-027a-4e66-ac34-8621e8d11083, localhost:18945): request = { database: "local" }
2025-11-11 14:16:20,983 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 72da5583-027a-4e66-ac34-8621e8d11083, localhost:18945): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-vb3yoermsa.auto.internal" port: 18945 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:16:20,984 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-vb3yoermsa.auto.internal:18945, location 1, ssl: False>]>
2025-11-11 14:16:20,985 - 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:16:20,991 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18945
2025-11-11 14:16:20,992 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 14:16:20,993 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f8175c77ad0 state=pending>
2025-11-11 14:16:20,993 - 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:16:20,993 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:20,993 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:20,994 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 8c40bf09-d8fa-47a3-8011-5a5d568af972, ghrun-vb3yoermsa.auto.internal:18945): creating call state
2025-11-11 14:16:20,994 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 8c40bf09-d8fa-47a3-8011-5a5d568af972, ghrun-vb3yoermsa.auto.internal:18945): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 14:16:20,997 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8c40bf09-d8fa-47a3-8011-5a5d568af972, ghrun-vb3yoermsa.auto.internal:18945): on response callback started
2025-11-11 14:16:20,997 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 8c40bf09-d8fa-47a3-8011-5a5d568af972, ghrun-vb3yoermsa.auto.internal:18945): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=NTZlNGRhMDktNDI4MzY5N2MtNDI3YWUxOTgtZDNhNjY4NzM=" } } } }
2025-11-11 14:16:20,998 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:20,998 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:20,998 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, aad52036-f135-40ca-98a4-714ba80aa456, ghrun-vb3yoermsa.auto.internal:18945): creating call state
2025-11-11 14:16:21,001 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8c40bf09-d8fa-47a3-8011-5a5d568af972, ghrun-vb3yoermsa.auto.internal:18945): on response callback success
2025-11-11 14:16:21,002 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, aad52036-f135-40ca-98a4-714ba80aa456, ghrun-vb3yoermsa.auto.internal:18945): request = { session_id: "ydb://session/3?node_id=1&id=NTZlNGRhMDktNDI4MzY5N2MtNDI3YWUxOTgtZDNhNjY4NzM=" path: "local/DbPoolStorage_08d0032e-8da0-42da-8701-e6ee56c9efdb/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:16:21,032 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, aad52036-f135-40ca-98a4-714ba80aa456, ghrun-vb3yoermsa.auto.internal:18945): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:16:21,033 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:21,034 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 00175b69-121c-4d48-95bd-6ed19fd22cca, ghrun-vb3yoermsa.auto.internal:18945): creating call state
2025-11-11 14:16:21,035 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 00175b69-121c-4d48-95bd-6ed19fd22cca, ghrun-vb3yoermsa.auto.internal:18945): request = { session_id: "ydb://session/3?node_id=1&id=NTZlNGRhMDktNDI4MzY5N2MtNDI3YWUxOTgtZDNhNjY4NzM=" path: "local/DbPoolStorage_08d0032e-8da0-42da-8701-e6ee56c9efdb/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:16:21,059 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 00175b69-121c-4d48-95bd-6ed19fd22cca, ghrun-vb3yoermsa.auto.internal:18945): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:16:21,060 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:21,061 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, b59f3235-0373-4e1d-b03f-ce86ae157091, ghrun-vb3yoermsa.auto.internal:18945): creating call state
2025-11-11 14:16:21,062 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, b59f3235-0373-4e1d-b03f-ce86ae157091, ghrun-vb3yoermsa.auto.internal:18945): request = { session_id: "ydb://session/3?node_id=1&id=NTZlNGRhMDktNDI4MzY5N2MtNDI3YWUxOTgtZDNhNjY4NzM=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_08d0032e-8da0-42da-8701-e6ee56c9efdb\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/compute\", \"/compute\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:16:21,083 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, b59f3235-0373-4e1d-b03f-ce86ae157091, ghrun-vb3yoermsa.auto.internal:18945): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-11 14:16:21,084 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f8175a29370>
2025-11-11 14:16:21,138 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd
2025-11-11 14:16:21,140 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4327
2025-11-11 14:16:21,140 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16615
2025-11-11 14:16:21,140 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25185
2025-11-11 14:16:21,141 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/kikimr_configs"
2025-11-11 14:16:21,141 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/cp --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/node_1/logfile_9rn_g42f.log --grpc-port=13341 --mon-port=4327 --ic-port=19710
2025-11-11 14:16:21,142 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/kikimr_configs"
2025-11-11 14:16:21,142 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/cp --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/node_1/logfile_9rn_g42f.log --grpc-port=13341 --mon-port=4327 --ic-port=19710
2025-11-11 14:16:21,143 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/kikimr_configs/config.yaml', '--node=1', '--tenant=/cp', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/node_1/logfile_9rn_g42f.log', '--grpc-port=13341', '--mon-port=4327', '--ic-port=19710')' in '/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/cp/node_1' (no wait)
2025-11-11 14:16:21,145 - DEBUG - ya.test - execute: Command pid: 948548
2025-11-11 14:16:21,146 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:13341/1
2025-11-11 14:16:21,147 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.4
2025-11-11 14:16:21,147 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.4
2025-11-11 14:16:21,147 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:16:21,148 - DEBUG - ya.test - execute: Command pid: 948549
2025-11-11 14:16:22,569 - DEBUG - ya.test - _save_outputs: Command (pid 948549) rc: 0
2025-11-11 14:16:22,570 - DEBUG - ya.test - _save_outputs: Command (pid 948549) elapsed time (sec): 1.4208948612213135
2025-11-11 14:16:22,570 - DEBUG - ya.test - _save_outputs: Command (pid 948549) idrss: 0
2025-11-11 14:16:22,570 - DEBUG - ya.test - _save_outputs: Command (pid 948549) inblock: 0
2025-11-11 14:16:22,570 - DEBUG - ya.test - _save_outputs: Command (pid 948549) isrss: 0
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) ixrss: 0
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) majflt: 1
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) maxrss: 541052
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) minflt: 16173
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) msgrcv: 0
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) msgsnd: 0
2025-11-11 14:16:22,571 - DEBUG - ya.test - _save_outputs: Command (pid 948549) nivcsw: 45
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) nsignals: 0
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) nswap: 0
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) nvcsw: 17
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) oublock: 8
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) stime: 1.252886
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) utime: 0.10787899999999999
2025-11-11 14:16:22,572 - DEBUG - ya.test - _save_outputs: Command (pid 948549) wtime: 1.422
2025-11-11 14:16:22,573 - DEBUG - ya.test - _save_outputs: Command (pid 948549) 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:16:22,573 - DEBUG - ya.test - _save_outputs: Command (pid 948549) errors:

2025-11-11 14:16:22,573 - 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:16:22,574 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-11 14:16:22,661 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd
2025-11-11 14:16:22,662 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2680
2025-11-11 14:16:22,663 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2905
2025-11-11 14:16:22,663 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5974
2025-11-11 14:16:22,664 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/62847
2025-11-11 14:16:22,664 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/kikimr_configs"
2025-11-11 14:16:22,664 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/compute --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1/logfile_c864ppo7.log --grpc-port=2680 --mon-port=2905 --ic-port=20214
2025-11-11 14:16:22,665 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/kikimr_configs"
2025-11-11 14:16:22,665 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/compute --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1/logfile_c864ppo7.log --grpc-port=2680 --mon-port=2905 --ic-port=20214
2025-11-11 14:16:22,666 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/kikimr_configs/config.yaml', '--node=1', '--tenant=/compute', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1/logfile_c864ppo7.log', '--grpc-port=2680', '--mon-port=2905', '--ic-port=20214')' in '/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1' (no wait)
2025-11-11 14:16:22,668 - DEBUG - ya.test - execute: Command pid: 949538
2025-11-11 14:16:22,668 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:2680/1
2025-11-11 14:16:22,669 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.5
2025-11-11 14:16:22,670 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.5
2025-11-11 14:16:22,670 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:16:22,671 - DEBUG - ya.test - execute: Command pid: 949539
2025-11-11 14:16:24,319 - DEBUG - ya.test - _save_outputs: Command (pid 949539) rc: 0
2025-11-11 14:16:24,319 - DEBUG - ya.test - _save_outputs: Command (pid 949539) elapsed time (sec): 1.6475794315338135
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) idrss: 0
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) inblock: 0
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) isrss: 0
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) ixrss: 0
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) majflt: 0
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) maxrss: 541036
2025-11-11 14:16:24,320 - DEBUG - ya.test - _save_outputs: Command (pid 949539) minflt: 18037
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) msgrcv: 0
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) msgsnd: 0
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) nivcsw: 50
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) nsignals: 0
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) nswap: 0
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) nvcsw: 21
2025-11-11 14:16:24,321 - DEBUG - ya.test - _save_outputs: Command (pid 949539) oublock: 8
2025-11-11 14:16:24,322 - DEBUG - ya.test - _save_outputs: Command (pid 949539) stime: 1.4804249999999999
2025-11-11 14:16:24,322 - DEBUG - ya.test - _save_outputs: Command (pid 949539) utime: 0.10403
2025-11-11 14:16:24,322 - DEBUG - ya.test - _save_outputs: Command (pid 949539) wtime: 1.649
2025-11-11 14:16:24,322 - DEBUG - ya.test - _save_outputs: Command (pid 949539) 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:16:24,322 - DEBUG - ya.test - _save_outputs: Command (pid 949539) errors:

2025-11-11 14:16:24,323 - 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:16:24,323 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-11 14:16:24,328 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_recovery_match_recognize.py::TestRecoveryMatchRecognize, test_name: test_match_recognize[v1-kikimr0])
2025-11-11 14:16:24,330 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_match_recognize[v1-kikimr0]_v1_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:24,351 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:24,351 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:24,353 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_match_recognize[v1-kikimr0]_v1_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:24,373 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:24,373 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:24,386 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:24,387 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:24,764 - DEBUG - root - create_query_impl: Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "37d3598f-8843-4590-8c7d-2ecc703c01ee"

2025-11-11 14:16:24,890 - DEBUG - root - create_query_impl: Result: query_id: "ptqudslmqg51s4dps1p1"

2025-11-11 14:16:24,926 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqg51s4dps1p1"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870584
        nanos: 768551000
      }
      modified_at {
        seconds: 1762870584
        nanos: 768551000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqg51s0m6i248-ptqudslmqg51s4dps1p1"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870584
      nanos: 768551000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
    syntax: YQL_V1
  }
}

2025-11-11 14:16:25,432 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:25,941 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqg51s4dps1p1"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870584
        nanos: 768551000
      }
      modified_at {
        seconds: 1762870584
        nanos: 768551000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870585
      nanos: 750000000
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqg51s0m6i248-ptqudslmqg51s4dps1p1"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870584
      nanos: 768551000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
    syntax: YQL_V1
  }
}

2025-11-11 14:16:26,446 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqg51s4dps1p1"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870584
        nanos: 768551000
      }
      modified_at {
        seconds: 1762870584
        nanos: 768551000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870585
      nanos: 750000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqg51s0m6i248-ptqudslmqg51s4dps1p1"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870584
      nanos: 768551000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"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}]}}"
  }
  transient_issue {
    message: "Parse Sql"
    severity: 2
    issues {
      position {
        row: 10
        column: 41
      }
      message: "Json UDF is deprecated. Please use JSON API instead"
      end_position {
        row: 10
        column: 41
      }
      issue_code: 4506
      severity: 2
    }
  }
  ast {
    data: "(\n(let $1 (DataSource \'\"config\"))\n(let $2 (Configure! world $1 \'\"DqEngine\" \'\"force\"))\n(let $3 (Configure! $2 (DataSource \'\"dq\" \'\"$all\") \'\"Attr\" \'\"maxtasksperstage\" \'\"2\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-1000000\"))\n(let $5 (Configure! $4 $1 \'\"TimeOrderRecoverAhead\" \'\"1000000\"))\n(let $6 (Configure! $5 $1 \'\"MatchRecognizeStream\" \'\"auto\"))\n(let $7 (DataSource \'\"pq\" \'\"myyds\"))\n(let $8 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $9 (OptionalType (DataType \'Uint64)))\n(let $10 \'(\'dt $9))\n(let $11 (DataType \'String))\n(let $12 (OptionalType $11))\n(let $13 \'(\'str $12))\n(let $14 (StructType $10 $13))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_input\" $8 \'() $14))\n(let $16 \'(\'\"Endpoint\" \'\"localhost:18945\"))\n(let $17 \'(\'\"SharedReading\" \'0))\n(let $18 \'(\'\"AddBearerToToken\" \'1))\n(let $19 \'($16 $17 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"json_each_row\") \'(\'\"ReadGroup\" \'\"ptcudslmqgdtothvo4f4\") $18))\n(let $20 (SecureParam \'\"cluster:default_myyds\"))\n(let $21 (DqPqTopicSource $6 $15 \'(\'dt \'str) $19 $20 \'\"\" $14 \'\"\"))\n(let $22 (DqStage \'((DqSource $7 $21)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"json_each_row\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($17))))\n  (let $28 (DqSourceWideWrap $26 $7 $14 $27))\n  (return (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'dt $29) \'(\'str $30)))))\n))) \'(\'(\'\"_logical_id\" \'210864))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_output\" $8 \'() (StructType \'(\'\"Data\" $11))))\n(let $25 (DqPqTopicSink $24 \'($16 $18) $20))\n(return (Commit! (DqQuery! $6 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'0))) (lambda \'($31) (block \'(\n  (let $32 (TimeOrderRecover $31 (lambda \'($47) (SafeCast (Member $47 \'dt) (OptionalType (DataType \'Timestamp)))) (Interval \'\"-1000000\") (Interval \'\"1000000\") (Uint32 \'\"1000000\")))\n  (let $33 \'(\'\"A\" \'\"B\" \'\"C\"))\n  (let $34 \'(\'\"dt_begin\" \'\"dt_end\" \'\"a_str\" \'\"b_str\" \'\"c_str\"))\n  (let $35 (lambda \'($52) (ListFromRange (Member $52 \'\"From\") (+ (Member $52 \'\"To\") (Uint64 \'1)) (Int64 \'1))))\n  (let $36 (lambda \'($57) $57))\n  (let $37 (AggregationTraits (StructType $10) (lambda \'($54) (Member $54 \'dt)) (lambda \'($55 $56) (Coalesce (Member $55 \'dt) $56)) $36 $36 (lambda \'($58 $59) (Coalesce $58 $59)) $36 (Null)))\n  (let $38 (lambda \'($69) $69))\n  (let $39 (AggregationTraits (StructType $13) (lambda \'($66) (Member $66 \'str)) (lambda \'($67 $68) (Coalesce (Member $67 \'str) $68)) $38 $38 (lambda \'($70 $71) (Coalesce $70 $71)) $38 (Null)))\n  (let $40 (MatchRecognizeMeasures $14 $33 $34 (lambda \'($50 $51) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $51 \'\"A\") $35) (lambda \'($53) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $50) $53)) \'dt)))))) \'() \'(\'(\'Last0 $37)) \'())) \'Last0)) (lambda \'($60 $61) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $61 \'\"C\") $35) (lambda \'($62) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $60) $62)) \'dt)))))) \'() \'(\'(\'Last1 $37)) \'())) \'Last1)) (lambda \'($63 $64) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $64 \'\"A\") $35) (lambda \'($65) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $63) $65)) \'str)))))) \'() \'(\'(\'Last2 $39)) \'())) \'Last2)) (lambda \'($72 $73) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $73 \'\"B\") $35) (lambda \'($74) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $72) $74)) \'str)))))) \'() \'(\'(\'Last3 $39)) \'())) \'Last3)) (lambda \'($75 $76) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $76 \'\"C\") $35) (lambda \'($77) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $75) $77)) \'str)))))) \'() \'(\'(\'Last4 $39)) \'())) \'Last4))))\n  (let $41 \'(\'\"A\" \'1 \'1 \'1 \'1 \'0))\n  (let $42 \'(\'\"B\" \'1 \'1 \'1 \'1 \'0))\n  (let $43 \'(\'\"C\" \'1 \'1 \'1 \'1 \'0))\n  (let $44 (MatchRecognizeDefines $14 $33 $33 (lambda \'($78 $79 $80) (== (Member (Lookup (ToIndexDict $78) $80) \'str) (String \'\"A\"))) (lambda \'($81 $82 $83) (== (Member (Lookup (ToIndexDict $81) $83) \'str) (String \'\"B\"))) (lambda \'($84 $85 $86) (== (Member (Lookup (ToIndexDict $84) $86) \'str) (String \'\"C\")))))\n  (let $45 (MatchRecognizeParams $40 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'($41 $42 $43)) $44))\n  (let $46 (MatchRecognizeCore (OrderedFlatMap $32 (lambda \'($48) (OptionalIf (Not (Member $48 \'\"_yql_OutOfOrder\")) (AsStruct \'(\'dt (Member $48 \'dt)) \'(\'str (Member $48 \'str)))))) (lambda \'($49) \'()) \'() $45 \'(\'(\'\"Streaming\" \'1))))\n  (return (FromFlow (FlatMap $46 (lambda \'($87) (block \'(\n    (let $88 (ResourceType \'\"Yson2.Node\"))\n    (let $89 \'($88 \'\"\" \'1))\n    (let $90 (ResourceType \'\"Yson2.Options\"))\n    (let $91 (OptionalType (DataType \'Bool)))\n    (let $92 (CallableType \'(\'\"4\") \'((OptionalType (DataType \'Json))) $89 \'((OptionalType $90)) \'($91 \'\"SkipMapEntity\") \'($91 \'\"EncodeUtf8\") \'($91 \'\"WriteNanAsString\")))\n    (let $93 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $92 (VoidType) \'\"\" \'()))\n    (let $94 (StructType \'(\'\"a_str\" $12) \'(\'\"b_str\" $12) \'(\'\"c_str\" $12) \'(\'\"dt_begin\" $9) \'(\'\"dt_end\" $9)))\n    (let $95 (TupleType (TupleType $94) (StructType) (TupleType)))\n    (let $96 (CallableType \'() \'($88) \'($94)))\n    (let $97 \'(\'(\'\"strict\")))\n    (let $98 (Udf \'\"Yson2.From\" (Void) $95 \'\"\" $96 (VoidType) \'\"\" $97))\n    (let $99 (CallableType \'(\'\"2\") \'($90) \'($91 \'\"AutoConvert\") \'($91 \'\"Strict\")))\n    (let $100 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $99 (VoidType) \'\"\" $97))\n    (return (Just (AsStruct \'(\'\"column0\" (ToBytes (Unwrap (Apply $93 (Apply $98 $87) (Just (NamedApply $100 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'213640) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'0 $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:27,512 - DEBUG - root - write_stream: Write topic test_match_recognize[v1-kikimr0]_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"
  }
}

2025-11-11 14:16:27,512 - INFO - root - write_stream: Data was written to test_match_recognize[v1-kikimr0]_v1_input: ['{"dt": 1696849942000001, "str": "A" }', '{"dt": 1696849942500001, "str": "B" }', '{"dt": 1696849943000001, "str": "C" }', '{"dt": 1696849943600001, "str": "D" }']
2025-11-11 14:16:27,519 - DEBUG - root - recovery_impl: get_completed_checkpoints 2
2025-11-11 14:16:28,551 - DEBUG - root - restart_node: Restart compute node 1
2025-11-11 14:16:29,552 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2680/1
2025-11-11 14:16:29,553 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/kikimr_configs"
2025-11-11 14:16:29,553 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/compute --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1/logfile_c864ppo7.log --grpc-port=2680 --mon-port=2905 --ic-port=20214
2025-11-11 14:16:29,554 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/kikimr_configs/config.yaml', '--node=1', '--tenant=/compute', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1/logfile_c864ppo7.log', '--grpc-port=2680', '--mon-port=2905', '--ic-port=20214')' in '/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk15/testing_out_stuff/test_recovery_match_recognize.py.TestRecoveryMatchRecognize.test_match_recognize.v1-kikimr0/compute/node_1' (no wait)
2025-11-11 14:16:29,556 - DEBUG - ya.test - execute: Command pid: 953814
2025-11-11 14:16:29,556 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:2680/1
2025-11-11 14:16:29,557 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.6
2025-11-11 14:16:29,557 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.6
2025-11-11 14:16:29,557 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001793/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:16:29,558 - DEBUG - ya.test - execute: Command pid: 953815
2025-11-11 14:16:30,215 - DEBUG - ya.test - _save_outputs: Command (pid 953815) rc: 0
2025-11-11 14:16:30,215 - DEBUG - ya.test - _save_outputs: Command (pid 953815) elapsed time (sec): 0.6562132835388184
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) idrss: 0
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) inblock: 0
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) isrss: 0
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) ixrss: 0
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) majflt: 0
2025-11-11 14:16:30,216 - DEBUG - ya.test - _save_outputs: Command (pid 953815) maxrss: 541060
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) minflt: 16171
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) msgrcv: 0
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) msgsnd: 0
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) nivcsw: 4
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) nsignals: 0
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) nswap: 0
2025-11-11 14:16:30,217 - DEBUG - ya.test - _save_outputs: Command (pid 953815) nvcsw: 13
2025-11-11 14:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) oublock: 8
2025-11-11 14:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) stime: 0.5198889999999999
2025-11-11 14:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) utime: 0.08798099999999999
2025-11-11 14:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) wtime: 0.657
2025-11-11 14:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) 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:16:30,218 - DEBUG - ya.test - _save_outputs: Command (pid 953815) errors:

2025-11-11 14:16:30,218 - 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:16:30,219 - DEBUG - root - wait_bootstrap: Wait for node 1 to bootstrap
2025-11-11 14:16:32,088 - DEBUG - root - wait_bootstrap: Node 1 has been bootstrapped
2025-11-11 14:16:32,098 - DEBUG - root - write_stream: Write topic test_match_recognize[v1-kikimr0]_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0014*\014shard-000000"
  }
}

2025-11-11 14:16:32,099 - INFO - root - write_stream: Data was written to test_match_recognize[v1-kikimr0]_v1_input: ['{"dt": 1696849944100001, "str": "E" }']
2025-11-11 14:16:32,149 - DEBUG - root - get_query_status: Result: status: RUNNING
meta_revision: 11

2025-11-11 14:16:32,150 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001793/ydb/tests/tools/pq_read/pq_read
2025-11-11 14:16:32,151 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to pq_read.err.2
2025-11-11 14:16:32,151 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001793/ydb/tests/tools/pq_read/pq_read', '--endpoint', 'localhost:18945', '--database', 'local', '--topic-path', 'test_match_recognize[v1-kikimr0]_v1_output', '--consumer-name', 'test_match_recognize[v1-kikimr0]_v1_consumer', '--disable-cluster-discovery', '--messages-count', '1', '--timeout', '30000ms', '--commit-after-processing']' in 'None' (waiting)
2025-11-11 14:16:32,152 - DEBUG - ya.test - execute: Command pid: 955367
2025-11-11 14:16:47,187 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 14:16:47,188 - 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:16:47,193 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-11 14:16:47,194 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 4ce4b808-204f-4b89-9b54-624d21cb407f, localhost:18945): creating call state
2025-11-11 14:16:47,194 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 4ce4b808-204f-4b89-9b54-624d21cb407f, localhost:18945): request = { database: "local" }
2025-11-11 14:16:47,197 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 4ce4b808-204f-4b89-9b54-624d21cb407f, localhost:18945): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-vb3yoermsa.auto.internal" port: 18945 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:16:47,197 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-vb3yoermsa.auto.internal:18945, location 1, ssl: False>]>
2025-11-11 14:16:47,198 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18945
2025-11-11 14:16:49,996 - DEBUG - ya.test - _wait: Process resource usage is not available as process finished before wait4 was called
2025-11-11 14:16:49,997 - DEBUG - ya.test - _save_outputs: Command (pid 955367) rc: 0
2025-11-11 14:16:49,997 - DEBUG - ya.test - _save_outputs: Command (pid 955367) elapsed time (sec): 17.844404220581055
2025-11-11 14:16:49,998 - DEBUG - ya.test - _save_outputs: Command (pid 955367) wtime: 17.846
2025-11-11 14:16:49,998 - DEBUG - ya.test - _save_outputs: Command (pid 955367) output:
None
2025-11-11 14:16:49,998 - DEBUG - ya.test - _save_outputs: Command (pid 955367) errors:
2025-11-11T14:16:32.171257Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Starting read session
2025-11-11T14:16:32.171301Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Starting session to cluster null (localhost:18945)
2025-11-11T14:16:32.171663Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:32.171673Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:32.171677Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Reconnecting session to cluster null in 0.000000s
2025-11-11T14:16:32.176578Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Successfully connected. Initializing session
2025-11-11T14:16:32.177800Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Server session id: test_match_recognize[v1-kikimr0]_v1_consumer_1_11_1159722342892794636_v1
2025-11-11T14:16:32.177910Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:32.179517Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Confirm partition stream create. Partition stream id: 1. Cluster: "". Topic: "test_match_recognize[v1-kikimr0]_v1_output". Partition: 0. Read offset: (NULL)
2025-11-11T14:16:33.172693Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:test_match_recognize[v1-kikimr0]_v1_output:0:1:0:0
2025-11-11T14:16:33.172721Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1001 BytesRead: 0 MessagesRead: 0 BytesReadCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:16:49.941453Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:49.941551Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 0 (0-0)
2025-11-11T14:16:49.941602Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-11-11T14:16:49.941717Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Commit offsets [0, 1). Partition stream id: 1
2025-11-11T14:16:49.941890Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] The application data is transferred to the client. Number of messages 1, size 91 bytes
2025-11-11T14:16:49.945472Z :DEBUG: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] [null] Committed response: cookies { assign_id: 1 partition_cookie: 1 }
Closing session. Got 1 messages
2025-11-11T14:16:49.945609Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Closing read session. Close timeout: 5.000000s
2025-11-11T14:16:49.945643Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:test_match_recognize[v1-kikimr0]_v1_output:0:1:0:1
2025-11-11T14:16:49.945653Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Counters: { Errors: 0 CurrentSessionLifetimeMs: 17774 BytesRead: 91 MessagesRead: 1 BytesReadCompressed: 91 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
Session closed
2025-11-11T14:16:49.945885Z :NOTICE: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] 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:49.946747Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Closing read session. Close timeout: 0.000000s
2025-11-11T14:16:49.946757Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:test_match_recognize[v1-kikimr0]_v1_output:0:1:0:1
2025-11-11T14:16:49.946778Z :INFO: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Counters: { Errors: 0 CurrentSessionLifetimeMs: 17775 BytesRead: 91 MessagesRead: 1 BytesReadCompressed: 91 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:16:49.946789Z :NOTICE: [local] [local] [c0bb01ff-df33e9d7-7f487e60-7c532787] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }

2025-11-11 14:16:49,998 - INFO - root - read_stream: Data was read from test_match_recognize[v1-kikimr0]_v1_output: ['{"a_str":"A","b_str":"B","c_str":"C","dt_begin":1696849942000001,"dt_end":1696849943000001}']
2025-11-11 14:16:49,999 - INFO - root - recovery_impl: Data was read: ['{"a_str":"A","b_str":"B","c_str":"C","dt_begin":1696849942000001,"dt_end":1696849943000001}']
2025-11-11 14:16:50,189 - DEBUG - root - control_query: Result: 
2025-11-11 14:16:50,193 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqg51s4dps1p1"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870584
        nanos: 768551000
      }
      modified_at {
        seconds: 1762870610
        nanos: 184245000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870585
      nanos: 750000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmqg51s0m6i248-ptqudslmqg51s4dps1p1"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870584
      nanos: 768551000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"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}]}}"
  }
  transient_issue {
    message: "Parse Sql"
    severity: 2
    issues {
      position {
        row: 10
        column: 41
      }
      message: "Json UDF is deprecated. Please use JSON API instead"
      end_position {
        row: 10
        column: 41
      }
      issue_code: 4506
      severity: 2
    }
  }
  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 (DataSource \'\"dq\" \'\"$all\") \'\"Attr\" \'\"maxtasksperstage\" \'\"2\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-1000000\"))\n(let $5 (Configure! $4 $1 \'\"TimeOrderRecoverAhead\" \'\"1000000\"))\n(let $6 (Configure! $5 $1 \'\"MatchRecognizeStream\" \'\"auto\"))\n(let $7 (DataSource \'\"pq\" \'\"myyds\"))\n(let $8 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $9 (OptionalType (DataType \'Uint64)))\n(let $10 \'(\'dt $9))\n(let $11 (DataType \'String))\n(let $12 (OptionalType $11))\n(let $13 \'(\'str $12))\n(let $14 (StructType $10 $13))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_input\" $8 \'() $14))\n(let $16 \'(\'\"Endpoint\" \'\"localhost:18945\"))\n(let $17 \'(\'\"SharedReading\" \'0))\n(let $18 \'(\'\"AddBearerToToken\" \'1))\n(let $19 \'($16 $17 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"json_each_row\") \'(\'\"ReadGroup\" \'\"ptcudslmqgdtothvo4f4\") $18))\n(let $20 (SecureParam \'\"cluster:default_myyds\"))\n(let $21 (DqPqTopicSource $6 $15 \'(\'dt \'str) $19 $20 \'\"\" $14 \'\"\"))\n(let $22 (DqStage \'((DqSource $7 $21)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"json_each_row\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($17))))\n  (let $28 (DqSourceWideWrap $26 $7 $14 $27))\n  (return (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'dt $29) \'(\'str $30)))))\n))) \'(\'(\'\"_logical_id\" \'210864))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_output\" $8 \'() (StructType \'(\'\"Data\" $11))))\n(let $25 (DqPqTopicSink $24 \'($16 $18) $20))\n(return (Commit! (DqQuery! $6 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'0))) (lambda \'($31) (block \'(\n  (let $32 (TimeOrderRecover $31 (lambda \'($47) (SafeCast (Member $47 \'dt) (OptionalType (DataType \'Timestamp)))) (Interval \'\"-1000000\") (Interval \'\"1000000\") (Uint32 \'\"1000000\")))\n  (let $33 \'(\'\"A\" \'\"B\" \'\"C\"))\n  (let $34 \'(\'\"dt_begin\" \'\"dt_end\" \'\"a_str\" \'\"b_str\" \'\"c_str\"))\n  (let $35 (lambda \'($52) (ListFromRange (Member $52 \'\"From\") (+ (Member $52 \'\"To\") (Uint64 \'1)) (Int64 \'1))))\n  (let $36 (lambda \'($57) $57))\n  (let $37 (AggregationTraits (StructType $10) (lambda \'($54) (Member $54 \'dt)) (lambda \'($55 $56) (Coalesce (Member $55 \'dt) $56)) $36 $36 (lambda \'($58 $59) (Coalesce $58 $59)) $36 (Null)))\n  (let $38 (lambda \'($69) $69))\n  (let $39 (AggregationTraits (StructType $13) (lambda \'($66) (Member $66 \'str)) (lambda \'($67 $68) (Coalesce (Member $67 \'str) $68)) $38 $38 (lambda \'($70 $71) (Coalesce $70 $71)) $38 (Null)))\n  (let $40 (MatchRecognizeMeasures $14 $33 $34 (lambda \'($50 $51) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $51 \'\"A\") $35) (lambda \'($53) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $50) $53)) \'dt)))))) \'() \'(\'(\'Last0 $37)) \'())) \'Last0)) (lambda \'($60 $61) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $61 \'\"C\") $35) (lambda \'($62) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $60) $62)) \'dt)))))) \'() \'(\'(\'Last1 $37)) \'())) \'Last1)) (lambda \'($63 $64) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $64 \'\"A\") $35) (lambda \'($65) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $63) $65)) \'str)))))) \'() \'(\'(\'Last2 $39)) \'())) \'Last2)) (lambda \'($72 $73) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $73 \'\"B\") $35) (lambda \'($74) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $72) $74)) \'str)))))) \'() \'(\'(\'Last3 $39)) \'())) \'Last3)) (lambda \'($75 $76) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $76 \'\"C\") $35) (lambda \'($77) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $75) $77)) \'str)))))) \'() \'(\'(\'Last4 $39)) \'())) \'Last4))))\n  (let $41 \'(\'\"A\" \'1 \'1 \'1 \'1 \'0))\n  (let $42 \'(\'\"B\" \'1 \'1 \'1 \'1 \'0))\n  (let $43 \'(\'\"C\" \'1 \'1 \'1 \'1 \'0))\n  (let $44 (MatchRecognizeDefines $14 $33 $33 (lambda \'($78 $79 $80) (== (Member (Lookup (ToIndexDict $78) $80) \'str) (String \'\"A\"))) (lambda \'($81 $82 $83) (== (Member (Lookup (ToIndexDict $81) $83) \'str) (String \'\"B\"))) (lambda \'($84 $85 $86) (== (Member (Lookup (ToIndexDict $84) $86) \'str) (String \'\"C\")))))\n  (let $45 (MatchRecognizeParams $40 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'($41 $42 $43)) $44))\n  (let $46 (MatchRecognizeCore (OrderedFlatMap $32 (lambda \'($48) (OptionalIf (Not (Member $48 \'\"_yql_OutOfOrder\")) (AsStruct \'(\'dt (Member $48 \'dt)) \'(\'str (Member $48 \'str)))))) (lambda \'($49) \'()) \'() $45 \'(\'(\'\"Streaming\" \'1))))\n  (return (FromFlow (FlatMap $46 (lambda \'($87) (block \'(\n    (let $88 (ResourceType \'\"Yson2.Node\"))\n    (let $89 \'($88 \'\"\" \'1))\n    (let $90 (ResourceType \'\"Yson2.Options\"))\n    (let $91 (OptionalType (DataType \'Bool)))\n    (let $92 (CallableType \'(\'\"4\") \'((OptionalType (DataType \'Json))) $89 \'((OptionalType $90)) \'($91 \'\"SkipMapEntity\") \'($91 \'\"EncodeUtf8\") \'($91 \'\"WriteNanAsString\")))\n    (let $93 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $92 (VoidType) \'\"\" \'()))\n    (let $94 (StructType \'(\'\"a_str\" $12) \'(\'\"b_str\" $12) \'(\'\"c_str\" $12) \'(\'\"dt_begin\" $9) \'(\'\"dt_end\" $9)))\n    (let $95 (TupleType (TupleType $94) (StructType) (TupleType)))\n    (let $96 (CallableType \'() \'($88) \'($94)))\n    (let $97 \'(\'(\'\"strict\")))\n    (let $98 (Udf \'\"Yson2.From\" (Void) $95 \'\"\" $96 (VoidType) \'\"\" $97))\n    (let $99 (CallableType \'(\'\"2\") \'($90) \'($91 \'\"AutoConvert\") \'($91 \'\"Strict\")))\n    (let $100 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $99 (VoidType) \'\"\" $97))\n    (return (Just (AsStruct \'(\'\"column0\" (ToBytes (Unwrap (Apply $93 (Apply $98 $87) (Just (NamedApply $100 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'213640) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'0 $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:50,698 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:51,203 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:51,707 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqg51s4dps1p1"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870584
        nanos: 768551000
      }
      modified_at {
        seconds: 1762870610
        nanos: 184245000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870585
      nanos: 750000000
    }
    finished_at {
      seconds: 1762870611
      nanos: 171000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmqg51s0m6i248-ptqudslmqg51s4dps1p1"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870584
      nanos: 768551000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA dq.MaxTasksPerStage=\"2\";\n\n            pragma FeatureR010=\"prototype\";\n            pragma config.flags(\"TimeOrderRecoverDelay\", \"-1000000\");\n            pragma config.flags(\"TimeOrderRecoverAhead\", \"1000000\");\n            pragma config.flags(\"MatchRecognizeStream\", \"auto\");\n\n            INSERT INTO myyds.`test_match_recognize[v1-kikimr0]_v1_output`\n            SELECT ToBytes(Unwrap(Json::SerializeJson(Yson::From(TableRow()))))\n            FROM (SELECT * FROM myyds.`test_match_recognize[v1-kikimr0]_v1_input`\n                WITH (\n                    format=json_each_row,\n                    SCHEMA\n                    (\n                        dt UINT64,\n                        str STRING\n                    )))\n            MATCH_RECOGNIZE(\n                ORDER BY CAST(dt as Timestamp)\n                MEASURES\n                   LAST(A.dt) as dt_begin,\n                   LAST(C.dt) as dt_end,\n                   LAST(A.str) as a_str,\n                   LAST(B.str) as b_str,\n                   LAST(C.str) as c_str\n                ONE ROW PER MATCH\n                PATTERN ( A B C )\n                DEFINE\n                    A as A.str=\'A\',\n                    B as B.str=\'B\',\n                    C as C.str=\'C\')"
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"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
  }
  transient_issue {
    message: "Parse Sql"
    severity: 2
    issues {
      position {
        row: 10
        column: 41
      }
      message: "Json UDF is deprecated. Please use JSON API instead"
      end_position {
        row: 10
        column: 41
      }
      issue_code: 4506
      severity: 2
    }
  }
  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 (DataSource \'\"dq\" \'\"$all\") \'\"Attr\" \'\"maxtasksperstage\" \'\"2\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverDelay\" \'\"-1000000\"))\n(let $5 (Configure! $4 $1 \'\"TimeOrderRecoverAhead\" \'\"1000000\"))\n(let $6 (Configure! $5 $1 \'\"MatchRecognizeStream\" \'\"auto\"))\n(let $7 (DataSource \'\"pq\" \'\"myyds\"))\n(let $8 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $9 (OptionalType (DataType \'Uint64)))\n(let $10 \'(\'dt $9))\n(let $11 (DataType \'String))\n(let $12 (OptionalType $11))\n(let $13 \'(\'str $12))\n(let $14 (StructType $10 $13))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_input\" $8 \'() $14))\n(let $16 \'(\'\"Endpoint\" \'\"localhost:18945\"))\n(let $17 \'(\'\"SharedReading\" \'0))\n(let $18 \'(\'\"AddBearerToToken\" \'1))\n(let $19 \'($16 $17 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"json_each_row\") \'(\'\"ReadGroup\" \'\"ptcudslmqgdtothvo4f4\") $18))\n(let $20 (SecureParam \'\"cluster:default_myyds\"))\n(let $21 (DqPqTopicSource $6 $15 \'(\'dt \'str) $19 $20 \'\"\" $14 \'\"\"))\n(let $22 (DqStage \'((DqSource $7 $21)) (lambda \'($26) (block \'(\n  (let $27 \'(\'(\'\"format\" \'\"json_each_row\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($17))))\n  (let $28 (DqSourceWideWrap $26 $7 $14 $27))\n  (return (NarrowMap $28 (lambda \'($29 $30) (AsStruct \'(\'dt $29) \'(\'str $30)))))\n))) \'(\'(\'\"_logical_id\" \'210864))))\n(let $23 (DataSink \'\"pq\" \'\"myyds\"))\n(let $24 (PqTopic \'\"myyds\" \'\"local\" \'\"test_match_recognize[v1-kikimr0]_v1_output\" $8 \'() (StructType \'(\'\"Data\" $11))))\n(let $25 (DqPqTopicSink $24 \'($16 $18) $20))\n(return (Commit! (DqQuery! $6 \'((DqStage \'((DqCnUnionAll (TDqOutput $22 \'0))) (lambda \'($31) (block \'(\n  (let $32 (TimeOrderRecover $31 (lambda \'($47) (SafeCast (Member $47 \'dt) (OptionalType (DataType \'Timestamp)))) (Interval \'\"-1000000\") (Interval \'\"1000000\") (Uint32 \'\"1000000\")))\n  (let $33 \'(\'\"A\" \'\"B\" \'\"C\"))\n  (let $34 \'(\'\"dt_begin\" \'\"dt_end\" \'\"a_str\" \'\"b_str\" \'\"c_str\"))\n  (let $35 (lambda \'($52) (ListFromRange (Member $52 \'\"From\") (+ (Member $52 \'\"To\") (Uint64 \'1)) (Int64 \'1))))\n  (let $36 (lambda \'($57) $57))\n  (let $37 (AggregationTraits (StructType $10) (lambda \'($54) (Member $54 \'dt)) (lambda \'($55 $56) (Coalesce (Member $55 \'dt) $56)) $36 $36 (lambda \'($58 $59) (Coalesce $58 $59)) $36 (Null)))\n  (let $38 (lambda \'($69) $69))\n  (let $39 (AggregationTraits (StructType $13) (lambda \'($66) (Member $66 \'str)) (lambda \'($67 $68) (Coalesce (Member $67 \'str) $68)) $38 $38 (lambda \'($70 $71) (Coalesce $70 $71)) $38 (Null)))\n  (let $40 (MatchRecognizeMeasures $14 $33 $34 (lambda \'($50 $51) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $51 \'\"A\") $35) (lambda \'($53) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $50) $53)) \'dt)))))) \'() \'(\'(\'Last0 $37)) \'())) \'Last0)) (lambda \'($60 $61) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $61 \'\"C\") $35) (lambda \'($62) (Just (AsStruct \'(\'dt (Member (Unwrap (Lookup (ToIndexDict $60) $62)) \'dt)))))) \'() \'(\'(\'Last1 $37)) \'())) \'Last1)) (lambda \'($63 $64) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $64 \'\"A\") $35) (lambda \'($65) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $63) $65)) \'str)))))) \'() \'(\'(\'Last2 $39)) \'())) \'Last2)) (lambda \'($72 $73) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $73 \'\"B\") $35) (lambda \'($74) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $72) $74)) \'str)))))) \'() \'(\'(\'Last3 $39)) \'())) \'Last3)) (lambda \'($75 $76) (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $76 \'\"C\") $35) (lambda \'($77) (Just (AsStruct \'(\'str (Member (Unwrap (Lookup (ToIndexDict $75) $77)) \'str)))))) \'() \'(\'(\'Last4 $39)) \'())) \'Last4))))\n  (let $41 \'(\'\"A\" \'1 \'1 \'1 \'1 \'0))\n  (let $42 \'(\'\"B\" \'1 \'1 \'1 \'1 \'0))\n  (let $43 \'(\'\"C\" \'1 \'1 \'1 \'1 \'0))\n  (let $44 (MatchRecognizeDefines $14 $33 $33 (lambda \'($78 $79 $80) (== (Member (Lookup (ToIndexDict $78) $80) \'str) (String \'\"A\"))) (lambda \'($81 $82 $83) (== (Member (Lookup (ToIndexDict $81) $83) \'str) (String \'\"B\"))) (lambda \'($84 $85 $86) (== (Member (Lookup (ToIndexDict $84) $86) \'str) (String \'\"C\")))))\n  (let $45 (MatchRecognizeParams $40 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'($41 $42 $43)) $44))\n  (let $46 (MatchRecognizeCore (OrderedFlatMap $32 (lambda \'($48) (OptionalIf (Not (Member $48 \'\"_yql_OutOfOrder\")) (AsStruct \'(\'dt (Member $48 \'dt)) \'(\'str (Member $48 \'str)))))) (lambda \'($49) \'()) \'() $45 \'(\'(\'\"Streaming\" \'1))))\n  (return (FromFlow (FlatMap $46 (lambda \'($87) (block \'(\n    (let $88 (ResourceType \'\"Yson2.Node\"))\n    (let $89 \'($88 \'\"\" \'1))\n    (let $90 (ResourceType \'\"Yson2.Options\"))\n    (let $91 (OptionalType (DataType \'Bool)))\n    (let $92 (CallableType \'(\'\"4\") \'((OptionalType (DataType \'Json))) $89 \'((OptionalType $90)) \'($91 \'\"SkipMapEntity\") \'($91 \'\"EncodeUtf8\") \'($91 \'\"WriteNanAsString\")))\n    (let $93 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $92 (VoidType) \'\"\" \'()))\n    (let $94 (StructType \'(\'\"a_str\" $12) \'(\'\"b_str\" $12) \'(\'\"c_str\" $12) \'(\'\"dt_begin\" $9) \'(\'\"dt_end\" $9)))\n    (let $95 (TupleType (TupleType $94) (StructType) (TupleType)))\n    (let $96 (CallableType \'() \'($88) \'($94)))\n    (let $97 \'(\'(\'\"strict\")))\n    (let $98 (Udf \'\"Yson2.From\" (Void) $95 \'\"\" $96 (VoidType) \'\"\" $97))\n    (let $99 (CallableType \'(\'\"2\") \'($90) \'($91 \'\"AutoConvert\") \'($91 \'\"Strict\")))\n    (let $100 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $99 (VoidType) \'\"\" $97))\n    (return (Just (AsStruct \'(\'\"column0\" (ToBytes (Unwrap (Apply $93 (Apply $98 $87) (Just (NamedApply $100 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'213640) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'0 $23 $25))))) $23))\n)\n"
  }
}

2025-11-11 14:16:51,761 - DEBUG - root - dump_workers: Node 1, workers 0, ca 0
2025-11-11 14:16:51,763 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-11 14:16:58,765 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:13341/1
2025-11-11 14:16:58,765 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25185
2025-11-11 14:16:58,766 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16615
2025-11-11 14:16:58,766 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4327
2025-11-11 14:16:58,766 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13341
2025-11-11 14:16:58,766 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19710
2025-11-11 14:16:58,766 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21697
2025-11-11 14:17:01,767 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2680/1
2025-11-11 14:17:01,768 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62847
2025-11-11 14:17:01,769 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5974
2025-11-11 14:17:01,769 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2905
2025-11-11 14:17:01,769 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2680
2025-11-11 14:17:01,769 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20214
2025-11-11 14:17:01,769 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26632
