2025-11-11T14:17:07.856831Z :GRPC_SERVER NOTICE: grpc_request_proxy.cpp:369: Grpc request proxy started, nodeid# 2, serve as static node
2025-11-11T14:17:07.856883Z :GRPC_SERVER CRIT: grpc_request_proxy.cpp:429: Failed to deliver subscription request to config dispatcher
2025-11-11T14:17:07.856887Z :GRPC_SERVER NOTICE: grpc_request_proxy.cpp:369: Grpc request proxy started, nodeid# 2, serve as static node
2025-11-11T14:17:07.856898Z :GRPC_SERVER CRIT: grpc_request_proxy.cpp:429: Failed to deliver subscription request to config dispatcher
2025-11-11T14:17:07.857142Z :FQ_LOG_UPDATER DEBUG: log.cpp:93: Updated YQL logs priority: 8
2025-11-11T14:17:07.857146Z :FQ_LOG_UPDATER CRIT: log.cpp:55: Failed to deliver subscription request to config dispatcher.
2025-11-11T14:17:07.857188Z :YQ_RATE_LIMITER INFO: quoter_service.cpp:124: Bootstraping with config: { Enabled: true DataPlaneEnabled: true Database { Endpoint: "localhost:19692" Database: "local" TablePrefix: "RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2" } Limiters { CoordinationNodePath: "rate_limiter" } }
2025-11-11T14:17:07.857552Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:188: Bootstrap
2025-11-11T14:17:07.857558Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:191: Create sdk ydb connection
2025-11-11T14:17:07.857719Z :STREAMS_STORAGE_SERVICE TRACE: storage_proxy.cpp:213: Initialize
2025-11-11T14:17:07.857806Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:209: Successfully bootstrapped TStorageProxy [2:7571471692601986021:2062] with connection to localhost:19692:local
2025-11-11T14:17:07.857814Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:534: RowDispatcher: Successfully bootstrapped row dispatcher, id [2:7571471692601986022:2063], tenant /compute
2025-11-11T14:17:07.857928Z :YQL_NODES_MANAGER INFO: nodes_manager.cpp:88: Bootstrap, InstanceId: 2bce4727-41c22b91-a34b5bc-84e1ab2f
2025-11-11T14:17:07.857930Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:310: TNodesManagerActor::ResolveSelfAddress
2025-11-11T14:17:07.857945Z :YQ_TEST_CONNECTION DEBUG: test_connection.cpp:142: Starting yandex query test connection. Actor id: [2:7571471692601986027:2068]
2025-11-11T14:17:07.857985Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb71, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:07.858147Z :FQ_QUOTA_PROXY INFO: quota_proxy.cpp:90: STARTED
2025-11-11T14:17:07.858225Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:267: Coordinator: Successfully bootstrapped coordinator, id [2:7571471692601986062:2082], NodesManagerId [0:4705493345362661702:78]
2025-11-11T14:17:07.858239Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:232: TLeaderElection [2:7571471692601986063:2083] Successfully bootstrapped, local coordinator id [2:7571471692601986062:2082], tenant id compute, local mode 0, coordination node path local/row_dispatcher/compute, endpoint localhost:19692
2025-11-11T14:17:07.858554Z :FQ_QUOTA_SERVICE INFO: quota_manager.cpp:196: STARTED
2025-11-11T14:17:07.858593Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:627: RowDispatcher: TEvCoordinatorChangesSubscribe from [2:7571471692601986062:2082]
2025-11-11T14:17:07.859076Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:17:07.859851Z :MEMORY_PROFILER NOTICE: monitor.cpp:332: Bootstrapped
2025-11-11T14:17:07.872134Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:71: Run create coordination node "local/row_dispatcher/compute" actor
2025-11-11T14:17:07.872145Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:113: Call create coordination node "local/row_dispatcher/compute"
2025-11-11T14:17:07.872148Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:411: Call create coordination node "local/row_dispatcher/compute"
2025-11-11T14:17:07.872860Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471692601986041:2077][/Root] Set up state: owner# [2:7571471692601986001:2052], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:17:07.872863Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471692601986042:2078][/compute] Set up state: owner# [2:7571471692601986001:2052], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:17:07.872897Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471692601986043:2079][/Root] Set up state: owner# [2:7571471692601986002:2053], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:17:07.872898Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471692601986044:2080][/compute] Set up state: owner# [2:7571471692601986002:2053], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:17:07.872905Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /compute Strong=0
2025-11-11T14:17:07.872907Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /Root Strong=0
2025-11-11T14:17:07.872907Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /Root Strong=0
2025-11-11T14:17:07.872909Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /compute Strong=0
2025-11-11T14:17:07.886416Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:07.886434Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:07.886462Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 1 to DynamicNameserver
2025-11-11T14:17:07.887872Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:155: Successfully created coordination node "local/row_dispatcher/compute"
2025-11-11T14:17:07.887894Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:122: Reply for create coordination node "local/row_dispatcher/compute": { <main>: Error: Check failed: path: '/local/row_dispatcher/compute', error: path exist, request accepts it (id: [OwnerId: 72057594046678944, LocalPathId: 29], type: EPathTypeKesus, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_kesus.cpp:339 }
2025-11-11T14:17:07.887925Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:345: TLeaderElection [2:7571471692601986063:2083] Coordination node successfully created
2025-11-11T14:17:07.887932Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:323: TLeaderElection [2:7571471692601986063:2083] Start session
2025-11-11T14:17:07.889358Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:359: TLeaderElection [2:7571471692601986063:2083] Session successfully created
2025-11-11T14:17:07.891316Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:499: Checkpoint storage and state storage were successfully inited
2025-11-11T14:17:07.900017Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:372: TLeaderElection [2:7571471692601986063:2083] Semaphore successfully created
2025-11-11T14:17:07.900027Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:304: TLeaderElection [2:7571471692601986063:2083] Try to acquire semaphore
2025-11-11T14:17:07.900170Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:420: TLeaderElection [2:7571471692601986063:2083] Describe semaphore
2025-11-11T14:17:07.901799Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:469: TLeaderElection [2:7571471692601986063:2083] Semaphore successfully described: coordinator id [1:7571471689674075877:2082] generation 1
2025-11-11T14:17:07.901809Z :FQ_ROW_DISPATCHER INFO: leader_election.cpp:471: TLeaderElection [2:7571471692601986063:2083] Send TEvCoordinatorChanged to [2:7571471692601986022:2063], new coordinator id [1:7571471689674075877:2082], previous coordinator id [0:0:0]
2025-11-11T14:17:07.901826Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:559: RowDispatcher: Coordinator changed, old leader (empty maybe), new [1:7571471689674075877:2082] generation 1
2025-11-11T14:17:07.901864Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:386: Coordinator: New leader [1:7571471689674075877:2082], SelfId [2:7571471692601986062:2082]
2025-11-11T14:17:07.901869Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:597: RowDispatcher: TEvUndelivered, from [1:7571471689674075877:2082], reason Disconnected
2025-11-11T14:17:08.697484Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:17:08.856189Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:08.856204Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:542: Coordinator: Send TEvGetNodesRequest to NodesManager
2025-11-11T14:17:08.856215Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:300: TNodesManagerActor::TEvGetNodesRequest
2025-11-11T14:17:08.856222Z :FQ_ROW_DISPATCHER INFO: coordinator.cpp:573: Coordinator: Updated node info, node count: 2
2025-11-11T14:17:08.857256Z :FQ_QUOTA_SERVICE DEBUG: quota_manager.cpp:230: IC Peers[1]: [1]
2025-11-11T14:17:08.960611Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:17:08.964017Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:08.964029Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 1
2025-11-11T14:17:08.964042Z :FQ_PENDING_FETCHER DEBUG: pending_fetcher.cpp:361: NewTask: Scope: yandexcloud://my_folder Id: ptqudslmp68sbkerrd5b UserId: root@builtin AuthToken: **** (B6C6F477)
2025-11-11T14:17:08.964211Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb73, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:08.964220Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:375: QueryId: ptqudslmp68sbkerrd5b Start run actor. Compute state: STARTING
2025-11-11T14:17:08.964224Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:469: QueryId: ptqudslmp68sbkerrd5b FillConnections
2025-11-11T14:17:08.964284Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:2333: QueryId: ptqudslmp68sbkerrd5b Run actors params: { QueryId: ptqudslmp68sbkerrd5b CloudId: mock_cloud UserId: root@builtin Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 PreviousQueryRevision: 1 Connections: 1 Bindings: 0 AccountIdSignatures: 0 QueryType: STREAMING ExecuteMode: RUN ResultId: ptrudslmp60a8edkfgmd StateLoadMode: EMPTY StreamingDisposition: { fresh { } } Status: STARTING DqGraphs: 0 DqGraphIndex: 0 Resource.TopicConsumers: 0 }
2025-11-11T14:17:08.964319Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:571: QueryId: ptqudslmp68sbkerrd5b Start rate limiter resource creator
2025-11-11T14:17:08.964329Z :FQ_PINGER TRACE: pinger.cpp:171: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Start Pinger
2025-11-11T14:17:08.964397Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { started_at { seconds: 1762870628 nanos: 964000000 } }
2025-11-11T14:17:08.964413Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:08.964547Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { status: RUNNING resources { rate_limiter: PREPARE compilation: PREPARE } }
2025-11-11T14:17:08.967263Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:08.967273Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:09.002804Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1477: QueryId: ptqudslmp68sbkerrd5b Rate limiter resource creation finished. Success: 1
2025-11-11T14:17:09.002831Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1966: QueryId: ptqudslmp68sbkerrd5b Compiling query ...
2025-11-11T14:17:09.002915Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { status: RUNNING resources { rate_limiter: READY compilation: PREPARE rate_limiter_path: "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter" } }
2025-11-11T14:17:09.065252Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.065 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_facade.cpp:899: Execution of [ParseSql] took 61.2ms
2025-11-11T14:17:09.065586Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.065 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_settings.cpp:87: Settings: clusterName = yds, clusterDbId = , cluster.GetEndpoint(): localhost:19692, HasEndpoint = TRUE
2025-11-11T14:17:09.065982Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.065 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_facade.cpp:940: Execution of [Compile] took 690us
2025-11-11T14:17:09.066211Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.066 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_provider.cpp:109: OpenSession ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud
2025-11-11T14:17:09.066232Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.066 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_provider.cpp:112: OpenSession ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud complete in 0
2025-11-11T14:17:09.066535Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.066 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_optimize.cpp:671: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ExpandApply] took 85us
2025-11-11T14:17:09.066722Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.066 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_optimize.cpp:671: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ExpandApply] took 58us
2025-11-11T14:17:09.066928Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.066 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_optimize.cpp:671: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ExpandApply] took 94us
2025-11-11T14:17:09.067135Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.067 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_optimize.cpp:671: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ExpandApply] took 89us
2025-11-11T14:17:09.067578Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.067 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core eval] yql_eval_expr.cpp:421: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} EvaluateExpression - start
2025-11-11T14:17:09.067832Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.067 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core eval] yql_eval_expr.cpp:1204: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} EvaluateExpression - finish
2025-11-11T14:17:09.068638Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.068 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_helpers.cpp:82: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Found cluster: yds
2025-11-11T14:17:09.068660Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.068 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_helpers.cpp:82: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Found cluster: yds
2025-11-11T14:17:09.068669Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.068 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_helpers.cpp:100: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Ids to resolve: 0
2025-11-11T14:17:09.068940Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.068 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_load_meta.cpp:35: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Load topic meta for: `yds`.`test_filter_with_mr_output`
2025-11-11T14:17:09.068965Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.068 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_load_meta.cpp:35: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Load topic meta for: `yds`.`test_filter_with_mr_input`
2025-11-11T14:17:09.070328Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:09.070310Z :INFO: [local] OnFederationDiscovery fall back to single mode, database=local
2025-11-11T14:17:09.072817Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.072 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_datasource.cpp:88: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} RewriteIO
2025-11-11T14:17:09.072861Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.072 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_datasource.cpp:88: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} RewriteIO
2025-11-11T14:17:09.073001Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.072 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_datasink.cpp:102: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Rewrite Write!
2025-11-11T14:17:09.116024Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.115 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_core.cpp:7958: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ResolveUdfs] took 41.8ms
2025-11-11T14:17:09.116245Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.116 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_core.cpp:7958: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ResolveUdfs] took 94us
2025-11-11T14:17:09.116493Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.116 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_core.cpp:7958: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ResolveUdfs] took 87us
2025-11-11T14:17:09.116658Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.116 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 43.5ms
2025-11-11T14:17:09.116679Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.116 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.116922Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.116 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 221us
2025-11-11T14:17:09.117075Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.117091Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.117266Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 159us
2025-11-11T14:17:09.117381Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.117395Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.117443Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 39us
2025-11-11T14:17:09.117538Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.117550Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.117577Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 16us
2025-11-11T14:17:09.117650Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 56us
2025-11-11T14:17:09.117948Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.117 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 280us
2025-11-11T14:17:09.118269Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.118 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '"_yql_sys_create_time")
(let $10 '"_yql_sys_tsp_write_time")
(let $11 '"_yql_sys_partition_id")
(let $12 '"_yql_sys_message_group_id")
(let $13 '('('"system" $9) '('"system" $10) '('"system" $11) '('"system" '"_yql_sys_offset") '('"system" $12) '('"system" '"_yql_sys_seq_no")))
(let $14 '('event_class $7))
(let $15 (DataType 'Uint64))
(let $16 '('event_type $15))
(let $17 '('"time" $15))
(let $18 (StructType $14 $16 $17))
(let $19 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $13 $18))
(let $20 '('"time" 'event_class 'event_type))
(let $21 (String '"event_class2"))
(let $22 (DataType 'Timestamp))
(let $23 (Bool 'true))
(let $24 (SortTraits (ListType $18) $23 (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType $22)))))
(let $25 '('"M1"))
(let $26 (lambda '($43) $43))
(let $27 (AggregationTraits $18 (lambda '($40) (Member $40 'event_type)) (lambda '($41 $42) (Member $41 'event_type)) $26 $26 (lambda '($44 $45) $44) $26 (Null)))
(let $28 (MatchRecognizeMeasuresCallables $18 $25 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($39) (Member $39 'Last0)) $25 '('('Last0 $27))))))
(let $29 (MatchRecognizeDefines $18 $25 $25 (lambda '($46 $47 $48) (== (Member (Lookup (ToIndexDict $46) $48) 'event_class) $21))))
(let $30 (MatchRecognizeParams $28 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $29))
(let $31 (MatchRecognize (RemovePrefixMembers (SqlProject (Filter (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $19 $20 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($35) (== (Member $35 'event_class) $21))) '((SqlProjectStarItem (ListType (StructType '($9 $22) '($12 $7) '('"_yql_sys_offset" $15) '($11 $15) '('"_yql_sys_seq_no" $15) '($10 $22) $14 $16 $17)) '"" (lambda '($36) $36) '()))) '('_yql_)) (lambda '($37) '()) '() $24 $30))
(let $32 (StructType '('event_type (OptionalType $15))))
(let $33 (ListType $32))
(let $34 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $31 '((SqlProjectStarItem $33 '"" (lambda '($49) $49) '()))) '((SqlProjectItem $33 '"column0" (lambda '($50) (block '(
  (let $51 (ResourceType '"Yson2.Node"))
  (let $52 '($51 '"" '"1"))
  (let $53 (ResourceType '"Yson2.Options"))
  (let $54 (OptionalType (DataType 'Bool)))
  (let $55 (CallableType '('"4") '((OptionalType (DataType 'Json))) $52 '((OptionalType $53)) '($54 '"SkipMapEntity") '($54 '"EncodeUtf8") '($54 '"WriteNanAsString")))
  (let $56 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $55 (VoidType) '"" '()))
  (let $57 (TupleType (TupleType $32) (StructType) (TupleType)))
  (let $58 (CallableType '() '($51) '($32)))
  (let $59 '('('"strict")))
  (let $60 (Udf '"Yson2.From" (Void) $57 '"" $58 (VoidType) '"" $59))
  (let $61 (CallableType '('"2") '($53) '($54 '"AutoConvert") '($54 '"Strict")))
  (let $62 (Udf '"Yson2.Options" (Void) (VoidType) '"" $61 (VoidType) '"" $59))
  (return (ToBytes (Unwrap (Apply $56 (Apply $60 $50) (Just (NamedApply $62 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $23)))))))))
))) '()))) 'append '()))
(return (Commit! $34 $5))
)

2025-11-11T14:17:09.118611Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.118 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4239: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Canonize Filter
2025-11-11T14:17:09.118965Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.118 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.119077Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 88us
2025-11-11T14:17:09.119116Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.119215Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.119230Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.119281Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 42us
2025-11-11T14:17:09.119345Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 48us
2025-11-11T14:17:09.119503Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 142us
2025-11-11T14:17:09.119810Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '"_yql_sys_create_time")
(let $10 '"_yql_sys_tsp_write_time")
(let $11 '"_yql_sys_partition_id")
(let $12 '"_yql_sys_message_group_id")
(let $13 '('('"system" $9) '('"system" $10) '('"system" $11) '('"system" '"_yql_sys_offset") '('"system" $12) '('"system" '"_yql_sys_seq_no")))
(let $14 '('event_class $7))
(let $15 (DataType 'Uint64))
(let $16 '('event_type $15))
(let $17 '('"time" $15))
(let $18 (StructType $14 $16 $17))
(let $19 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $13 $18))
(let $20 '('"time" 'event_class 'event_type))
(let $21 (String '"event_class2"))
(let $22 (DataType 'Timestamp))
(let $23 (Bool 'true))
(let $24 (SortTraits (ListType $18) $23 (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType $22)))))
(let $25 '('"M1"))
(let $26 (lambda '($43) $43))
(let $27 (AggregationTraits $18 (lambda '($40) (Member $40 'event_type)) (lambda '($41 $42) (Member $41 'event_type)) $26 $26 (lambda '($44 $45) $44) $26 (Null)))
(let $28 (MatchRecognizeMeasuresCallables $18 $25 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($39) (Member $39 'Last0)) $25 '('('Last0 $27))))))
(let $29 (MatchRecognizeDefines $18 $25 $25 (lambda '($46 $47 $48) (== (Member (Lookup (ToIndexDict $46) $48) 'event_class) $21))))
(let $30 (MatchRecognizeParams $28 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $29))
(let $31 (MatchRecognize (RemovePrefixMembers (SqlProject (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $19 $20 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($35) (OptionalIf (== (Member $35 'event_class) $21) $35))) '((SqlProjectStarItem (ListType (StructType '($9 $22) '($12 $7) '('"_yql_sys_offset" $15) '($11 $15) '('"_yql_sys_seq_no" $15) '($10 $22) $14 $16 $17)) '"" (lambda '($36) $36) '()))) '('_yql_)) (lambda '($37) '()) '() $24 $30))
(let $32 (StructType '('event_type (OptionalType $15))))
(let $33 (ListType $32))
(let $34 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $31 '((SqlProjectStarItem $33 '"" (lambda '($49) $49) '()))) '((SqlProjectItem $33 '"column0" (lambda '($50) (block '(
  (let $51 (ResourceType '"Yson2.Node"))
  (let $52 '($51 '"" '"1"))
  (let $53 (ResourceType '"Yson2.Options"))
  (let $54 (OptionalType (DataType 'Bool)))
  (let $55 (CallableType '('"4") '((OptionalType (DataType 'Json))) $52 '((OptionalType $53)) '($54 '"SkipMapEntity") '($54 '"EncodeUtf8") '($54 '"WriteNanAsString")))
  (let $56 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $55 (VoidType) '"" '()))
  (let $57 (TupleType (TupleType $32) (StructType) (TupleType)))
  (let $58 (CallableType '() '($51) '($32)))
  (let $59 '('('"strict")))
  (let $60 (Udf '"Yson2.From" (Void) $57 '"" $58 (VoidType) '"" $59))
  (let $61 (CallableType '('"2") '($53) '($54 '"AutoConvert") '($54 '"Strict")))
  (let $62 (Udf '"Yson2.Options" (Void) (VoidType) '"" $61 (VoidType) '"" $59))
  (return (ToBytes (Unwrap (Apply $56 (Apply $60 $50) (Just (NamedApply $62 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $23)))))))))
))) '()))) 'append '()))
(return (Commit! $34 $5))
)

2025-11-11T14:17:09.119939Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.119 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:6780: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand SqlProject
2025-11-11T14:17:09.120140Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.120216Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 58us
2025-11-11T14:17:09.120252Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.120340Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.120353Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.120392Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.120448Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.120602Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 141us
2025-11-11T14:17:09.120867Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 (Bool 'true))
(let $16 (SortTraits (ListType $11) $15 (lambda '($30) (SafeCast (Member $30 '"time") (OptionalType (DataType 'Timestamp))))))
(let $17 '('"M1"))
(let $18 (lambda '($35) $35))
(let $19 (AggregationTraits $11 (lambda '($32) (Member $32 'event_type)) (lambda '($33 $34) (Member $33 'event_type)) $18 $18 (lambda '($36 $37) $36) $18 (Null)))
(let $20 (MatchRecognizeMeasuresCallables $11 $17 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($31) (Member $31 'Last0)) $17 '('('Last0 $19))))))
(let $21 (MatchRecognizeDefines $11 $17 $17 (lambda '($38 $39 $40) (== (Member (Lookup (ToIndexDict $38) $40) 'event_class) $14))))
(let $22 (MatchRecognizeParams $20 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $21))
(let $23 (MatchRecognize (RemovePrefixMembers (FlatMap (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) (lambda '($28) (AsList (FlattenMembers '('"" $28))))) '('_yql_)) (lambda '($29) '()) '() $16 $22))
(let $24 (StructType '('event_type (OptionalType $10))))
(let $25 (ListType $24))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $23 '((SqlProjectStarItem $25 '"" (lambda '($41) $41) '()))) '((SqlProjectItem $25 '"column0" (lambda '($42) (block '(
  (let $43 (ResourceType '"Yson2.Node"))
  (let $44 '($43 '"" '"1"))
  (let $45 (ResourceType '"Yson2.Options"))
  (let $46 (OptionalType (DataType 'Bool)))
  (let $47 (CallableType '('"4") '((OptionalType (DataType 'Json))) $44 '((OptionalType $45)) '($46 '"SkipMapEntity") '($46 '"EncodeUtf8") '($46 '"WriteNanAsString")))
  (let $48 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $47 (VoidType) '"" '()))
  (let $49 (TupleType (TupleType $24) (StructType) (TupleType)))
  (let $50 (CallableType '() '($43) '($24)))
  (let $51 '('('"strict")))
  (let $52 (Udf '"Yson2.From" (Void) $49 '"" $50 (VoidType) '"" $51))
  (let $53 (CallableType '('"2") '($45) '($46 '"AutoConvert") '($46 '"Strict")))
  (let $54 (Udf '"Yson2.Options" (Void) (VoidType) '"" $53 (VoidType) '"" $51))
  (return (ToBytes (Unwrap (Apply $48 (Apply $52 $42) (Just (NamedApply $54 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $15)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.120964Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.120 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:917: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct object for FlattenMembers
2025-11-11T14:17:09.121204Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.121325Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 104us
2025-11-11T14:17:09.121356Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.121474Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.121491Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.121553Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 52us
2025-11-11T14:17:09.121621Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 50us
2025-11-11T14:17:09.121807Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.121 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 172us
2025-11-11T14:17:09.122084Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '"_yql_sys_create_time")
(let $10 '"_yql_sys_tsp_write_time")
(let $11 '"_yql_sys_partition_id")
(let $12 '"_yql_sys_message_group_id")
(let $13 '('('"system" $9) '('"system" $10) '('"system" $11) '('"system" '"_yql_sys_offset") '('"system" $12) '('"system" '"_yql_sys_seq_no")))
(let $14 (DataType 'Uint64))
(let $15 (StructType '('event_class $7) '('event_type $14) '('"time" $14)))
(let $16 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $13 $15))
(let $17 '('"time" 'event_class 'event_type))
(let $18 (String '"event_class2"))
(let $19 (Bool 'true))
(let $20 (SortTraits (ListType $15) $19 (lambda '($34) (SafeCast (Member $34 '"time") (OptionalType (DataType 'Timestamp))))))
(let $21 '('"M1"))
(let $22 (lambda '($39) $39))
(let $23 (AggregationTraits $15 (lambda '($36) (Member $36 'event_type)) (lambda '($37 $38) (Member $37 'event_type)) $22 $22 (lambda '($40 $41) $40) $22 (Null)))
(let $24 (MatchRecognizeMeasuresCallables $15 $21 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($35) (Member $35 'Last0)) $21 '('('Last0 $23))))))
(let $25 (MatchRecognizeDefines $15 $21 $21 (lambda '($42 $43 $44) (== (Member (Lookup (ToIndexDict $42) $44) 'event_class) $18))))
(let $26 (MatchRecognizeParams $24 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $25))
(let $27 (MatchRecognize (RemovePrefixMembers (FlatMap (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $16 $17 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($31) (OptionalIf (== (Member $31 'event_class) $18) $31))) (lambda '($32) (AsList (AsStruct '($9 (Member $32 $9)) '($12 (Member $32 $12)) '('"_yql_sys_offset" (Member $32 '"_yql_sys_offset")) '($11 (Member $32 $11)) '('"_yql_sys_seq_no" (Member $32 '"_yql_sys_seq_no")) '($10 (Member $32 $10)) '('event_class (Member $32 'event_class)) '('event_type (Member $32 'event_type)) '('"time" (Member $32 '"time")))))) '('_yql_)) (lambda '($33) '()) '() $20 $26))
(let $28 (StructType '('event_type (OptionalType $14))))
(let $29 (ListType $28))
(let $30 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $27 '((SqlProjectStarItem $29 '"" (lambda '($45) $45) '()))) '((SqlProjectItem $29 '"column0" (lambda '($46) (block '(
  (let $47 (ResourceType '"Yson2.Node"))
  (let $48 '($47 '"" '"1"))
  (let $49 (ResourceType '"Yson2.Options"))
  (let $50 (OptionalType (DataType 'Bool)))
  (let $51 (CallableType '('"4") '((OptionalType (DataType 'Json))) $48 '((OptionalType $49)) '($50 '"SkipMapEntity") '($50 '"EncodeUtf8") '($50 '"WriteNanAsString")))
  (let $52 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $51 (VoidType) '"" '()))
  (let $53 (TupleType (TupleType $28) (StructType) (TupleType)))
  (let $54 (CallableType '() '($47) '($28)))
  (let $55 '('('"strict")))
  (let $56 (Udf '"Yson2.From" (Void) $53 '"" $54 (VoidType) '"" $55))
  (let $57 (CallableType '('"2") '($49) '($50 '"AutoConvert") '($50 '"Strict")))
  (let $58 (Udf '"Yson2.Options" (Void) (VoidType) '"" $57 (VoidType) '"" $55))
  (return (ToBytes (Unwrap (Apply $52 (Apply $56 $46) (Just (NamedApply $58 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $19)))))))))
))) '()))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:17:09.122208Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1194: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} CheckClonedStructure
2025-11-11T14:17:09.122400Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.122461Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 44us
2025-11-11T14:17:09.122490Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.122578Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.122594Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.122627Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.122679Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.122822Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.122 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 129us
2025-11-11T14:17:09.123070Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 (Bool 'true))
(let $16 (SortTraits (ListType $11) $15 (lambda '($30) (SafeCast (Member $30 '"time") (OptionalType (DataType 'Timestamp))))))
(let $17 '('"M1"))
(let $18 (lambda '($35) $35))
(let $19 (AggregationTraits $11 (lambda '($32) (Member $32 'event_type)) (lambda '($33 $34) (Member $33 'event_type)) $18 $18 (lambda '($36 $37) $36) $18 (Null)))
(let $20 (MatchRecognizeMeasuresCallables $11 $17 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($31) (Member $31 'Last0)) $17 '('('Last0 $19))))))
(let $21 (MatchRecognizeDefines $11 $17 $17 (lambda '($38 $39 $40) (== (Member (Lookup (ToIndexDict $38) $40) 'event_class) $14))))
(let $22 (MatchRecognizeParams $20 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $21))
(let $23 (MatchRecognize (RemovePrefixMembers (FlatMap (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) (lambda '($28) (AsList $28))) '('_yql_)) (lambda '($29) '()) '() $16 $22))
(let $24 (StructType '('event_type (OptionalType $10))))
(let $25 (ListType $24))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $23 '((SqlProjectStarItem $25 '"" (lambda '($41) $41) '()))) '((SqlProjectItem $25 '"column0" (lambda '($42) (block '(
  (let $43 (ResourceType '"Yson2.Node"))
  (let $44 '($43 '"" '"1"))
  (let $45 (ResourceType '"Yson2.Options"))
  (let $46 (OptionalType (DataType 'Bool)))
  (let $47 (CallableType '('"4") '((OptionalType (DataType 'Json))) $44 '((OptionalType $45)) '($46 '"SkipMapEntity") '($46 '"EncodeUtf8") '($46 '"WriteNanAsString")))
  (let $48 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $47 (VoidType) '"" '()))
  (let $49 (TupleType (TupleType $24) (StructType) (TupleType)))
  (let $50 (CallableType '() '($43) '($24)))
  (let $51 '('('"strict")))
  (let $52 (Udf '"Yson2.From" (Void) $49 '"" $50 (VoidType) '"" $51))
  (let $53 (CallableType '('"2") '($45) '($46 '"AutoConvert") '($46 '"Strict")))
  (let $54 (Udf '"Yson2.Options" (Void) (VoidType) '"" $53 (VoidType) '"" $51))
  (return (ToBytes (Unwrap (Apply $48 (Apply $52 $42) (Just (NamedApply $54 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $15)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.123165Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2137: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMap with single arg AsList
2025-11-11T14:17:09.123343Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.123402Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 43us
2025-11-11T14:17:09.123431Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:17:09.123541Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.123556Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.123596Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:17:09.123667Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 55us
2025-11-11T14:17:09.123833Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.123 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 153us
2025-11-11T14:17:09.124051Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 (Bool 'true))
(let $16 (SortTraits (ListType $11) $15 (lambda '($30) (SafeCast (Member $30 '"time") (OptionalType (DataType 'Timestamp))))))
(let $17 '('"M1"))
(let $18 (lambda '($35) $35))
(let $19 (AggregationTraits $11 (lambda '($32) (Member $32 'event_type)) (lambda '($33 $34) (Member $33 'event_type)) $18 $18 (lambda '($36 $37) $36) $18 (Null)))
(let $20 (MatchRecognizeMeasuresCallables $11 $17 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($31) (Member $31 'Last0)) $17 '('('Last0 $19))))))
(let $21 (MatchRecognizeDefines $11 $17 $17 (lambda '($38 $39 $40) (== (Member (Lookup (ToIndexDict $38) $40) 'event_class) $14))))
(let $22 (MatchRecognizeParams $20 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $21))
(let $23 (MatchRecognize (RemovePrefixMembers (FlatMap (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) (lambda '($28) (Just $28))) '('_yql_)) (lambda '($29) '()) '() $16 $22))
(let $24 (StructType '('event_type (OptionalType $10))))
(let $25 (ListType $24))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $23 '((SqlProjectStarItem $25 '"" (lambda '($41) $41) '()))) '((SqlProjectItem $25 '"column0" (lambda '($42) (block '(
  (let $43 (ResourceType '"Yson2.Node"))
  (let $44 '($43 '"" '"1"))
  (let $45 (ResourceType '"Yson2.Options"))
  (let $46 (OptionalType (DataType 'Bool)))
  (let $47 (CallableType '('"4") '((OptionalType (DataType 'Json))) $44 '((OptionalType $45)) '($46 '"SkipMapEntity") '($46 '"EncodeUtf8") '($46 '"WriteNanAsString")))
  (let $48 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $47 (VoidType) '"" '()))
  (let $49 (TupleType (TupleType $24) (StructType) (TupleType)))
  (let $50 (CallableType '() '($43) '($24)))
  (let $51 '('('"strict")))
  (let $52 (Udf '"Yson2.From" (Void) $49 '"" $50 (VoidType) '"" $51))
  (let $53 (CallableType '('"2") '($45) '($46 '"AutoConvert") '($46 '"Strict")))
  (let $54 (Udf '"Yson2.Options" (Void) (VoidType) '"" $53 (VoidType) '"" $51))
  (return (ToBytes (Unwrap (Apply $48 (Apply $52 $42) (Just (NamedApply $54 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $15)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.124139Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2149: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMap with Just
2025-11-11T14:17:09.124295Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.124339Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 30us
2025-11-11T14:17:09.124369Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 17us
2025-11-11T14:17:09.124419Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 38us
2025-11-11T14:17:09.124543Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 113us
2025-11-11T14:17:09.124734Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 68000000 } }
2025-11-11T14:17:09.124759Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.124772Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 (Bool 'true))
(let $16 (SortTraits (ListType $11) $15 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $17 '('"M1"))
(let $18 (lambda '($34) $34))
(let $19 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $18 $18 (lambda '($35 $36) $35) $18 (Null)))
(let $20 (MatchRecognizeMeasuresCallables $11 $17 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $17 '('('Last0 $19))))))
(let $21 (MatchRecognizeDefines $11 $17 $17 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $22 (MatchRecognizeParams $20 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $21))
(let $23 (MatchRecognize (RemovePrefixMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) '('_yql_)) (lambda '($28) '()) '() $16 $22))
(let $24 (StructType '('event_type (OptionalType $10))))
(let $25 (ListType $24))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $23 '((SqlProjectStarItem $25 '"" (lambda '($40) $40) '()))) '((SqlProjectItem $25 '"column0" (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (TupleType (TupleType $24) (StructType) (TupleType)))
  (let $49 (CallableType '() '($42) '($24)))
  (let $50 '('('"strict")))
  (let $51 (Udf '"Yson2.From" (Void) $48 '"" $49 (VoidType) '"" $50))
  (let $52 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $53 (Udf '"Yson2.Options" (Void) (VoidType) '"" $52 (VoidType) '"" $50))
  (return (ToBytes (Unwrap (Apply $47 (Apply $51 $41) (Just (NamedApply $53 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $15)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.124775Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 2
2025-11-11T14:17:09.124849Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.124 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:975: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand RemovePrefixMembers
2025-11-11T14:17:09.125028Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.125082Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 36us
2025-11-11T14:17:09.125118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.125174Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 43us
2025-11-11T14:17:09.125347Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 153us
2025-11-11T14:17:09.125608Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($30) (SafeCast (Member $30 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($35) $35))
(let $20 (AggregationTraits $11 (lambda '($32) (Member $32 'event_type)) (lambda '($33 $34) (Member $33 'event_type)) $19 $19 (lambda '($36 $37) $36) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($31) (Member $31 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($38 $39 $40) (== (Member (Lookup (ToIndexDict $38) $40) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($28) (OptionalIf (== (Member $28 'event_class) $14) $28))) $15) (lambda '($29) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (ListType $25))
(let $27 (PqWriteTopic! $4 $5 $8 (SqlProject (SqlProject $24 '((SqlProjectStarItem $26 '"" (lambda '($41) $41) '()))) '((SqlProjectItem $26 '"column0" (lambda '($42) (block '(
  (let $43 (ResourceType '"Yson2.Node"))
  (let $44 '($43 '"" '"1"))
  (let $45 (ResourceType '"Yson2.Options"))
  (let $46 (OptionalType (DataType 'Bool)))
  (let $47 (CallableType '('"4") '((OptionalType (DataType 'Json))) $44 '((OptionalType $45)) '($46 '"SkipMapEntity") '($46 '"EncodeUtf8") '($46 '"WriteNanAsString")))
  (let $48 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $47 (VoidType) '"" '()))
  (let $49 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $50 (CallableType '() '($43) '($25)))
  (let $51 '('('"strict")))
  (let $52 (Udf '"Yson2.From" (Void) $49 '"" $50 (VoidType) '"" $51))
  (let $53 (CallableType '('"2") '($45) '($46 '"AutoConvert") '($46 '"Strict")))
  (let $54 (Udf '"Yson2.Options" (Void) (VoidType) '"" $53 (VoidType) '"" $51))
  (return (ToBytes (Unwrap (Apply $48 (Apply $52 $42) (Just (NamedApply $54 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $27 $5))
)

2025-11-11T14:17:09.125708Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:6780: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand SqlProject
2025-11-11T14:17:09.125891Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.125956Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 46us
2025-11-11T14:17:09.125982Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.125 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.126065Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.126078Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.126107Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.126161Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 40us
2025-11-11T14:17:09.126302Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 125us
2025-11-11T14:17:09.126541Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($34) $34))
(let $20 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $19 $19 (lambda '($35 $36) $35) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) $15) (lambda '($28) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (FlatMap $24 (lambda '($40) (AsList (FlattenMembers '('"" $40))))) '((SqlProjectItem (ListType $25) '"column0" (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $49 (CallableType '() '($42) '($25)))
  (let $50 '('('"strict")))
  (let $51 (Udf '"Yson2.From" (Void) $48 '"" $49 (VoidType) '"" $50))
  (let $52 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $53 (Udf '"Yson2.Options" (Void) (VoidType) '"" $52 (VoidType) '"" $50))
  (return (ToBytes (Unwrap (Apply $47 (Apply $51 $41) (Just (NamedApply $53 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.126632Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:917: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct object for FlattenMembers
2025-11-11T14:17:09.126817Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.126880Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 46us
2025-11-11T14:17:09.126907Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.126992Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.127005Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.126 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.127036Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.127092Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.127237Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 131us
2025-11-11T14:17:09.127488Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($34) $34))
(let $20 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $19 $19 (lambda '($35 $36) $35) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) $15) (lambda '($28) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (FlatMap $24 (lambda '($40) (AsList (AsStruct '('event_type (Member $40 'event_type)))))) '((SqlProjectItem (ListType $25) '"column0" (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $49 (CallableType '() '($42) '($25)))
  (let $50 '('('"strict")))
  (let $51 (Udf '"Yson2.From" (Void) $48 '"" $49 (VoidType) '"" $50))
  (let $52 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $53 (Udf '"Yson2.Options" (Void) (VoidType) '"" $52 (VoidType) '"" $50))
  (return (ToBytes (Unwrap (Apply $47 (Apply $51 $41) (Just (NamedApply $53 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.127583Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1194: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} CheckClonedStructure
2025-11-11T14:17:09.127750Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.127800Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 33us
2025-11-11T14:17:09.127824Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.127907Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.127921Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.127946Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 17us
2025-11-11T14:17:09.127996Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.127 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.128145Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 135us
2025-11-11T14:17:09.128384Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($34) $34))
(let $20 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $19 $19 (lambda '($35 $36) $35) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) $15) (lambda '($28) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (FlatMap $24 (lambda '($40) (AsList $40))) '((SqlProjectItem (ListType $25) '"column0" (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $49 (CallableType '() '($42) '($25)))
  (let $50 '('('"strict")))
  (let $51 (Udf '"Yson2.From" (Void) $48 '"" $49 (VoidType) '"" $50))
  (let $52 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $53 (Udf '"Yson2.Options" (Void) (VoidType) '"" $52 (VoidType) '"" $50))
  (return (ToBytes (Unwrap (Apply $47 (Apply $51 $41) (Just (NamedApply $53 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.128477Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2137: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMap with single arg AsList
2025-11-11T14:17:09.128648Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.128693Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 30us
2025-11-11T14:17:09.128717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.128799Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.128811Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.128835Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.128888Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.128 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 40us
2025-11-11T14:17:09.129024Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 123us
2025-11-11T14:17:09.129252Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($34) $34))
(let $20 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $19 $19 (lambda '($35 $36) $35) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) $15) (lambda '($28) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject (FlatMap $24 (lambda '($40) (Just $40))) '((SqlProjectItem (ListType $25) '"column0" (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $49 (CallableType '() '($42) '($25)))
  (let $50 '('('"strict")))
  (let $51 (Udf '"Yson2.From" (Void) $48 '"" $49 (VoidType) '"" $50))
  (let $52 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $53 (Udf '"Yson2.Options" (Void) (VoidType) '"" $52 (VoidType) '"" $50))
  (return (ToBytes (Unwrap (Apply $47 (Apply $51 $41) (Just (NamedApply $53 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.129360Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2149: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMap with Just
2025-11-11T14:17:09.129546Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.129584Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 21us
2025-11-11T14:17:09.129609Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.129661Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 38us
2025-11-11T14:17:09.129799Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.129 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 123us
2025-11-11T14:17:09.130028Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($29) (SafeCast (Member $29 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($34) $34))
(let $20 (AggregationTraits $11 (lambda '($31) (Member $31 'event_type)) (lambda '($32 $33) (Member $32 'event_type)) $19 $19 (lambda '($35 $36) $35) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($30) (Member $30 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($37 $38 $39) (== (Member (Lookup (ToIndexDict $37) $39) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (OptionalIf (== (Member $27 'event_class) $14) $27))) $15) (lambda '($28) '()) '() $17 $23))
(let $25 (StructType '('event_type (OptionalType $10))))
(let $26 (PqWriteTopic! $4 $5 $8 (SqlProject $24 '((SqlProjectItem (ListType $25) '"column0" (lambda '($40) (block '(
  (let $41 (ResourceType '"Yson2.Node"))
  (let $42 '($41 '"" '"1"))
  (let $43 (ResourceType '"Yson2.Options"))
  (let $44 (OptionalType (DataType 'Bool)))
  (let $45 (CallableType '('"4") '((OptionalType (DataType 'Json))) $42 '((OptionalType $43)) '($44 '"SkipMapEntity") '($44 '"EncodeUtf8") '($44 '"WriteNanAsString")))
  (let $46 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $45 (VoidType) '"" '()))
  (let $47 (TupleType (TupleType $25) (StructType) (TupleType)))
  (let $48 (CallableType '() '($41) '($25)))
  (let $49 '('('"strict")))
  (let $50 (Udf '"Yson2.From" (Void) $47 '"" $48 (VoidType) '"" $49))
  (let $51 (CallableType '('"2") '($43) '($44 '"AutoConvert") '($44 '"Strict")))
  (let $52 (Udf '"Yson2.Options" (Void) (VoidType) '"" $51 (VoidType) '"" $49))
  (return (ToBytes (Unwrap (Apply $46 (Apply $50 $40) (Just (NamedApply $52 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16)))))))))
))) '()))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.130112Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:6780: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand SqlProject
2025-11-11T14:17:09.130336Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.130418Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 67us
2025-11-11T14:17:09.130443Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.130541Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.130555Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.130597Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:17:09.130654Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.130801Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.130 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 133us
2025-11-11T14:17:09.131045Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($28) (SafeCast (Member $28 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($33) $33))
(let $20 (AggregationTraits $11 (lambda '($30) (Member $30 'event_type)) (lambda '($31 $32) (Member $31 'event_type)) $19 $19 (lambda '($34 $35) $34) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($29) (Member $29 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($36 $37 $38) (== (Member (Lookup (ToIndexDict $36) $38) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($26) (OptionalIf (== (Member $26 'event_class) $14) $26))) $15) (lambda '($27) '()) '() $17 $23))
(let $25 (PqWriteTopic! $4 $5 $8 (FlatMap $24 (lambda '($39) (block '(
  (let $40 (ResourceType '"Yson2.Node"))
  (let $41 '($40 '"" '"1"))
  (let $42 (ResourceType '"Yson2.Options"))
  (let $43 (OptionalType (DataType 'Bool)))
  (let $44 (CallableType '('"4") '((OptionalType (DataType 'Json))) $41 '((OptionalType $42)) '($43 '"SkipMapEntity") '($43 '"EncodeUtf8") '($43 '"WriteNanAsString")))
  (let $45 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $44 (VoidType) '"" '()))
  (let $46 (StructType '('event_type (OptionalType $10))))
  (let $47 (TupleType (TupleType $46) (StructType) (TupleType)))
  (let $48 (CallableType '() '($40) '($46)))
  (let $49 '('('"strict")))
  (let $50 (Udf '"Yson2.From" (Void) $47 '"" $48 (VoidType) '"" $49))
  (let $51 (CallableType '('"2") '($42) '($43 '"AutoConvert") '($43 '"Strict")))
  (let $52 (Udf '"Yson2.Options" (Void) (VoidType) '"" $51 (VoidType) '"" $49))
  (return (AsList (FlattenMembers '('"" (AsStruct '('"column0" (ToBytes (Unwrap (Apply $45 (Apply $50 $39) (Just (NamedApply $52 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16))))))))))))))
)))) 'append '()))
(return (Commit! $25 $5))
)

2025-11-11T14:17:09.131160Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:896: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct literal for FlattenMembers
2025-11-11T14:17:09.131358Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.131438Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 62us
2025-11-11T14:17:09.131464Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.131548Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.131561Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.131599Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.131656Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 41us
2025-11-11T14:17:09.131799Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.131 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 126us
2025-11-11T14:17:09.132050Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($28) (SafeCast (Member $28 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($33) $33))
(let $20 (AggregationTraits $11 (lambda '($30) (Member $30 'event_type)) (lambda '($31 $32) (Member $31 'event_type)) $19 $19 (lambda '($34 $35) $34) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($29) (Member $29 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($36 $37 $38) (== (Member (Lookup (ToIndexDict $36) $38) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($26) (OptionalIf (== (Member $26 'event_class) $14) $26))) $15) (lambda '($27) '()) '() $17 $23))
(let $25 (PqWriteTopic! $4 $5 $8 (FlatMap $24 (lambda '($39) (block '(
  (let $40 (ResourceType '"Yson2.Node"))
  (let $41 '($40 '"" '"1"))
  (let $42 (ResourceType '"Yson2.Options"))
  (let $43 (OptionalType (DataType 'Bool)))
  (let $44 (CallableType '('"4") '((OptionalType (DataType 'Json))) $41 '((OptionalType $42)) '($43 '"SkipMapEntity") '($43 '"EncodeUtf8") '($43 '"WriteNanAsString")))
  (let $45 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $44 (VoidType) '"" '()))
  (let $46 (StructType '('event_type (OptionalType $10))))
  (let $47 (TupleType (TupleType $46) (StructType) (TupleType)))
  (let $48 (CallableType '() '($40) '($46)))
  (let $49 '('('"strict")))
  (let $50 (Udf '"Yson2.From" (Void) $47 '"" $48 (VoidType) '"" $49))
  (let $51 (CallableType '('"2") '($42) '($43 '"AutoConvert") '($43 '"Strict")))
  (let $52 (Udf '"Yson2.Options" (Void) (VoidType) '"" $51 (VoidType) '"" $49))
  (return (AsList (AsStruct '('"column0" (ToBytes (Unwrap (Apply $45 (Apply $50 $39) (Just (NamedApply $52 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16))))))))))))
)))) 'append '()))
(return (Commit! $25 $5))
)

2025-11-11T14:17:09.132157Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2137: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMap with single arg AsList
2025-11-11T14:17:09.132342Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.132423Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 61us
2025-11-11T14:17:09.132450Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:17:09.132533Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.132552Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.132588Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.132641Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 39us
2025-11-11T14:17:09.132779Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.132 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 123us
2025-11-11T14:17:09.133025Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.133 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 (StructType '('event_class $7) '('event_type $10) '('"time" $10)))
(let $12 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $11))
(let $13 '('"time" 'event_class 'event_type))
(let $14 (String '"event_class2"))
(let $15 '('event_class 'event_type '"time"))
(let $16 (Bool 'true))
(let $17 (SortTraits (ListType $11) $16 (lambda '($28) (SafeCast (Member $28 '"time") (OptionalType (DataType 'Timestamp))))))
(let $18 '('"M1"))
(let $19 (lambda '($33) $33))
(let $20 (AggregationTraits $11 (lambda '($30) (Member $30 'event_type)) (lambda '($31 $32) (Member $31 'event_type)) $19 $19 (lambda '($34 $35) $34) $19 (Null)))
(let $21 (MatchRecognizeMeasuresCallables $11 $18 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($29) (Member $29 'Last0)) $18 '('('Last0 $20))))))
(let $22 (MatchRecognizeDefines $11 $18 $18 (lambda '($36 $37 $38) (== (Member (Lookup (ToIndexDict $36) $38) 'event_class) $14))))
(let $23 (MatchRecognizeParams $21 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $22))
(let $24 (MatchRecognize (ExtractMembers (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $12 $13 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($26) (OptionalIf (== (Member $26 'event_class) $14) $26))) $15) (lambda '($27) '()) '() $17 $23))
(let $25 (PqWriteTopic! $4 $5 $8 (FlatMap $24 (lambda '($39) (block '(
  (let $40 (ResourceType '"Yson2.Node"))
  (let $41 '($40 '"" '"1"))
  (let $42 (ResourceType '"Yson2.Options"))
  (let $43 (OptionalType (DataType 'Bool)))
  (let $44 (CallableType '('"4") '((OptionalType (DataType 'Json))) $41 '((OptionalType $42)) '($43 '"SkipMapEntity") '($43 '"EncodeUtf8") '($43 '"WriteNanAsString")))
  (let $45 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $44 (VoidType) '"" '()))
  (let $46 (StructType '('event_type (OptionalType $10))))
  (let $47 (TupleType (TupleType $46) (StructType) (TupleType)))
  (let $48 (CallableType '() '($40) '($46)))
  (let $49 '('('"strict")))
  (let $50 (Udf '"Yson2.From" (Void) $47 '"" $48 (VoidType) '"" $49))
  (let $51 (CallableType '('"2") '($42) '($43 '"AutoConvert") '($43 '"Strict")))
  (let $52 (Udf '"Yson2.Options" (Void) (VoidType) '"" $51 (VoidType) '"" $49))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $45 (Apply $50 $39) (Just (NamedApply $52 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $16))))))))))))
)))) 'append '()))
(return (Commit! $25 $5))
)

2025-11-11T14:17:09.133819Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.133 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_extr_members.cpp:303: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Apply ExtractMembers to FlatMap
2025-11-11T14:17:09.133902Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.133 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow2.cpp:2868: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FieldSubset for SortTraits
2025-11-11T14:17:09.133943Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.133 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow2.cpp:2752: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FieldSubset for AggregationTraits
2025-11-11T14:17:09.134204Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.134393Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 168us
2025-11-11T14:17:09.134456Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 45us
2025-11-11T14:17:09.134548Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.134561Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.134643Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 71us
2025-11-11T14:17:09.134701Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 42us
2025-11-11T14:17:09.134747Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 129000000 } }
2025-11-11T14:17:09.134773Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.134791Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:17:09.134880Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.134 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 163us
2025-11-11T14:17:09.135153Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.135 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $13))
(let $15 '('"time" 'event_class 'event_type))
(let $16 (String '"event_class2"))
(let $17 (Bool 'true))
(let $18 (SortTraits (ListType (StructType $12)) $17 (lambda '($31) (SafeCast (Member $31 '"time") (OptionalType (DataType 'Timestamp))))))
(let $19 '('"M1"))
(let $20 (lambda '($36) $36))
(let $21 (AggregationTraits (StructType $11) (lambda '($33) (Member $33 'event_type)) (lambda '($34 $35) (Member $34 'event_type)) $20 $20 (lambda '($37 $38) $37) $20 (Null)))
(let $22 (MatchRecognizeMeasuresCallables $13 $19 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($32) (Member $32 'Last0)) $19 '('('Last0 $21))))))
(let $23 (MatchRecognizeDefines $13 $19 $19 (lambda '($39 $40 $41) (== (Member (Lookup (ToIndexDict $39) $41) 'event_class) $16))))
(let $24 (MatchRecognizeParams $22 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $23))
(let $25 (MatchRecognize (FlatMap (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $14 $15 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($27) (block '(
  (let $28 (Member $27 'event_class))
  (let $29 (AsStruct '('event_class $28) '('event_type (Member $27 'event_type)) '('"time" (Member $27 '"time"))))
  (return (OptionalIf (== $28 $16) $29))
)))) (lambda '($30) '()) '() $18 $24))
(let $26 (PqWriteTopic! $4 $5 $8 (FlatMap $25 (lambda '($42) (block '(
  (let $43 (ResourceType '"Yson2.Node"))
  (let $44 '($43 '"" '"1"))
  (let $45 (ResourceType '"Yson2.Options"))
  (let $46 (OptionalType (DataType 'Bool)))
  (let $47 (CallableType '('"4") '((OptionalType (DataType 'Json))) $44 '((OptionalType $45)) '($46 '"SkipMapEntity") '($46 '"EncodeUtf8") '($46 '"WriteNanAsString")))
  (let $48 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $47 (VoidType) '"" '()))
  (let $49 (StructType '('event_type (OptionalType $10))))
  (let $50 (TupleType (TupleType $49) (StructType) (TupleType)))
  (let $51 (CallableType '() '($43) '($49)))
  (let $52 '('('"strict")))
  (let $53 (Udf '"Yson2.From" (Void) $50 '"" $51 (VoidType) '"" $52))
  (let $54 (CallableType '('"2") '($45) '($46 '"AutoConvert") '($46 '"Strict")))
  (let $55 (Udf '"Yson2.Options" (Void) (VoidType) '"" $54 (VoidType) '"" $52))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $48 (Apply $53 $42) (Just (NamedApply $55 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $17))))))))))))
)))) 'append '()))
(return (Commit! $26 $5))
)

2025-11-11T14:17:09.135705Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.135 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow2.cpp:2202: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} FlatMapSubsetFields
2025-11-11T14:17:09.135921Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.135 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.136006Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.135 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 66us
2025-11-11T14:17:09.136039Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 18us
2025-11-11T14:17:09.136126Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.136141Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.136186Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 35us
2025-11-11T14:17:09.136243Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 43us
2025-11-11T14:17:09.136404Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 145us
2025-11-11T14:17:09.136678Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $13))
(let $15 '('"time" 'event_class 'event_type))
(let $16 '('event_class 'event_type '"time"))
(let $17 (String '"event_class2"))
(let $18 (Bool 'true))
(let $19 (SortTraits (ListType (StructType $12)) $18 (lambda '($32) (SafeCast (Member $32 '"time") (OptionalType (DataType 'Timestamp))))))
(let $20 '('"M1"))
(let $21 (lambda '($37) $37))
(let $22 (AggregationTraits (StructType $11) (lambda '($34) (Member $34 'event_type)) (lambda '($35 $36) (Member $35 'event_type)) $21 $21 (lambda '($38 $39) $38) $21 (Null)))
(let $23 (MatchRecognizeMeasuresCallables $13 $20 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($33) (Member $33 'Last0)) $20 '('('Last0 $22))))))
(let $24 (MatchRecognizeDefines $13 $20 $20 (lambda '($40 $41 $42) (== (Member (Lookup (ToIndexDict $40) $42) 'event_class) $17))))
(let $25 (MatchRecognizeParams $23 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $24))
(let $26 (MatchRecognize (FlatMap (ExtractMembers (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $14 $15 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) $16) (lambda '($28) (block '(
  (let $29 (Member $28 'event_class))
  (let $30 (AsStruct '('event_class $29) '('event_type (Member $28 'event_type)) '('"time" (Member $28 '"time"))))
  (return (OptionalIf (== $29 $17) $30))
)))) (lambda '($31) '()) '() $19 $25))
(let $27 (PqWriteTopic! $4 $5 $8 (FlatMap $26 (lambda '($43) (block '(
  (let $44 (ResourceType '"Yson2.Node"))
  (let $45 '($44 '"" '"1"))
  (let $46 (ResourceType '"Yson2.Options"))
  (let $47 (OptionalType (DataType 'Bool)))
  (let $48 (CallableType '('"4") '((OptionalType (DataType 'Json))) $45 '((OptionalType $46)) '($47 '"SkipMapEntity") '($47 '"EncodeUtf8") '($47 '"WriteNanAsString")))
  (let $49 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $48 (VoidType) '"" '()))
  (let $50 (StructType '('event_type (OptionalType $10))))
  (let $51 (TupleType (TupleType $50) (StructType) (TupleType)))
  (let $52 (CallableType '() '($44) '($50)))
  (let $53 '('('"strict")))
  (let $54 (Udf '"Yson2.From" (Void) $51 '"" $52 (VoidType) '"" $53))
  (let $55 (CallableType '('"2") '($46) '($47 '"AutoConvert") '($47 '"Strict")))
  (let $56 (Udf '"Yson2.Options" (Void) (VoidType) '"" $55 (VoidType) '"" $53))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $49 (Apply $54 $43) (Just (NamedApply $56 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $18))))))))))))
)))) 'append '()))
(return (Commit! $27 $5))
)

2025-11-11T14:17:09.136784Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1194: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} CheckClonedStructure
2025-11-11T14:17:09.136969Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.136 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.137022Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 39us
2025-11-11T14:17:09.137048Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.137133Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.137148Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.137179Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.137234Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 39us
2025-11-11T14:17:09.137389Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 138us
2025-11-11T14:17:09.137665Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.137 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '('('"system" '"_yql_sys_create_time") '('"system" '"_yql_sys_tsp_write_time") '('"system" '"_yql_sys_partition_id") '('"system" '"_yql_sys_offset") '('"system" '"_yql_sys_message_group_id") '('"system" '"_yql_sys_seq_no")))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $9 $13))
(let $15 '('"time" 'event_class 'event_type))
(let $16 '('event_class 'event_type '"time"))
(let $17 (String '"event_class2"))
(let $18 (Bool 'true))
(let $19 (SortTraits (ListType (StructType $12)) $18 (lambda '($30) (SafeCast (Member $30 '"time") (OptionalType (DataType 'Timestamp))))))
(let $20 '('"M1"))
(let $21 (lambda '($35) $35))
(let $22 (AggregationTraits (StructType $11) (lambda '($32) (Member $32 'event_type)) (lambda '($33 $34) (Member $33 'event_type)) $21 $21 (lambda '($36 $37) $36) $21 (Null)))
(let $23 (MatchRecognizeMeasuresCallables $13 $20 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($31) (Member $31 'Last0)) $20 '('('Last0 $22))))))
(let $24 (MatchRecognizeDefines $13 $20 $20 (lambda '($38 $39 $40) (== (Member (Lookup (ToIndexDict $38) $40) 'event_class) $17))))
(let $25 (MatchRecognizeParams $23 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $24))
(let $26 (MatchRecognize (FlatMap (ExtractMembers (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $14 $15 '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) $16) (lambda '($28) (OptionalIf (== (Member $28 'event_class) $17) $28))) (lambda '($29) '()) '() $19 $25))
(let $27 (PqWriteTopic! $4 $5 $8 (FlatMap $26 (lambda '($41) (block '(
  (let $42 (ResourceType '"Yson2.Node"))
  (let $43 '($42 '"" '"1"))
  (let $44 (ResourceType '"Yson2.Options"))
  (let $45 (OptionalType (DataType 'Bool)))
  (let $46 (CallableType '('"4") '((OptionalType (DataType 'Json))) $43 '((OptionalType $44)) '($45 '"SkipMapEntity") '($45 '"EncodeUtf8") '($45 '"WriteNanAsString")))
  (let $47 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $46 (VoidType) '"" '()))
  (let $48 (StructType '('event_type (OptionalType $10))))
  (let $49 (TupleType (TupleType $48) (StructType) (TupleType)))
  (let $50 (CallableType '() '($42) '($48)))
  (let $51 '('('"strict")))
  (let $52 (Udf '"Yson2.From" (Void) $49 '"" $50 (VoidType) '"" $51))
  (let $53 (CallableType '('"2") '($44) '($45 '"AutoConvert") '($45 '"Strict")))
  (let $54 (Udf '"Yson2.Options" (Void) (VoidType) '"" $53 (VoidType) '"" $51))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $47 (Apply $52 $41) (Just (NamedApply $54 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $18))))))))))))
)))) 'append '()))
(return (Commit! $27 $5))
)

2025-11-11T14:17:09.138502Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.138 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_recapture.cpp:110: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqsRecapture
2025-11-11T14:17:09.138959Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.138 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.139070Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.139 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 87us
2025-11-11T14:17:09.139144Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.139 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 57us
2025-11-11T14:17:09.139208Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.139 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 47us
2025-11-11T14:17:09.139397Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.139 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 171us
2025-11-11T14:17:09.139708Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.139 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 '"_yql_sys_create_time")
(let $10 '"_yql_sys_tsp_write_time")
(let $11 '"_yql_sys_partition_id")
(let $12 '"_yql_sys_message_group_id")
(let $13 '('('"system" $9) '('"system" $10) '('"system" $11) '('"system" '"_yql_sys_offset") '('"system" $12) '('"system" '"_yql_sys_seq_no")))
(let $14 '('event_class $7))
(let $15 (DataType 'Uint64))
(let $16 '('event_type $15))
(let $17 '('"time" $15))
(let $18 (StructType $14 $16 $17))
(let $19 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 $13 $18))
(let $20 '('event_class 'event_type '"time"))
(let $21 '('"SharedReading" '"1"))
(let $22 '('('"Endpoint" '"localhost:19692") $21 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '"1")))
(let $23 (DataType 'Timestamp))
(let $24 (StructType '($9 $23) '($12 $7) '('"_yql_sys_offset" $15) '($11 $15) '('"_yql_sys_seq_no" $15) '($10 $23) $14 $16 $17))
(let $25 (DqPqTopicSource $4 $19 $20 $22 (SecureParam '"cluster:default_yds") '"" $24 '""))
(let $26 '($9 $10 $11 '"_yql_sys_offset" $12 '"_yql_sys_seq_no"))
(let $27 '('('"format" '"json_each_row") '('"metadataColumns" $26) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($21))))
(let $28 (DqSourceWrap $25 (DataSource '"pq" '"yds") $24 $27))
(let $29 (String '"event_class2"))
(let $30 (Bool 'true))
(let $31 (SortTraits (ListType (StructType $17)) $30 (lambda '($42) (SafeCast (Member $42 '"time") (OptionalType $23)))))
(let $32 '('"M1"))
(let $33 (lambda '($47) $47))
(let $34 (AggregationTraits (StructType $16) (lambda '($44) (Member $44 'event_type)) (lambda '($45 $46) (Member $45 'event_type)) $33 $33 (lambda '($48 $49) $48) $33 (Null)))
(let $35 (MatchRecognizeMeasuresCallables $18 $32 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($43) (Member $43 'Last0)) $32 '('('Last0 $34))))))
(let $36 (MatchRecognizeDefines $18 $32 $32 (lambda '($50 $51 $52) (== (Member (Lookup (ToIndexDict $50) $52) 'event_class) $29))))
(let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $36))
(let $38 (MatchRecognize (FlatMap (ExtractMembers $28 $20) (lambda '($40) (OptionalIf (== (Member $40 'event_class) $29) $40))) (lambda '($41) '()) '() $31 $37))
(let $39 (PqWriteTopic! $4 $5 $8 (FlatMap $38 (lambda '($53) (block '(
  (let $54 (ResourceType '"Yson2.Node"))
  (let $55 '($54 '"" '"1"))
  (let $56 (ResourceType '"Yson2.Options"))
  (let $57 (OptionalType (DataType 'Bool)))
  (let $58 (CallableType '('"4") '((OptionalType (DataType 'Json))) $55 '((OptionalType $56)) '($57 '"SkipMapEntity") '($57 '"EncodeUtf8") '($57 '"WriteNanAsString")))
  (let $59 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $58 (VoidType) '"" '()))
  (let $60 (StructType '('event_type (OptionalType $15))))
  (let $61 (TupleType (TupleType $60) (StructType) (TupleType)))
  (let $62 (CallableType '() '($54) '($60)))
  (let $63 '('('"strict")))
  (let $64 (Udf '"Yson2.From" (Void) $61 '"" $62 (VoidType) '"" $63))
  (let $65 (CallableType '('"2") '($56) '($57 '"AutoConvert") '($57 '"Strict")))
  (let $66 (Udf '"Yson2.Options" (Void) (VoidType) '"" $65 (VoidType) '"" $63))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $59 (Apply $64 $53) (Just (NamedApply $66 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $30))))))))))))
)))) 'append '()))
(return (Commit! $39 $5))
)

2025-11-11T14:17:09.141468Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.141 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} LogicalOptimizer-ExtractMembersOverDqWrap
2025-11-11T14:17:09.141701Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.141 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.141779Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.141 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 59us
2025-11-11T14:17:09.141838Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.141 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 42us
2025-11-11T14:17:09.141901Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.141 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 45us
2025-11-11T14:17:09.142054Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.142 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 136us
2025-11-11T14:17:09.142317Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.142 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataType 'Uint64))
(let $10 '('event_type $9))
(let $11 '('"time" $9))
(let $12 (StructType '('event_class $7) $10 $11))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '"1"))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '"1")))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"" $12 '""))
(let $18 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
(let $19 (DqSourceWrap $17 (DataSource '"pq" '"yds") $12 $18))
(let $20 (String '"event_class2"))
(let $21 (Bool 'true))
(let $22 (SortTraits (ListType (StructType $11)) $21 (lambda '($33) (SafeCast (Member $33 '"time") (OptionalType (DataType 'Timestamp))))))
(let $23 '('"M1"))
(let $24 (lambda '($38) $38))
(let $25 (AggregationTraits (StructType $10) (lambda '($35) (Member $35 'event_type)) (lambda '($36 $37) (Member $36 'event_type)) $24 $24 (lambda '($39 $40) $39) $24 (Null)))
(let $26 (MatchRecognizeMeasuresCallables $12 $23 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($34) (Member $34 'Last0)) $23 '('('Last0 $25))))))
(let $27 (MatchRecognizeDefines $12 $23 $23 (lambda '($41 $42 $43) (== (Member (Lookup (ToIndexDict $41) $43) 'event_class) $20))))
(let $28 (MatchRecognizeParams $26 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $27))
(let $29 (MatchRecognize (FlatMap $19 (lambda '($31) (OptionalIf (== (Member $31 'event_class) $20) $31))) (lambda '($32) '()) '() $22 $28))
(let $30 (PqWriteTopic! $4 $5 $8 (FlatMap $29 (lambda '($44) (block '(
  (let $45 (ResourceType '"Yson2.Node"))
  (let $46 '($45 '"" '"1"))
  (let $47 (ResourceType '"Yson2.Options"))
  (let $48 (OptionalType (DataType 'Bool)))
  (let $49 (CallableType '('"4") '((OptionalType (DataType 'Json))) $46 '((OptionalType $47)) '($48 '"SkipMapEntity") '($48 '"EncodeUtf8") '($48 '"WriteNanAsString")))
  (let $50 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $49 (VoidType) '"" '()))
  (let $51 (StructType '('event_type (OptionalType $9))))
  (let $52 (TupleType (TupleType $51) (StructType) (TupleType)))
  (let $53 (CallableType '() '($45) '($51)))
  (let $54 '('('"strict")))
  (let $55 (Udf '"Yson2.From" (Void) $52 '"" $53 (VoidType) '"" $54))
  (let $56 (CallableType '('"2") '($47) '($48 '"AutoConvert") '($48 '"Strict")))
  (let $57 (Udf '"Yson2.Options" (Void) (VoidType) '"" $56 (VoidType) '"" $54))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $50 (Apply $55 $44) (Just (NamedApply $57 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $21))))))))))))
)))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:17:09.143174Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [default] physical_opt.cpp:45: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Push filter. Initial filter lambda: (
(return (lambda '($1) (OptionalIf (== (Member $1 'event_class) (String '"event_class2")) $1)))
)

2025-11-11T14:17:09.143252Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_logical_opt.cpp:286: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Build new TCoFlatMap with predicate
2025-11-11T14:17:09.143288Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} LogicalOptimizer-PushFilterToPqTopicSource
2025-11-11T14:17:09.143457Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.143517Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 41us
2025-11-11T14:17:09.143562Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.143619Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 43us
2025-11-11T14:17:09.143777Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.143 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 142us
2025-11-11T14:17:09.144045Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.144 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataType 'Uint64))
(let $10 '('event_type $9))
(let $11 '('"time" $9))
(let $12 (StructType '('event_class $7) $10 $11))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '"1"))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '"1")))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
(let $19 (DqSourceWrap $17 (DataSource '"pq" '"yds") $12 $18))
(let $20 (String '"event_class2"))
(let $21 (Bool 'true))
(let $22 (SortTraits (ListType (StructType $11)) $21 (lambda '($33) (SafeCast (Member $33 '"time") (OptionalType (DataType 'Timestamp))))))
(let $23 '('"M1"))
(let $24 (lambda '($38) $38))
(let $25 (AggregationTraits (StructType $10) (lambda '($35) (Member $35 'event_type)) (lambda '($36 $37) (Member $36 'event_type)) $24 $24 (lambda '($39 $40) $39) $24 (Null)))
(let $26 (MatchRecognizeMeasuresCallables $12 $23 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($34) (Member $34 'Last0)) $23 '('('Last0 $25))))))
(let $27 (MatchRecognizeDefines $12 $23 $23 (lambda '($41 $42 $43) (== (Member (Lookup (ToIndexDict $41) $43) 'event_class) $20))))
(let $28 (MatchRecognizeParams $26 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $27))
(let $29 (MatchRecognize (FlatMap $19 (lambda '($31) (OptionalIf (== (Member $31 'event_class) $20) $31))) (lambda '($32) '()) '() $22 $28))
(let $30 (PqWriteTopic! $4 $5 $8 (FlatMap $29 (lambda '($44) (block '(
  (let $45 (ResourceType '"Yson2.Node"))
  (let $46 '($45 '"" '"1"))
  (let $47 (ResourceType '"Yson2.Options"))
  (let $48 (OptionalType (DataType 'Bool)))
  (let $49 (CallableType '('"4") '((OptionalType (DataType 'Json))) $46 '((OptionalType $47)) '($48 '"SkipMapEntity") '($48 '"EncodeUtf8") '($48 '"WriteNanAsString")))
  (let $50 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $49 (VoidType) '"" '()))
  (let $51 (StructType '('event_type (OptionalType $9))))
  (let $52 (TupleType (TupleType $51) (StructType) (TupleType)))
  (let $53 (CallableType '() '($45) '($51)))
  (let $54 '('('"strict")))
  (let $55 (Udf '"Yson2.From" (Void) $52 '"" $53 (VoidType) '"" $54))
  (let $56 (CallableType '('"2") '($47) '($48 '"AutoConvert") '($48 '"Strict")))
  (let $57 (Udf '"Yson2.Options" (Void) (VoidType) '"" $56 (VoidType) '"" $54))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $50 (Apply $55 $44) (Just (NamedApply $57 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $21))))))))))))
)))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:17:09.144810Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.144 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_logical_opt.cpp:268: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Push filter. Lambda is already not empty
2025-11-11T14:17:09.145072Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqsPhy-BuildStageWithSourceWrap
2025-11-11T14:17:09.145077Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 139000000 } }
2025-11-11T14:17:09.145111Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:17:09.145357Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.145506Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 131us
2025-11-11T14:17:09.145560Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.145651Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.145663Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.145692Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.145776Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.145789Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.145841Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 44us
2025-11-11T14:17:09.145901Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.145 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 47us
2025-11-11T14:17:09.146074Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.146 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 159us
2025-11-11T14:17:09.146361Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.146 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $13))
(let $15 '('event_class 'event_type '"time"))
(let $16 '('"SharedReading" '"1"))
(let $17 '('('"Endpoint" '"localhost:19692") $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '"1")))
(let $18 (DqPqTopicSource $4 $14 $15 $17 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $13 '""))
(let $19 (DqStage '((DqSource $9 $18)) (lambda '($31) (block '(
  (let $32 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $33 (DqSourceWideWrap $31 $9 $13 $32))
  (return (NarrowMap $33 (lambda '($34 $35 $36) (AsStruct '('event_class $34) '('event_type $35) '('"time" $36)))))
))) '('('"_logical_id" '210510))))
(let $20 (String '"event_class2"))
(let $21 (Bool 'true))
(let $22 (SortTraits (ListType (StructType $12)) $21 (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp))))))
(let $23 '('"M1"))
(let $24 (lambda '($44) $44))
(let $25 (AggregationTraits (StructType $11) (lambda '($41) (Member $41 'event_type)) (lambda '($42 $43) (Member $42 'event_type)) $24 $24 (lambda '($45 $46) $45) $24 (Null)))
(let $26 (MatchRecognizeMeasuresCallables $13 $23 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($40) (Member $40 'Last0)) $23 '('('Last0 $25))))))
(let $27 (MatchRecognizeDefines $13 $23 $23 (lambda '($47 $48 $49) (== (Member (Lookup (ToIndexDict $47) $49) 'event_class) $20))))
(let $28 (MatchRecognizeParams $26 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $27))
(let $29 (MatchRecognize (FlatMap (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($37) (OptionalIf (== (Member $37 'event_class) $20) $37))) (lambda '($38) '()) '() $22 $28))
(let $30 (PqWriteTopic! $4 $5 $8 (FlatMap $29 (lambda '($50) (block '(
  (let $51 (ResourceType '"Yson2.Node"))
  (let $52 '($51 '"" '"1"))
  (let $53 (ResourceType '"Yson2.Options"))
  (let $54 (OptionalType (DataType 'Bool)))
  (let $55 (CallableType '('"4") '((OptionalType (DataType 'Json))) $52 '((OptionalType $53)) '($54 '"SkipMapEntity") '($54 '"EncodeUtf8") '($54 '"WriteNanAsString")))
  (let $56 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $55 (VoidType) '"" '()))
  (let $57 (StructType '('event_type (OptionalType $10))))
  (let $58 (TupleType (TupleType $57) (StructType) (TupleType)))
  (let $59 (CallableType '() '($51) '($57)))
  (let $60 '('('"strict")))
  (let $61 (Udf '"Yson2.From" (Void) $58 '"" $59 (VoidType) '"" $60))
  (let $62 (CallableType '('"2") '($53) '($54 '"AutoConvert") '($54 '"Strict")))
  (let $63 (Udf '"Yson2.Options" (Void) (VoidType) '"" $62 (VoidType) '"" $60))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $56 (Apply $61 $50) (Just (NamedApply $63 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $21))))))))))))
)))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:17:09.147574Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.147 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_phy.cpp:658: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} stage #210515: (
(declare stage_input_0 (StreamType (GenericType)))
(return (DqStage '(stage_input_0) (lambda '($1) (block '(
  (let $2 (DataType 'Uint64))
  (let $3 (StructType '('event_class (DataType 'String)) '('event_type $2) '('"time" $2)))
  (let $4 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '('('"SharedReading" '"1")))))
  (let $5 (DqSourceWideWrap $1 (DataSource '"pq" '"yds") $3 $4))
  (return (NarrowMap $5 (lambda '($6 $7 $8) (AsStruct '('event_class $6) '('event_type $7) '('"time" $8)))))
))) '('('"_logical_id" '210510))))
)
, add lambda to output #0
2025-11-11T14:17:09.147666Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.147 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqsPhy-BuildFlatmapStage<false>
2025-11-11T14:17:09.147862Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.147 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.147978Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.147 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 94us
2025-11-11T14:17:09.148016Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.148116Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.148130Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.148166Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.148253Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.148268Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.148316Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.148378Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 49us
2025-11-11T14:17:09.148549Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 155us
2025-11-11T14:17:09.148838Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.148 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '"1")))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $13))
(let $15 '('event_class 'event_type '"time"))
(let $16 '('"SharedReading" '"1"))
(let $17 '('('"Endpoint" '"localhost:19692") $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '"1")))
(let $18 (DqPqTopicSource $4 $14 $15 $17 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $13 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $9 $18)) (lambda '($31) (block '(
  (let $32 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $33 (DqSourceWideWrap $31 $9 $13 $32))
  (return (FlatMap (NarrowMap $33 (lambda '($34 $35 $36) (AsStruct '('event_class $34) '('event_type $35) '('"time" $36)))) (lambda '($37) (OptionalIf (== (Member $37 'event_class) $19) $37))))
))) '('('"_logical_id" '210566))))
(let $21 (Bool 'true))
(let $22 (SortTraits (ListType (StructType $12)) $21 (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp))))))
(let $23 '('"M1"))
(let $24 (lambda '($44) $44))
(let $25 (AggregationTraits (StructType $11) (lambda '($41) (Member $41 'event_type)) (lambda '($42 $43) (Member $42 'event_type)) $24 $24 (lambda '($45 $46) $45) $24 (Null)))
(let $26 (MatchRecognizeMeasuresCallables $13 $23 '('event_type) '((MatchRecognizeMeasuresCallable (lambda '($40) (Member $40 'Last0)) $23 '('('Last0 $25))))))
(let $27 (MatchRecognizeDefines $13 $23 $23 (lambda '($47 $48 $49) (== (Member (Lookup (ToIndexDict $47) $49) 'event_class) $19))))
(let $28 (MatchRecognizeParams $26 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '"1" '"1" '"1" '"1" '"0"))) $27))
(let $29 (MatchRecognize (DqCnUnionAll (TDqOutput $20 '"0")) (lambda '($38) '()) '() $22 $28))
(let $30 (PqWriteTopic! $4 $5 $8 (FlatMap $29 (lambda '($50) (block '(
  (let $51 (ResourceType '"Yson2.Node"))
  (let $52 '($51 '"" '"1"))
  (let $53 (ResourceType '"Yson2.Options"))
  (let $54 (OptionalType (DataType 'Bool)))
  (let $55 (CallableType '('"4") '((OptionalType (DataType 'Json))) $52 '((OptionalType $53)) '($54 '"SkipMapEntity") '($54 '"EncodeUtf8") '($54 '"WriteNanAsString")))
  (let $56 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $55 (VoidType) '"" '()))
  (let $57 (StructType '('event_type (OptionalType $10))))
  (let $58 (TupleType (TupleType $57) (StructType) (TupleType)))
  (let $59 (CallableType '() '($51) '($57)))
  (let $60 '('('"strict")))
  (let $61 (Udf '"Yson2.From" (Void) $58 '"" $59 (VoidType) '"" $60))
  (let $62 (CallableType '('"2") '($53) '($54 '"AutoConvert") '($54 '"Strict")))
  (let $63 (Udf '"Yson2.Options" (Void) (VoidType) '"" $62 (VoidType) '"" $60))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $56 (Apply $61 $50) (Just (NamedApply $63 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $21))))))))))))
)))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:17:09.149594Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.149 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_match_recognize.cpp:184: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand MatchRecognize
2025-11-11T14:17:09.149692Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.149 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_match_recognize.cpp:36: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand MatchRecognizeMeasuresCallables
2025-11-11T14:17:09.149828Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.149 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqsLogical-ExpandMatchRecognize
2025-11-11T14:17:09.150045Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.150391Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 323us
2025-11-11T14:17:09.150423Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.150544Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.150559Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.150587Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:17:09.150693Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.150709Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.150759Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:17:09.150863Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.150877Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.150937Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.150 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 45us
2025-11-11T14:17:09.151038Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.151052Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.151108Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 46us
2025-11-11T14:17:09.151205Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.151218Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.151280Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:17:09.151355Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 61us
2025-11-11T14:17:09.151591Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 217us
2025-11-11T14:17:09.151953Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.151 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 '('"time" $10))
(let $13 (StructType '('event_class $7) $11 $12))
(let $14 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $13))
(let $15 '('event_class 'event_type '"time"))
(let $16 '('"SharedReading" '1))
(let $17 '('('"Endpoint" '"localhost:19692") $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $18 (DqPqTopicSource $4 $14 $15 $17 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $13 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $9 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $26 (DqSourceWideWrap $24 $9 $13 $25))
  (return (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30))))
))) '('('"_logical_id" '210566))))
(let $21 (Bool 'true))
(let $22 (ShuffleByKeys (DqCnUnionAll (TDqOutput $20 '"0")) (lambda '($31) $21) (lambda '($32) (block '(
  (let $33 (TimeOrderRecover (ToFlow $32) (lambda '($38) (SafeCast (Member (CastStruct $38 (StructType $12)) '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $34 '('"M1"))
  (let $35 (MatchRecognizeMeasures $13 $34 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $11) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (FlattenMembers '('"" (Head (Aggregate (OrderedMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Unwrap (Lookup (ToIndexDict $42) $47)))) '() '('('Last0 $45)) '())))) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $13 $34 $34 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $36))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $33 (lambda '($39) (Not (Member $39 '"_yql_OutOfOrder")))) (lambda '($40) (RemoveMember $40 '"_yql_OutOfOrder"))) (lambda '($41) '()) '() $37 '('('"Streaming" '1)))))
)))))
(let $23 (PqWriteTopic! $4 $5 $8 (FlatMap $22 (lambda '($57) (block '(
  (let $58 (ResourceType '"Yson2.Node"))
  (let $59 '($58 '"" '1))
  (let $60 (ResourceType '"Yson2.Options"))
  (let $61 (OptionalType (DataType 'Bool)))
  (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
  (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
  (let $64 (StructType '('event_type (OptionalType $10))))
  (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
  (let $66 (CallableType '() '($58) '($64)))
  (let $67 '('('"strict")))
  (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
  (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
  (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $21))))))))))))
)))) 'append '()))
(return (Commit! $23 $5))
)

2025-11-11T14:17:09.152079Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:1355: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Expand CastStruct
2025-11-11T14:17:09.152122Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:917: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct object for RemoveMember
2025-11-11T14:17:09.152184Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4269: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Canonize OrderedMap
2025-11-11T14:17:09.152533Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.152784Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 228us
2025-11-11T14:17:09.152813Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.152929Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.152945Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.152980Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.152 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.153085Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.153099Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.153160Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 50us
2025-11-11T14:17:09.153260Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.153275Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.153365Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 77us
2025-11-11T14:17:09.153461Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 78us
2025-11-11T14:17:09.153668Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.153 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 192us
2025-11-11T14:17:09.154022Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member (AsStruct '('"time" (Member $37 '"time"))) '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $11) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (FlattenMembers '('"" (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (Unwrap (Lookup (ToIndexDict $41) $46))))) '() '('('Last0 $44)) '())))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $32 (lambda '($38) (Not (Member $38 '"_yql_OutOfOrder")))) (lambda '($39) (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))) (lambda '($40) '()) '() $36 '('('"Streaming" '1)))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 (FlatMap $21 (lambda '($56) (block '(
  (let $57 (ResourceType '"Yson2.Node"))
  (let $58 '($57 '"" '1))
  (let $59 (ResourceType '"Yson2.Options"))
  (let $60 (OptionalType (DataType 'Bool)))
  (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
  (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
  (let $63 (StructType '('event_type (OptionalType $10))))
  (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
  (let $65 (CallableType '() '($57) '($63)))
  (let $66 '('('"strict")))
  (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
  (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
  (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.154157Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Member over AsStruct
2025-11-11T14:17:09.154245Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:913: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate optional struct for FlattenMembers
2025-11-11T14:17:09.154260Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:917: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct object for FlattenMembers
2025-11-11T14:17:09.154581Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.154793Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 192us
2025-11-11T14:17:09.154820Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.154929Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.154942Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.154976Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.154 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.155070Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.155084Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.155137Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 44us
2025-11-11T14:17:09.155240Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.155253Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.155311Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 49us
2025-11-11T14:17:09.155388Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:17:09.155587Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 184us
2025-11-11T14:17:09.155935Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.155 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $11) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (AsStruct '('Last0 (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (Unwrap (Lookup (ToIndexDict $41) $46))))) '() '('('Last0 $44)) '())) 'Last0))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $32 (lambda '($38) (Not (Member $38 '"_yql_OutOfOrder")))) (lambda '($39) (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))) (lambda '($40) '()) '() $36 '('('"Streaming" '1)))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 (FlatMap $21 (lambda '($56) (block '(
  (let $57 (ResourceType '"Yson2.Node"))
  (let $58 '($57 '"" '1))
  (let $59 (ResourceType '"Yson2.Options"))
  (let $60 (OptionalType (DataType 'Bool)))
  (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
  (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
  (let $63 (StructType '('event_type (OptionalType $10))))
  (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
  (let $65 (CallableType '() '($57) '($63)))
  (let $66 '('('"strict")))
  (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
  (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
  (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.156074Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4249: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Canonize OrderedFilter
2025-11-11T14:17:09.156184Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Member over AsStruct
2025-11-11T14:17:09.156505Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.156718Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 189us
2025-11-11T14:17:09.156748Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.156862Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.156876Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.156916Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.156 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:17:09.157017Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.157031Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.157082Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 37us
2025-11-11T14:17:09.157183Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.157198Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.157256Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 45us
2025-11-11T14:17:09.157356Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 75us
2025-11-11T14:17:09.157576Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 199us
2025-11-11T14:17:09.160671Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.157 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $11) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (Unwrap (Lookup (ToIndexDict $41) $46))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFlatMap $32 (lambda '($38) (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $38))) (lambda '($39) (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))) (lambda '($40) '()) '() $36 '('('"Streaming" '1)))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 (FlatMap $21 (lambda '($56) (block '(
  (let $57 (ResourceType '"Yson2.Node"))
  (let $58 '($57 '"" '1))
  (let $59 (ResourceType '"Yson2.Options"))
  (let $60 (OptionalType (DataType 'Bool)))
  (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
  (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
  (let $63 (StructType '('event_type (OptionalType $10))))
  (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
  (let $65 (CallableType '() '($57) '($63)))
  (let $66 '('('"strict")))
  (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
  (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
  (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.160868Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.160 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4269: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Canonize OrderedMap
2025-11-11T14:17:09.161236Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.161386Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 128us
2025-11-11T14:17:09.161433Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.161541Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.161558Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.161595Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.161694Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.161709Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.161759Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 39us
2025-11-11T14:17:09.161835Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.161 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 61us
2025-11-11T14:17:09.162025Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 174us
2025-11-11T14:17:09.162373Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $11) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (Unwrap (Lookup (ToIndexDict $41) $46))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (ForwardList (MatchRecognizeCore (OrderedFlatMap (OrderedFlatMap $32 (lambda '($38) (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $38))) (lambda '($39) (Just (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time")))))) (lambda '($40) '()) '() $36 '('('"Streaming" '1)))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 (FlatMap $21 (lambda '($56) (block '(
  (let $57 (ResourceType '"Yson2.Node"))
  (let $58 '($57 '"" '1))
  (let $59 (ResourceType '"Yson2.Options"))
  (let $60 (OptionalType (DataType 'Bool)))
  (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
  (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
  (let $63 (StructType '('event_type (OptionalType $10))))
  (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
  (let $65 (CallableType '() '($57) '($63)))
  (let $66 '('('"strict")))
  (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
  (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
  (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.162538Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:2192: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OrderedFlatMap to ExtractMembers
2025-11-11T14:17:09.162816Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.162929Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 93us
2025-11-11T14:17:09.162956Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.162 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.163057Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.163071Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.163118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 35us
2025-11-11T14:17:09.163192Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 58us
2025-11-11T14:17:09.163374Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 167us
2025-11-11T14:17:09.163706Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.163 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($40 $41) (block '(
    (let $42 (lambda '($49) $49))
    (let $43 (AggregationTraits (StructType $11) (lambda '($46) (Member $46 'event_type)) (lambda '($47 $48) (Member $47 'event_type)) $42 $42 (lambda '($50 $51) $50) $42 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $41 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($45) (Just (Unwrap (Lookup (ToIndexDict $40) $45))))) '() '('('Last0 $43)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($52 $53 $54) (== (Member (Lookup (ToIndexDict $52) $54) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (ForwardList (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $32 (lambda '($38) (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $38))) $14) (lambda '($39) '()) '() $36 '('('"Streaming" '1)))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 (FlatMap $21 (lambda '($55) (block '(
  (let $56 (ResourceType '"Yson2.Node"))
  (let $57 '($56 '"" '1))
  (let $58 (ResourceType '"Yson2.Options"))
  (let $59 (OptionalType (DataType 'Bool)))
  (let $60 (CallableType '('"4") '((OptionalType (DataType 'Json))) $57 '((OptionalType $58)) '($59 '"SkipMapEntity") '($59 '"EncodeUtf8") '($59 '"WriteNanAsString")))
  (let $61 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $60 (VoidType) '"" '()))
  (let $62 (StructType '('event_type (OptionalType $10))))
  (let $63 (TupleType (TupleType $62) (StructType) (TupleType)))
  (let $64 (CallableType '() '($56) '($62)))
  (let $65 '('('"strict")))
  (let $66 (Udf '"Yson2.From" (Void) $63 '"" $64 (VoidType) '"" $65))
  (let $67 (CallableType '('"2") '($58) '($59 '"AutoConvert") '($59 '"Strict")))
  (let $68 (Udf '"Yson2.Options" (Void) (VoidType) '"" $67 (VoidType) '"" $65))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $61 (Apply $66 $55) (Just (NamedApply $68 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.164279Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow1.cpp:470: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Fuse FlatMap over ShuffleByKeys
2025-11-11T14:17:09.164542Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.164660Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 99us
2025-11-11T14:17:09.164684Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:17:09.164782Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.164795Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.164840Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:17:09.164911Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.164 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 59us
2025-11-11T14:17:09.165117Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.165 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 194us
2025-11-11T14:17:09.165488Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.165 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($40 $41) (block '(
    (let $42 (lambda '($49) $49))
    (let $43 (AggregationTraits (StructType $11) (lambda '($46) (Member $46 'event_type)) (lambda '($47 $48) (Member $47 'event_type)) $42 $42 (lambda '($50 $51) $50) $42 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $41 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($45) (Just (Unwrap (Lookup (ToIndexDict $40) $45))))) '() '('('Last0 $43)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($52 $53 $54) (== (Member (Lookup (ToIndexDict $52) $54) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (return (FlatMap (ForwardList (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $32 (lambda '($38) (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $38))) $14) (lambda '($39) '()) '() $36 '('('"Streaming" '1)))) (lambda '($55) (block '(
    (let $56 (ResourceType '"Yson2.Node"))
    (let $57 '($56 '"" '1))
    (let $58 (ResourceType '"Yson2.Options"))
    (let $59 (OptionalType (DataType 'Bool)))
    (let $60 (CallableType '('"4") '((OptionalType (DataType 'Json))) $57 '((OptionalType $58)) '($59 '"SkipMapEntity") '($59 '"EncodeUtf8") '($59 '"WriteNanAsString")))
    (let $61 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $60 (VoidType) '"" '()))
    (let $62 (StructType '('event_type (OptionalType $10))))
    (let $63 (TupleType (TupleType $62) (StructType) (TupleType)))
    (let $64 (CallableType '() '($56) '($62)))
    (let $65 '('('"strict")))
    (let $66 (Udf '"Yson2.From" (Void) $63 '"" $64 (VoidType) '"" $65))
    (let $67 (CallableType '('"2") '($58) '($59 '"AutoConvert") '($59 '"Strict")))
    (let $68 (Udf '"Yson2.Options" (Void) (VoidType) '"" $67 (VoidType) '"" $65))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $61 (Apply $66 $55) (Just (NamedApply $68 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  )))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.165908Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.165 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow1.cpp:1334: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Swap FlatMap with ForwardList
2025-11-11T14:17:09.166161Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.166258Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 84us
2025-11-11T14:17:09.166280Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 9us
2025-11-11T14:17:09.166376Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.166389Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.166430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.166499Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 55us
2025-11-11T14:17:09.166673Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 159us
2025-11-11T14:17:09.166990Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.166 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $11) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (Unwrap (Lookup (ToIndexDict $41) $46))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $32 (lambda '($39) (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $39))) $14) (lambda '($40) '()) '() $36 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $10))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  ))))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.167502Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.167 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_extr_members.cpp:303: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Apply ExtractMembers to OrderedFlatMap
2025-11-11T14:17:09.167586Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.167 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow2.cpp:2915: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} AggregateSubsetFieldsAnalyzer
2025-11-11T14:17:09.167901Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.167 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.168122Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 206us
2025-11-11T14:17:09.168145Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:17:09.168252Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.168268Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.168302Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.168398Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.168413Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.168463Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 41us
2025-11-11T14:17:09.168559Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.168572Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.168624Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 43us
2025-11-11T14:17:09.168697Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:17:09.168889Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.168 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 179us
2025-11-11T14:17:09.169235Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.169 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 '('event_type))
  (let $35 (MatchRecognizeMeasures $12 $33 $34 (lambda '($43 $44) (block '(
    (let $45 (lambda '($52) $52))
    (let $46 (AggregationTraits (StructType $11) (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) (Member $50 'event_type)) $45 $45 (lambda '($53 $54) $53) $45 (Null)))
    (return (Member (Head (Aggregate (ExtractMembers (OrderedFlatMap (OrderedFlatMap (Member $44 '"M1") (lambda '($47) (ListFromRange (Member $47 '"From") (+ (Member $47 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($48) (Just (Unwrap (Lookup (ToIndexDict $43) $48))))) $34) '() '('('Last0 $46)) '())) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $12 $33 $33 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $36))
  (let $38 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($40) (block '(
    (let $41 (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time"))))
    (return (OptionalIf (Not (Member $40 '"_yql_OutOfOrder")) $41))
  )))) (lambda '($42) '()) '() $37 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $38 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $10))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  ))))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.169968Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.169 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_extr_members.cpp:303: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Apply ExtractMembers to OrderedFlatMap
2025-11-11T14:17:09.170302Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170492Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 173us
2025-11-11T14:17:09.170517Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 9us
2025-11-11T14:17:09.170617Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170630Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170664Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.170761Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170773Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170803Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.170902Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.170916Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.170966Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.170 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 41us
2025-11-11T14:17:09.171040Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.171 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 61us
2025-11-11T14:17:09.171221Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.171 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 173us
2025-11-11T14:17:09.171571Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.171 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 '('event_type))
  (let $35 (MatchRecognizeMeasures $12 $33 $34 (lambda '($43 $44) (block '(
    (let $45 (lambda '($52) $52))
    (let $46 (AggregationTraits (StructType $11) (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) (Member $50 'event_type)) $45 $45 (lambda '($53 $54) $53) $45 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $44 '"M1") (lambda '($47) (ListFromRange (Member $47 '"From") (+ (Member $47 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($48) (ExtractMembers (Just (Unwrap (Lookup (ToIndexDict $43) $48))) $34))) '() '('('Last0 $46)) '())) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $12 $33 $33 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $36))
  (let $38 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($40) (block '(
    (let $41 (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time"))))
    (return (OptionalIf (Not (Member $40 '"_yql_OutOfOrder")) $41))
  )))) (lambda '($42) '()) '() $37 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $38 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $10))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  ))))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.171705Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.171 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4290: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Move ExtractMembers over Just
2025-11-11T14:17:09.172015Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172192Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 163us
2025-11-11T14:17:09.172214Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 8us
2025-11-11T14:17:09.172313Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172326Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172358Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.172452Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172464Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172493Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.172585Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172598Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.172645Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 39us
2025-11-11T14:17:09.172718Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 59us
2025-11-11T14:17:09.172902Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.172 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 172us
2025-11-11T14:17:09.173237Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.173 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 '('event_type))
  (let $35 (MatchRecognizeMeasures $12 $33 $34 (lambda '($43 $44) (block '(
    (let $45 (lambda '($52) $52))
    (let $46 (AggregationTraits (StructType $11) (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) (Member $50 'event_type)) $45 $45 (lambda '($53 $54) $53) $45 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $44 '"M1") (lambda '($47) (ListFromRange (Member $47 '"From") (+ (Member $47 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($48) (Just (FilterMembers (Unwrap (Lookup (ToIndexDict $43) $48)) $34)))) '() '('('Last0 $46)) '())) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $12 $33 $33 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $36))
  (let $38 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($40) (block '(
    (let $41 (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time"))))
    (return (OptionalIf (Not (Member $40 '"_yql_OutOfOrder")) $41))
  )))) (lambda '($42) '()) '() $37 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $38 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $10))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  ))))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.173374Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.173 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:917: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Enumerate struct object for FilterMembers
2025-11-11T14:17:09.173700Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.173 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.173886Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.173 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 170us
2025-11-11T14:17:09.173909Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.173 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 9us
2025-11-11T14:17:09.174009Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.174021Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.174057Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.174153Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.174165Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.174196Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.174289Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.174301Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.174355Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 42us
2025-11-11T14:17:09.174428Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:17:09.174616Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 175us
2025-11-11T14:17:09.174932Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.174 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $25 (DqSourceWideWrap $23 $9 $12 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29))))
))) '('('"_logical_id" '210566))))
(let $20 (Bool 'true))
(let $21 (ShuffleByKeys (DqCnUnionAll (TDqOutput $19 '"0")) (lambda '($30) $20) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $12 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $11) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $12 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $10))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
  ))))))
)))))
(let $22 (PqWriteTopic! $4 $5 $8 $21 'append '()))
(return (Commit! $22 $5))
)

2025-11-11T14:17:09.176831Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.176 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_optimize.cpp:131: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqsPhy-BuildShuffleStage<false>
2025-11-11T14:17:09.177084Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.177248Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 139us
2025-11-11T14:17:09.177294Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.177449Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.177464Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:17:09.177516Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 41us
2025-11-11T14:17:09.177599Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 67us
2025-11-11T14:17:09.177799Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.177 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 181us
2025-11-11T14:17:09.178155Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($22) (block '(
  (let $23 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $24 (DqSourceWideWrap $22 $9 $12 $23))
  (return (FlatMap (NarrowMap $24 (lambda '($25 $26 $27) (AsStruct '('event_class $25) '('event_type $26) '('"time" $27)))) (lambda '($28) (OptionalIf (== (Member $28 'event_class) $18) $28))))
))) '('('"_logical_id" '210566))))
(let $20 (DqStage '((DqCnUnionAll (TDqOutput $19 '"0"))) (lambda '($29) (block '(
  (let $30 (TimeOrderRecover $29 (lambda '($36) (SafeCast (Member $36 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $31 '('"M1"))
  (let $32 (MatchRecognizeMeasures $12 $31 '('event_type) (lambda '($40 $41) (block '(
    (let $42 (lambda '($49) $49))
    (let $43 (AggregationTraits (StructType $11) (lambda '($46) (Member $46 'event_type)) (lambda '($47 $48) (Member $47 'event_type)) $42 $42 (lambda '($50 $51) $50) $42 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $41 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($45) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $40) $45)) 'event_type)))))) '() '('('Last0 $43)) '())) 'Last0))
  )))))
  (let $33 (MatchRecognizeDefines $12 $31 $31 (lambda '($52 $53 $54) (== (Member (Lookup (ToIndexDict $52) $54) 'event_class) $18))))
  (let $34 (MatchRecognizeParams $32 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $33))
  (let $35 (MatchRecognizeCore (OrderedFlatMap $30 (lambda '($37) (block '(
    (let $38 (AsStruct '('event_class (Member $37 'event_class)) '('event_type (Member $37 'event_type)) '('"time" (Member $37 '"time"))))
    (return (OptionalIf (Not (Member $37 '"_yql_OutOfOrder")) $38))
  )))) (lambda '($39) '()) '() $34 '('('"Streaming" '1))))
  (return (Iterator (ForwardList (FlatMap $35 (lambda '($55) (block '(
    (let $56 (ResourceType '"Yson2.Node"))
    (let $57 '($56 '"" '1))
    (let $58 (ResourceType '"Yson2.Options"))
    (let $59 (OptionalType (DataType 'Bool)))
    (let $60 (CallableType '('"4") '((OptionalType (DataType 'Json))) $57 '((OptionalType $58)) '($59 '"SkipMapEntity") '($59 '"EncodeUtf8") '($59 '"WriteNanAsString")))
    (let $61 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $60 (VoidType) '"" '()))
    (let $62 (StructType '('event_type (OptionalType $10))))
    (let $63 (TupleType (TupleType $62) (StructType) (TupleType)))
    (let $64 (CallableType '() '($56) '($62)))
    (let $65 '('('"strict")))
    (let $66 (Udf '"Yson2.From" (Void) $63 '"" $64 (VoidType) '"" $65))
    (let $67 (CallableType '('"2") '($58) '($59 '"AutoConvert") '($59 '"Strict")))
    (let $68 (Udf '"Yson2.Options" (Void) (VoidType) '"" $67 (VoidType) '"" $65))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $61 (Apply $66 $55) (Just (NamedApply $68 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  )))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate"))))
(let $21 (PqWriteTopic! $4 $5 $8 (DqCnUnionAll (TDqOutput $20 '"0")) 'append '()))
(return (Commit! $21 $5))
)

2025-11-11T14:17:09.178315Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4728: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Iterator over ForwardList
2025-11-11T14:17:09.178609Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.178732Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 104us
2025-11-11T14:17:09.178761Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.178873Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.178887Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.178936Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.178 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.179011Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.179 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:17:09.179205Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.179 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 177us
2025-11-11T14:17:09.179553Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.179 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSink '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 (DataType 'Uint64))
(let $11 '('event_type $10))
(let $12 (StructType '('event_class $7) $11 '('"time" $10)))
(let $13 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $12))
(let $14 '('event_class 'event_type '"time"))
(let $15 '('"SharedReading" '1))
(let $16 '('('"Endpoint" '"localhost:19692") $15 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $17 (DqPqTopicSource $4 $13 $14 $16 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $12 '""))
(let $18 (String '"event_class2"))
(let $19 (DqStage '((DqSource $9 $17)) (lambda '($22) (block '(
  (let $23 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($15))))
  (let $24 (DqSourceWideWrap $22 $9 $12 $23))
  (return (FlatMap (NarrowMap $24 (lambda '($25 $26 $27) (AsStruct '('event_class $25) '('event_type $26) '('"time" $27)))) (lambda '($28) (OptionalIf (== (Member $28 'event_class) $18) $28))))
))) '('('"_logical_id" '210566))))
(let $20 (DqStage '((DqCnUnionAll (TDqOutput $19 '"0"))) (lambda '($29) (block '(
  (let $30 (TimeOrderRecover $29 (lambda '($36) (SafeCast (Member $36 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $31 '('"M1"))
  (let $32 (MatchRecognizeMeasures $12 $31 '('event_type) (lambda '($40 $41) (block '(
    (let $42 (lambda '($49) $49))
    (let $43 (AggregationTraits (StructType $11) (lambda '($46) (Member $46 'event_type)) (lambda '($47 $48) (Member $47 'event_type)) $42 $42 (lambda '($50 $51) $50) $42 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $41 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($45) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $40) $45)) 'event_type)))))) '() '('('Last0 $43)) '())) 'Last0))
  )))))
  (let $33 (MatchRecognizeDefines $12 $31 $31 (lambda '($52 $53 $54) (== (Member (Lookup (ToIndexDict $52) $54) 'event_class) $18))))
  (let $34 (MatchRecognizeParams $32 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $33))
  (let $35 (MatchRecognizeCore (OrderedFlatMap $30 (lambda '($37) (block '(
    (let $38 (AsStruct '('event_class (Member $37 'event_class)) '('event_type (Member $37 'event_type)) '('"time" (Member $37 '"time"))))
    (return (OptionalIf (Not (Member $37 '"_yql_OutOfOrder")) $38))
  )))) (lambda '($39) '()) '() $34 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $35 (lambda '($55) (block '(
    (let $56 (ResourceType '"Yson2.Node"))
    (let $57 '($56 '"" '1))
    (let $58 (ResourceType '"Yson2.Options"))
    (let $59 (OptionalType (DataType 'Bool)))
    (let $60 (CallableType '('"4") '((OptionalType (DataType 'Json))) $57 '((OptionalType $58)) '($59 '"SkipMapEntity") '($59 '"EncodeUtf8") '($59 '"WriteNanAsString")))
    (let $61 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $60 (VoidType) '"" '()))
    (let $62 (StructType '('event_type (OptionalType $10))))
    (let $63 (TupleType (TupleType $62) (StructType) (TupleType)))
    (let $64 (CallableType '() '($56) '($62)))
    (let $65 '('('"strict")))
    (let $66 (Udf '"Yson2.From" (Void) $63 '"" $64 (VoidType) '"" $65))
    (let $67 (CallableType '('"2") '($58) '($59 '"AutoConvert") '($59 '"Strict")))
    (let $68 (Udf '"Yson2.Options" (Void) (VoidType) '"" $67 (VoidType) '"" $65))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $61 (Apply $66 $55) (Just (NamedApply $68 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate"))))
(let $21 (PqWriteTopic! $4 $5 $8 (DqCnUnionAll (TDqOutput $20 '"0")) 'append '()))
(return (Commit! $21 $5))
)

2025-11-11T14:17:09.181836Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.181 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_physical_optimize.cpp:92: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Optimize PqWriteTopic `yds`.`test_filter_with_mr_output`
2025-11-11T14:17:09.181906Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.181 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_optimize.cpp:93: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} PhysicalOptimizer-PqWriteTopic
2025-11-11T14:17:09.182295Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.182 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.182377Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.182 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 61us
2025-11-11T14:17:09.182430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.182 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.182514Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.182 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [UpdateCompletness] took 69us
2025-11-11T14:17:09.182714Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.182 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Execution of [EliminateCommonSubExpressions] took 183us
2025-11-11T14:17:09.183081Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.183 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} OptimizedExpr:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30))))
))) '('('"_logical_id" '210566))))
(let $21 (DataSink '"pq" '"yds"))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (Commit! (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover $31 (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $9) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $8))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate")) '((DqSink '"0" $21 $23))))) $21))
)

2025-11-11T14:17:09.184620Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.184 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_phy_finalizing.cpp:488: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqReplicateStageMultiOutput: start traverse node #211647, Commit!
2025-11-11T14:17:09.184649Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.184 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_phy_finalizing.cpp:517: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} DqReplicateStageMultiOutput: test connection DqCnUnionAll (#211574)
2025-11-11T14:17:09.185608Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:61: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Begin, root #211647
2025-11-11T14:17:09.185628Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:74: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Collect unused nodes for root #211647, status: Ok
2025-11-11T14:17:09.185637Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {0}, callable #211647 <Commit!>
2025-11-11T14:17:09.185647Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {1}, callable #211646 <DqQuery!>
2025-11-11T14:17:09.185665Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {2}, callable #208975 <Configure!>
2025-11-11T14:17:09.185677Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {3}, callable #208970 <Configure!>
2025-11-11T14:17:09.185691Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {4}, callable #208965 <Configure!>
2025-11-11T14:17:09.185700Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {4}, callable #208965 <Configure!>
2025-11-11T14:17:09.185709Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:630: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208965<Configure!> finished execution
2025-11-11T14:17:09.185723Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:647: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208965<Configure!> created 0 trackable nodes: 
2025-11-11T14:17:09.185730Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {3}, callable #208970 <Configure!>
2025-11-11T14:17:09.185738Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:630: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208970<Configure!> finished execution
2025-11-11T14:17:09.185745Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:647: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208970<Configure!> created 0 trackable nodes: 
2025-11-11T14:17:09.185752Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {2}, callable #208975 <Configure!>
2025-11-11T14:17:09.185759Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:630: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208975<Configure!> finished execution
2025-11-11T14:17:09.185767Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:647: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #208975<Configure!> created 0 trackable nodes: 
2025-11-11T14:17:09.185774Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {1}, callable #211646 <DqQuery!>
2025-11-11T14:17:09.185785Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:630: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #211646<DqQuery!> finished execution
2025-11-11T14:17:09.185791Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:647: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Node #211646<DqQuery!> created 0 trackable nodes: 
2025-11-11T14:17:09.185804Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:411: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} {0}, callable #211647 <Commit!>
2025-11-11T14:17:09.185816Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_datasink_execution.cpp:39: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647} Delegate execution of DqQuery! to dq provider
2025-11-11T14:17:09.185851Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:1304: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Executing Pull (UniqueId=211659)
2025-11-11T14:17:09.186230Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.185 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:1305: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} HandlePull (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $5 $18)) (lambda '($25) (block '(
  (let $26 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $27 (DqSourceWideWrap $25 $5 $10 $26))
  (return (FlatMap (NarrowMap $27 (lambda '($28 $29 $30) (AsStruct '('event_class $28) '('event_type $29) '('"time" $30)))) (lambda '($31) (OptionalIf (== (Member $31 'event_class) $19) $31))))
))) '('('"_logical_id" '210566))))
(let $21 (DataSink '"pq" '"yds"))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(let $24 (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($32) (block '(
  (let $33 (TimeOrderRecover $32 (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $34 '('"M1"))
  (let $35 (MatchRecognizeMeasures $10 $34 '('event_type) (lambda '($43 $44) (block '(
    (let $45 (lambda '($52) $52))
    (let $46 (AggregationTraits (StructType $9) (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) (Member $50 'event_type)) $45 $45 (lambda '($53 $54) $53) $45 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $44 '"M1") (lambda '($47) (ListFromRange (Member $47 '"From") (+ (Member $47 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($48) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $43) $48)) 'event_type)))))) '() '('('Last0 $46)) '())) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $10 $34 $34 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $19))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $36))
  (let $38 (MatchRecognizeCore (OrderedFlatMap $33 (lambda '($40) (block '(
    (let $41 (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time"))))
    (return (OptionalIf (Not (Member $40 '"_yql_OutOfOrder")) $41))
  )))) (lambda '($42) '()) '() $37 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $38 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $8))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate")) '((DqSink '"0" $21 $23))))))
(return (Pull $24 '"" '"0" '"0" '() '"0" '"id" '"1" (Commit! $24 $21)))
)

2025-11-11T14:17:09.186676Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.186 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 15us
2025-11-11T14:17:09.186712Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.186 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:17:09.186794Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.186 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 66us
2025-11-11T14:17:09.186978Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.186 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 167us
2025-11-11T14:17:09.187355Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.187 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $5 $18)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $25 (DqSourceWideWrap $23 $5 $10 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $19) $29))))
))) '('('"_logical_id" '210566))))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($13 $15) $17))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover $30 (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $10 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $9) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $10 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $19))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.187680Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.187 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_phy_finalizing.cpp:488: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} DqReplicateStageMultiOutput: start traverse node #211660, DqQuery!
2025-11-11T14:17:09.187702Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.187 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_phy_finalizing.cpp:517: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} DqReplicateStageMultiOutput: test connection DqCnUnionAll (#211574)
2025-11-11T14:17:09.188151Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.187 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:235: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} [DQ/Build/TransformConsumers] (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $5 $18)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $25 (DqSourceWideWrap $23 $5 $10 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $19) $29))))
))) '('('"_logical_id" '210566))))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($13 $15) $17))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover $30 (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $10 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $9) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $10 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $19))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.188518Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.188 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:325: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} [DQ/Build/TransformPhysical] (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqStage '((DqSource $5 $18)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $25 (DqSourceWideWrap $23 $5 $10 $24))
  (return (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $19) $29))))
))) '('('"_logical_id" '210566))))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($13 $15) $17))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover $30 (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $10 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (lambda '($50) $50))
    (let $44 (AggregationTraits (StructType $9) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) (Member $48 'event_type)) $43 $43 (lambda '($51 $52) $51) $43 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) '() '('('Last0 $44)) '())) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $10 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $19))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211585) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.188636Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.188 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:363: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659}  [DQ/Build/TransformPhysical] replace stage #211644 -> #211680
2025-11-11T14:17:09.188688Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.188 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:363: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659}  [DQ/Build/TransformPhysical] replace stage #210571 -> #211696
2025-11-11T14:17:09.189023Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 195us
2025-11-11T14:17:09.189074Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:17:09.189083Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.189135Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:17:09.189149Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.189193Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 35us
2025-11-11T14:17:09.189276Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 69us
2025-11-11T14:17:09.189521Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 223us
2025-11-11T14:17:09.189898Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.189 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqPhyStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $9) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $8))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '"0" (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.190523Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.190 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:235: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} [DQ/Build/TransformConsumers] (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqPhyStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $9) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $8))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '"0" (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.190909Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.190 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] dq_opt_build.cpp:325: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} [DQ/Build/TransformPhysical] (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqPhyStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $9) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $8))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '"0" (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.192888Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.192 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2287: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} OrderedFlatMap closure on upper lambda over list
2025-11-11T14:17:09.193379Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 261us
2025-11-11T14:17:09.193430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:17:09.193445Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.193488Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:17:09.193500Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.193530Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.193542Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.193603Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:17:09.193683Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 68us
2025-11-11T14:17:09.193877Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.193 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 181us
2025-11-11T14:17:09.194238Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.194 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqPhyStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '"0"))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (lambda '($51) $51))
    (let $45 (AggregationTraits (StructType $9) (lambda '($48) (Member $48 'event_type)) (lambda '($49 $50) (Member $49 'event_type)) $44 $44 (lambda '($52 $53) $52) $44 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) '() '('('Last0 $45)) '())) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '"0"))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($57) (block '(
    (let $58 (ResourceType '"Yson2.Node"))
    (let $59 '($58 '"" '1))
    (let $60 (ResourceType '"Yson2.Options"))
    (let $61 (OptionalType (DataType 'Bool)))
    (let $62 (CallableType '('"4") '((OptionalType (DataType 'Json))) $59 '((OptionalType $60)) '($61 '"SkipMapEntity") '($61 '"EncodeUtf8") '($61 '"WriteNanAsString")))
    (let $63 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $62 (VoidType) '"" '()))
    (let $64 (StructType '('event_type (OptionalType $8))))
    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))
    (let $66 (CallableType '() '($58) '($64)))
    (let $67 '('('"strict")))
    (let $68 (Udf '"Yson2.From" (Void) $65 '"" $66 (VoidType) '"" $67))
    (let $69 (CallableType '('"2") '($60) '($61 '"AutoConvert") '($61 '"Strict")))
    (let $70 (Udf '"Yson2.Options" (Void) (VoidType) '"" $69 (VoidType) '"" $67))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '"0" (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.195698Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.195 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_aggregate_expander.cpp:14: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand Aggregate
2025-11-11T14:17:09.196365Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 364us
2025-11-11T14:17:09.196401Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.196411Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.196451Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:17:09.196467Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.196506Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:17:09.196521Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.196562Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:17:09.196576Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.196607Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.196620Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.196655Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.196668Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.196703Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:17:09.196717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.196756Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.196767Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.196799Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.196814Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.196878Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 56us
2025-11-11T14:17:09.196977Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.196 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 78us
2025-11-11T14:17:09.197217Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.197 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 222us
2025-11-11T14:17:09.197656Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.197 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 '('event_type $8))
(let $10 (StructType '('event_class $7) $9 '('"time" $8)))
(let $11 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $10))
(let $12 '('event_class 'event_type '"time"))
(let $13 '('"Endpoint" '"localhost:19692"))
(let $14 '('"SharedReading" '1))
(let $15 '('"AddBearerToToken" '1))
(let $16 '($13 $14 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $15))
(let $17 (SecureParam '"cluster:default_yds"))
(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $10 '""))
(let $19 (String '"event_class2"))
(let $20 (DqPhyStage '((DqSource $5 $18)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($14))))
  (let $26 (DqSourceWideWrap $24 $5 $10 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (OptionalIf (== (Member $30 'event_class) $19) $30)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($13 $15) $17))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '0))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (MatchRecognizeMeasures $10 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (Uint32 '0))
    (let $45 (lambda '($48) $44))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) 'event_type)))))) $45 (Void) (Void) (lambda '($49) (block '(
      (let $50 (StructType $9))
      (let $51 (Condense1 $49 (lambda '($52) (AsStruct '('_yql_agg_0 (Member (CastStruct $52 $50) 'event_type)))) (lambda '($53 $54) (IsKeySwitch $53 $54 $45 (lambda '($55) $44))) (lambda '($56 $57) (AsStruct '('_yql_agg_0 (Member (CastStruct $56 $50) 'event_type))))))
      (return (Map $51 (lambda '($58) (AsStruct '('Last0 (Member $58 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda '($59 $60 $61) (== (Member (Lookup (ToIndexDict $59) $61) 'event_class) $19))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($62) (block '(
    (let $63 (ResourceType '"Yson2.Node"))
    (let $64 '($63 '"" '1))
    (let $65 (ResourceType '"Yson2.Options"))
    (let $66 (OptionalType (DataType 'Bool)))
    (let $67 (CallableType '('"4") '((OptionalType (DataType 'Json))) $64 '((OptionalType $65)) '($66 '"SkipMapEntity") '($66 '"EncodeUtf8") '($66 '"WriteNanAsString")))
    (let $68 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $67 (VoidType) '"" '()))
    (let $69 (StructType '('event_type (OptionalType $8))))
    (let $70 (TupleType (TupleType $69) (StructType) (TupleType)))
    (let $71 (CallableType '() '($63) '($69)))
    (let $72 '('('"strict")))
    (let $73 (Udf '"Yson2.From" (Void) $70 '"" $71 (VoidType) '"" $72))
    (let $74 (CallableType '('"2") '($65) '($66 '"AutoConvert") '($66 '"Strict")))
    (let $75 (Udf '"Yson2.Options" (Void) (VoidType) '"" $74 (VoidType) '"" $72))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $68 (Apply $73 $62) (Just (NamedApply $75 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '0 (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.198290Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:1355: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand CastStruct
2025-11-11T14:17:09.198331Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_opt_utils.cpp:1355: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand CastStruct
2025-11-11T14:17:09.198852Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 308us
2025-11-11T14:17:09.198886Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.198896Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.198932Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.198945Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.198979Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.198992Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.198 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.199036Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 35us
2025-11-11T14:17:09.199049Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.199079Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.199092Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.199129Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.199141Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.199221Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 69us
2025-11-11T14:17:09.199341Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 104us
2025-11-11T14:17:09.199594Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 240us
2025-11-11T14:17:09.199949Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.199 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member (AsStruct '('event_type (Member $50 'event_type))) 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member (AsStruct '('event_type (Member $54 'event_type))) 'event_type))))))
      (return (Map $49 (lambda '($56) (AsStruct '('Last0 (Member $56 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.200544Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.200 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1194: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} CheckClonedStructure
2025-11-11T14:17:09.200579Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.200 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1194: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} CheckClonedStructure
2025-11-11T14:17:09.201116Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 307us
2025-11-11T14:17:09.201153Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.201169Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.201205Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:17:09.201218Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.201251Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.201264Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.201318Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 46us
2025-11-11T14:17:09.201331Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.201362Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.201375Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.201409Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.201438Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.201505Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 58us
2025-11-11T14:17:09.201597Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 78us
2025-11-11T14:17:09.201814Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.201 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 196us
2025-11-11T14:17:09.202197Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.202 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member $50 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member $54 'event_type))))))
      (return (Map $49 (lambda '($56) (AsStruct '('Last0 (Member $56 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.202824Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.202 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4259: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Canonize Map
2025-11-11T14:17:09.203306Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 265us
2025-11-11T14:17:09.203342Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.203351Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.203386Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.203400Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.203433Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.203447Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.203490Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.203507Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.203540Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.203557Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.203622Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 57us
2025-11-11T14:17:09.203717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 79us
2025-11-11T14:17:09.203935Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.203 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 202us
2025-11-11T14:17:09.204321Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.204 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member $50 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member $54 'event_type))))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 (Member $56 '_yql_agg_0)))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.204981Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.204 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:1093: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Head over AsList
2025-11-11T14:17:09.205430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 243us
2025-11-11T14:17:09.205460Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.205473Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.205507Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.205521Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.205556Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.205569Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.205630Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:17:09.205717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 72us
2025-11-11T14:17:09.205921Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.205 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 188us
2025-11-11T14:17:09.206278Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.206 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (Just (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member $50 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member $54 'event_type))))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 (Member $56 '_yql_agg_0)))))))
    ))))) 'Last0)))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.206846Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.206 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4950: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over Just
2025-11-11T14:17:09.207244Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 223us
2025-11-11T14:17:09.207275Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.207285Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.207321Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.207334Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.207366Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.207379Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.207445Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 58us
2025-11-11T14:17:09.207531Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 72us
2025-11-11T14:17:09.207742Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.207 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 195us
2025-11-11T14:17:09.208107Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.208 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member $50 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member $54 'event_type))))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 (Member $56 '_yql_agg_0)))))))
    ))))) 'Last0))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.208689Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.208 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.209067Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 204us
2025-11-11T14:17:09.209096Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.209109Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.209142Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.209155Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.209183Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.209195Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.209254Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 52us
2025-11-11T14:17:09.209348Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 80us
2025-11-11T14:17:09.209561Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 197us
2025-11-11T14:17:09.209928Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.209 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (AsStruct '('_yql_agg_0 (Member $50 'event_type)))) (lambda '($51 $52) (IsKeySwitch $51 $52 $44 (lambda '($53) $43))) (lambda '($54 $55) (AsStruct '('_yql_agg_0 (Member $54 'event_type))))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 (Member $56 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.210905Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.210 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow1.cpp:764: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Extract single item struct from Condense1
2025-11-11T14:17:09.211431Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 291us
2025-11-11T14:17:09.211462Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.211477Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.211521Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.211534Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.211566Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.211580Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.211621Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:17:09.211635Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.211667Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.211680Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.211718Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:17:09.211731Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.211772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:17:09.211785Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.211846Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:17:09.211942Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.211 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 81us
2025-11-11T14:17:09.212193Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.212 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 236us
2025-11-11T14:17:09.212589Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.212 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (Member (AsStruct '('_yql_agg_0 (Member $50 'event_type))) '_yql_agg_0)) (lambda '($51 $52) (IsKeySwitch $51 (AsStruct '('_yql_agg_0 $52)) $44 (lambda '($53) $43))) (lambda '($54 $55) (Member (AsStruct '('_yql_agg_0 (Member $54 'event_type))) '_yql_agg_0))))
      (return (FlatMap (Map $49 (lambda '($56) (AsStruct '('_yql_agg_0 $56)))) (lambda '($57) (Just (AsStruct '('Last0 (Member $57 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($58 $59 $60) (== (Member (Lookup (ToIndexDict $58) $60) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($61) (block '(
    (let $62 (ResourceType '"Yson2.Node"))
    (let $63 '($62 '"" '1))
    (let $64 (ResourceType '"Yson2.Options"))
    (let $65 (OptionalType (DataType 'Bool)))
    (let $66 (CallableType '('"4") '((OptionalType (DataType 'Json))) $63 '((OptionalType $64)) '($65 '"SkipMapEntity") '($65 '"EncodeUtf8") '($65 '"WriteNanAsString")))
    (let $67 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $66 (VoidType) '"" '()))
    (let $68 (StructType '('event_type (OptionalType $8))))
    (let $69 (TupleType (TupleType $68) (StructType) (TupleType)))
    (let $70 (CallableType '() '($62) '($68)))
    (let $71 '('('"strict")))
    (let $72 (Udf '"Yson2.From" (Void) $69 '"" $70 (VoidType) '"" $71))
    (let $73 (CallableType '('"2") '($64) '($65 '"AutoConvert") '($65 '"Strict")))
    (let $74 (Udf '"Yson2.Options" (Void) (VoidType) '"" $73 (VoidType) '"" $71))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $67 (Apply $72 $61) (Just (NamedApply $74 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.213255Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.213289Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.213793Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 274us
2025-11-11T14:17:09.213825Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.213837Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.213874Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:17:09.213890Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.213923Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.213937Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.213979Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 33us
2025-11-11T14:17:09.213995Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.213 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.214024Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.214037Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.214068Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.214081Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.214141Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 50us
2025-11-11T14:17:09.214233Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 77us
2025-11-11T14:17:09.214446Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 195us
2025-11-11T14:17:09.214834Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.214 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (Member $50 'event_type)) (lambda '($51 $52) (IsKeySwitch $51 (AsStruct '('_yql_agg_0 $52)) $44 (lambda '($53) $43))) (lambda '($54 $55) (Member $54 'event_type))))
      (return (FlatMap (Map $49 (lambda '($56) (AsStruct '('_yql_agg_0 $56)))) (lambda '($57) (Just (AsStruct '('Last0 (Member $57 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($58 $59 $60) (== (Member (Lookup (ToIndexDict $58) $60) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($61) (block '(
    (let $62 (ResourceType '"Yson2.Node"))
    (let $63 '($62 '"" '1))
    (let $64 (ResourceType '"Yson2.Options"))
    (let $65 (OptionalType (DataType 'Bool)))
    (let $66 (CallableType '('"4") '((OptionalType (DataType 'Json))) $63 '((OptionalType $64)) '($65 '"SkipMapEntity") '($65 '"EncodeUtf8") '($65 '"WriteNanAsString")))
    (let $67 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $66 (VoidType) '"" '()))
    (let $68 (StructType '('event_type (OptionalType $8))))
    (let $69 (TupleType (TupleType $68) (StructType) (TupleType)))
    (let $70 (CallableType '() '($62) '($68)))
    (let $71 '('('"strict")))
    (let $72 (Udf '"Yson2.From" (Void) $69 '"" $70 (VoidType) '"" $71))
    (let $73 (CallableType '('"2") '($64) '($65 '"AutoConvert") '($65 '"Strict")))
    (let $74 (Udf '"Yson2.Options" (Void) (VoidType) '"" $73 (VoidType) '"" $71))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $67 (Apply $72 $61) (Just (NamedApply $74 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.215467Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.215 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4259: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Canonize Map
2025-11-11T14:17:09.215954Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.215 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 265us
2025-11-11T14:17:09.215987Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.215 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.216001Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.215 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.216038Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.216052Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.216082Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.216097Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.216146Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.216160Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.216191Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.216208Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.216265Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 48us
2025-11-11T14:17:09.216357Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 76us
2025-11-11T14:17:09.216578Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 202us
2025-11-11T14:17:09.216955Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.216 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (Member $50 'event_type)) (lambda '($51 $52) (IsKeySwitch $51 (AsStruct '('_yql_agg_0 $52)) $44 (lambda '($53) $43))) (lambda '($54 $55) (Member $54 'event_type))))
      (return (FlatMap (FlatMap $49 (lambda '($56) (Just (AsStruct '('_yql_agg_0 $56))))) (lambda '($57) (Just (AsStruct '('Last0 (Member $57 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($58 $59 $60) (== (Member (Lookup (ToIndexDict $58) $60) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($61) (block '(
    (let $62 (ResourceType '"Yson2.Node"))
    (let $63 '($62 '"" '1))
    (let $64 (ResourceType '"Yson2.Options"))
    (let $65 (OptionalType (DataType 'Bool)))
    (let $66 (CallableType '('"4") '((OptionalType (DataType 'Json))) $63 '((OptionalType $64)) '($65 '"SkipMapEntity") '($65 '"EncodeUtf8") '($65 '"WriteNanAsString")))
    (let $67 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $66 (VoidType) '"" '()))
    (let $68 (StructType '('event_type (OptionalType $8))))
    (let $69 (TupleType (TupleType $68) (StructType) (TupleType)))
    (let $70 (CallableType '() '($62) '($68)))
    (let $71 '('('"strict")))
    (let $72 (Udf '"Yson2.From" (Void) $69 '"" $70 (VoidType) '"" $71))
    (let $73 (CallableType '('"2") '($64) '($65 '"AutoConvert") '($65 '"Strict")))
    (let $74 (Udf '"Yson2.Options" (Void) (VoidType) '"" $73 (VoidType) '"" $71))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $67 (Apply $72 $61) (Just (NamedApply $74 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.218050Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow1.cpp:67: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Fuse FlatMap with FlatMap width 1
2025-11-11T14:17:09.218516Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 259us
2025-11-11T14:17:09.218548Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.218562Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.218599Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.218612Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.218642Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.218656Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.218694Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:17:09.218705Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.218732Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.218745Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.218798Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 46us
2025-11-11T14:17:09.218882Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.218 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 71us
2025-11-11T14:17:09.219085Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.219 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 189us
2025-11-11T14:17:09.219448Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.219 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (Member $50 'event_type)) (lambda '($51 $52) (IsKeySwitch $51 (AsStruct '('_yql_agg_0 $52)) $44 (lambda '($53) $43))) (lambda '($54 $55) (Member $54 'event_type))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 (Member (AsStruct '('_yql_agg_0 $56)) '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.220068Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.220507Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 247us
2025-11-11T14:17:09.220541Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.220557Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.220596Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.220609Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.220641Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.220654Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.220696Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.220709Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.220737Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.220750Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.220805Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 47us
2025-11-11T14:17:09.220895Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.220 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 76us
2025-11-11T14:17:09.221107Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.221 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 197us
2025-11-11T14:17:09.221511Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.221 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (let $44 (lambda '($47) $43))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $46)) 'event_type)))))) $44 (Void) (Void) (lambda '($48) (block '(
      (let $49 (Condense1 $48 (lambda '($50) (Member $50 'event_type)) (lambda '($51 $52) (IsKeySwitch $51 (AsStruct '('_yql_agg_0 $52)) $44 (lambda '($53) $43))) (lambda '($54 $55) (Member $54 'event_type))))
      (return (FlatMap $49 (lambda '($56) (Just (AsStruct '('Last0 $56))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.223058Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:3120: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand IsKeySwitch
2025-11-11T14:17:09.223530Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 249us
2025-11-11T14:17:09.223565Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:17:09.223580Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.223623Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:17:09.223637Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.223671Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.223685Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.223729Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.223743Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.223772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.223785Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.223844Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 50us
2025-11-11T14:17:09.223933Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.223 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 73us
2025-11-11T14:17:09.224151Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.224 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 201us
2025-11-11T14:17:09.224535Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.224 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($37) (SafeCast (Member $37 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($41 $42) (block '(
    (let $43 (Uint32 '0))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $42 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($45) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $41) $45)) 'event_type)))))) (lambda '($46) $43) (Void) (Void) (lambda '($47) (block '(
      (let $48 (Condense1 $47 (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) (AggrNotEquals $43 $43)) (lambda '($52 $53) (Member $52 'event_type))))
      (return (FlatMap $48 (lambda '($54) (Just (AsStruct '('Last0 $54))))))
    ))))) 'Last0))
  )))))
  (let $34 (MatchRecognizeDefines $9 $32 $32 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $35 (MatchRecognizeParams $33 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $34))
  (let $36 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($38) (block '(
    (let $39 (AsStruct '('event_class (Member $38 'event_class)) '('event_type (Member $38 'event_type)) '('"time" (Member $38 '"time"))))
    (return (OptionalIf (Not (Member $38 '"_yql_OutOfOrder")) $39))
  )))) (lambda '($40) '()) '() $35 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $36 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $8))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.225292Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple2.cpp:999: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Unequal 'AggrNotEquals' with same args
2025-11-11T14:17:09.225738Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 241us
2025-11-11T14:17:09.225771Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.225785Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.225821Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.225834Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.225867Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.225881Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.225927Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.225939Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.225968Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:17:09.225982Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.225 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.226043Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.226 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:17:09.226131Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.226 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 72us
2025-11-11T14:17:09.226344Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.226 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 195us
2025-11-11T14:17:09.226699Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.226 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($44) (ListFromRange (Member $44 '"From") (+ (Member $44 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($45) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $45)) 'event_type)))))) (lambda '($46) (Uint32 '0)) (Void) (Void) (lambda '($47) (block '(
    (let $48 (Condense1 $47 (lambda '($49) (Member $49 'event_type)) (lambda '($50 $51) $33) (lambda '($52 $53) (Member $52 'event_type))))
    (return (FlatMap $48 (lambda '($54) (Just (AsStruct '('Last0 $54))))))
  ))))) 'Last0))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $8))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.228146Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:3010: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand PartitionsByKeys
2025-11-11T14:17:09.228562Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 206us
2025-11-11T14:17:09.228593Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.228607Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.228649Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:17:09.228663Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.228696Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.228709Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.228774Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 56us
2025-11-11T14:17:09.228858Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.228 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 70us
2025-11-11T14:17:09.229055Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.229 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 183us
2025-11-11T14:17:09.229426Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.229 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (Condense1 (OrderedFlatMap (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($45) (ListFromRange (Member $45 '"From") (+ (Member $45 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($46) (Just (AsStruct '('event_type (Member (Unwrap (Lookup (ToIndexDict $42) $46)) 'event_type)))))) (lambda '($47) (Member $47 'event_type)) (lambda '($48 $49) $33) (lambda '($50 $51) (Member $50 'event_type))))
    (return (Member (ToOptional (FlatMap $44 (lambda '($52) (Just (AsStruct '('Last0 $52)))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.230313Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_flow1.cpp:1156: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Propagate OrderedFlatMap to Condense1
2025-11-11T14:17:09.230740Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 230us
2025-11-11T14:17:09.230772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.230787Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.230827Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.230843Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.230873Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:17:09.230886Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.230925Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:17:09.230939Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.230993Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.230 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 47us
2025-11-11T14:17:09.231078Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.231 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 69us
2025-11-11T14:17:09.231283Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.231 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 190us
2025-11-11T14:17:09.231624Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.231 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (ToIndexDict $42))
    (let $45 (Condense1 (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Member (AsStruct '('event_type (Member (Unwrap (Lookup $44 $47)) 'event_type))) 'event_type)) (lambda '($48 $49) $33) (lambda '($50 $51) (Member (AsStruct '('event_type (Member (Unwrap (Lookup $44 $50)) 'event_type))) 'event_type))))
    (return (Member (ToOptional (FlatMap $45 (lambda '($52) (Just (AsStruct '('Last0 $52)))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.232158Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.232188Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core] yql_co_simple1.cpp:4942: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Member over AsStruct
2025-11-11T14:17:09.232536Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 200us
2025-11-11T14:17:09.232568Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:17:09.232582Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.232622Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:17:09.232634Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.232669Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.232682Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.232719Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:17:09.232732Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.232786Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 45us
2025-11-11T14:17:09.232871Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.232 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 70us
2025-11-11T14:17:09.233063Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.233 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 177us
2025-11-11T14:17:09.233434Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.233 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (ToIndexDict $42))
    (let $45 (Condense1 (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Member (Unwrap (Lookup $44 $47)) 'event_type)) (lambda '($48 $49) $33) (lambda '($50 $51) (Member (Unwrap (Lookup $44 $50)) 'event_type))))
    (return (Member (ToOptional (FlatMap $45 (lambda '($52) (Just (AsStruct '('Last0 $52)))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.235216Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 13us
2025-11-11T14:17:09.235254Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:17:09.235342Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 73us
2025-11-11T14:17:09.235532Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 174us
2025-11-11T14:17:09.235888Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (FlatMap (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (OptionalIf (== (Member $29 'event_class) $18) $29)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (ToIndexDict $42))
    (let $45 (Condense1 (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Member (Unwrap (Lookup $44 $47)) 'event_type)) (lambda '($48 $49) $33) (lambda '($50 $51) (Member (Unwrap (Lookup $44 $50)) 'event_type))))
    (return (Member (ToOptional (FlatMap $45 (lambda '($52) (Just (AsStruct '('Last0 $52)))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedFlatMap $31 (lambda '($39) (block '(
    (let $40 (AsStruct '('event_class (Member $39 'event_class)) '('event_type (Member $39 'event_type)) '('"time" (Member $39 '"time"))))
    (return (OptionalIf (Not (Member $39 '"_yql_OutOfOrder")) $40))
  )))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.235985Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.235 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2966: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand OptionalIf
2025-11-11T14:17:09.236049Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2966: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Expand OptionalIf
2025-11-11T14:17:09.236098Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2510: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} FlatMap to Map
2025-11-11T14:17:09.236607Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 322us
2025-11-11T14:17:09.236645Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 17us
2025-11-11T14:17:09.236660Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.236693Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.236708Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.236790Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 75us
2025-11-11T14:17:09.236877Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 72us
2025-11-11T14:17:09.236900Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:17:09.236913Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.236936Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 16us
2025-11-11T14:17:09.236949Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.236994Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.236 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.237007Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.237040Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:17:09.237052Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.237196Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 134us
2025-11-11T14:17:09.237346Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 132us
2025-11-11T14:17:09.237367Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 7us
2025-11-11T14:17:09.237381Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.237445Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 55us
2025-11-11T14:17:09.237459Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.237514Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 46us
2025-11-11T14:17:09.237527Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.237577Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 41us
2025-11-11T14:17:09.237664Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 72us
2025-11-11T14:17:09.237888Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.237 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 207us
2025-11-11T14:17:09.238253Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (Nothing (OptionalType $9)))
(let $20 (DqPhyStage '((DqSource $5 $17)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $26 (DqSourceWideWrap $24 $5 $9 $25))
  (return (FromFlow (FlatMap (NarrowMap $26 (lambda '($27 $28 $29) (AsStruct '('event_class $27) '('event_type $28) '('"time" $29)))) (lambda '($30) (If (== (Member $30 'event_class) $18) (Just $30) $19)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '0))) (lambda '($31) (block '(
  (let $32 (TimeOrderRecover (ToFlow $31) (lambda '($39) (SafeCast (Member $39 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $33 '('"M1"))
  (let $34 (Bool 'false))
  (let $35 (MatchRecognizeMeasures $9 $33 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (ToIndexDict $42))
    (let $45 (Condense1 (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Member (Unwrap (Lookup $44 $47)) 'event_type)) (lambda '($48 $49) $34) (lambda '($50 $51) (Member (Unwrap (Lookup $44 $50)) 'event_type))))
    (return (Member (ToOptional (Map $45 (lambda '($52) (AsStruct '('Last0 $52))))) 'Last0))
  )))))
  (let $36 (MatchRecognizeDefines $9 $33 $33 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $37 (MatchRecognizeParams $35 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $36))
  (let $38 (MatchRecognizeCore (OrderedFlatMap $32 (lambda '($40) (If (Not (Member $40 '"_yql_OutOfOrder")) (Just (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time")))) $19))) (lambda '($41) '()) '() $37 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $38 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $34)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $21 '((DqSink '0 (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.238348Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2549: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} FlatMap over If to Filter
2025-11-11T14:17:09.238420Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2549: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} OrderedFlatMap over If to OrderedFilter
2025-11-11T14:17:09.238795Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 201us
2025-11-11T14:17:09.238827Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.238840Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.238870Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.238885Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.238919Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:17:09.238933Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.238958Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 17us
2025-11-11T14:17:09.238971Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.238996Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.238 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 17us
2025-11-11T14:17:09.239009Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:17:09.239054Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.239136Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 68us
2025-11-11T14:17:09.239338Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 186us
2025-11-11T14:17:09.239691Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (Filter (NarrowMap $25 (lambda '($26 $27 $28) (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))) (lambda '($29) (== (Member $29 'event_class) $18)))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($30) (block '(
  (let $31 (TimeOrderRecover (ToFlow $30) (lambda '($38) (SafeCast (Member $38 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $32 '('"M1"))
  (let $33 (Bool 'false))
  (let $34 (MatchRecognizeMeasures $9 $32 '('event_type) (lambda '($42 $43) (block '(
    (let $44 (ToIndexDict $42))
    (let $45 (Condense1 (Collect (OrderedFlatMap (Member $43 '"M1") (lambda '($46) (ListFromRange (Member $46 '"From") (+ (Member $46 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($47) (Member (Unwrap (Lookup $44 $47)) 'event_type)) (lambda '($48 $49) $33) (lambda '($50 $51) (Member (Unwrap (Lookup $44 $50)) 'event_type))))
    (return (Member (ToOptional (Map $45 (lambda '($52) (AsStruct '('Last0 $52))))) 'Last0))
  )))))
  (let $35 (MatchRecognizeDefines $9 $32 $32 (lambda '($53 $54 $55) (== (Member (Lookup (ToIndexDict $53) $55) 'event_class) $18))))
  (let $36 (MatchRecognizeParams $34 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $35))
  (let $37 (MatchRecognizeCore (OrderedMap (OrderedFilter $31 (lambda '($39) (Not (Member $39 '"_yql_OutOfOrder")))) (lambda '($40) (AsStruct '('event_class (Member $40 'event_class)) '('event_type (Member $40 'event_type)) '('"time" (Member $40 '"time"))))) (lambda '($41) '()) '() $36 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $37 (lambda '($56) (block '(
    (let $57 (ResourceType '"Yson2.Node"))
    (let $58 '($57 '"" '1))
    (let $59 (ResourceType '"Yson2.Options"))
    (let $60 (OptionalType (DataType 'Bool)))
    (let $61 (CallableType '('"4") '((OptionalType (DataType 'Json))) $58 '((OptionalType $59)) '($60 '"SkipMapEntity") '($60 '"EncodeUtf8") '($60 '"WriteNanAsString")))
    (let $62 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $61 (VoidType) '"" '()))
    (let $63 (StructType '('event_type (OptionalType $8))))
    (let $64 (TupleType (TupleType $63) (StructType) (TupleType)))
    (let $65 (CallableType '() '($57) '($63)))
    (let $66 '('('"strict")))
    (let $67 (Udf '"Yson2.From" (Void) $64 '"" $65 (VoidType) '"" $66))
    (let $68 (CallableType '('"2") '($59) '($60 '"AutoConvert") '($60 '"Strict")))
    (let $69 (Udf '"Yson2.Options" (Void) (VoidType) '"" $68 (VoidType) '"" $66))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $62 (Apply $67 $56) (Just (NamedApply $69 '() (AsStruct '('"AutoConvert" (Just $33)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.239778Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2321: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Swap Filter with NarrowMap
2025-11-11T14:17:09.239925Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.239 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:2510: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} FlatMap to Map
2025-11-11T14:17:09.240259Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 219us
2025-11-11T14:17:09.240291Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:17:09.240300Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.240324Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:17:09.240338Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.240384Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 37us
2025-11-11T14:17:09.240398Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.240427Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 20us
2025-11-11T14:17:09.240440Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.240484Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.240569Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 71us
2025-11-11T14:17:09.240776Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.240 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 193us
2025-11-11T14:17:09.241144Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (NarrowMap (WideFilter $25 (lambda '($26 $27 $28) (block '(
    (let $29 (AsStruct '('event_class $26) '('event_type $27) '('"time" $28)))
    (return (== (Member $29 'event_class) $18))
  )))) (lambda '($30 $31 $32) (AsStruct '('event_class $30) '('event_type $31) '('"time" $32))))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($33) (block '(
  (let $34 (TimeOrderRecover (ToFlow $33) (lambda '($41) (SafeCast (Member $41 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $35 '('"M1"))
  (let $36 (Bool 'false))
  (let $37 (MatchRecognizeMeasures $9 $35 '('event_type) (lambda '($45 $46) (block '(
    (let $47 (ToIndexDict $45))
    (let $48 (Condense1 (Collect (OrderedFlatMap (Member $46 '"M1") (lambda '($49) (ListFromRange (Member $49 '"From") (+ (Member $49 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($50) (Member (Unwrap (Lookup $47 $50)) 'event_type)) (lambda '($51 $52) $36) (lambda '($53 $54) (Member (Unwrap (Lookup $47 $53)) 'event_type))))
    (return (Member (ToOptional (Map $48 (lambda '($55) (AsStruct '('Last0 $55))))) 'Last0))
  )))))
  (let $38 (MatchRecognizeDefines $9 $35 $35 (lambda '($56 $57 $58) (== (Member (Lookup (ToIndexDict $56) $58) 'event_class) $18))))
  (let $39 (MatchRecognizeParams $37 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $38))
  (let $40 (MatchRecognizeCore (OrderedMap (OrderedFilter $34 (lambda '($42) (Not (Member $42 '"_yql_OutOfOrder")))) (lambda '($43) (AsStruct '('event_class (Member $43 'event_class)) '('event_type (Member $43 'event_type)) '('"time" (Member $43 '"time"))))) (lambda '($44) '()) '() $39 '('('"Streaming" '1))))
  (return (FromFlow (Map $40 (lambda '($59) (block '(
    (let $60 (ResourceType '"Yson2.Node"))
    (let $61 '($60 '"" '1))
    (let $62 (ResourceType '"Yson2.Options"))
    (let $63 (OptionalType (DataType 'Bool)))
    (let $64 (CallableType '('"4") '((OptionalType (DataType 'Json))) $61 '((OptionalType $62)) '($63 '"SkipMapEntity") '($63 '"EncodeUtf8") '($63 '"WriteNanAsString")))
    (let $65 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $64 (VoidType) '"" '()))
    (let $66 (StructType '('event_type (OptionalType $8))))
    (let $67 (TupleType (TupleType $66) (StructType) (TupleType)))
    (let $68 (CallableType '() '($60) '($66)))
    (let $69 '('('"strict")))
    (let $70 (Udf '"Yson2.From" (Void) $67 '"" $68 (VoidType) '"" $69))
    (let $71 (CallableType '('"2") '($62) '($63 '"AutoConvert") '($63 '"Strict")))
    (let $72 (Udf '"Yson2.Options" (Void) (VoidType) '"" $71 (VoidType) '"" $69))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $65 (Apply $70 $59) (Just (NamedApply $72 '() (AsStruct '('"AutoConvert" (Just $36)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.241220Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_opt_peephole_physical.cpp:4577: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Drop Member over AsStruct
2025-11-11T14:17:09.241497Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 101us
2025-11-11T14:17:09.241527Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:17:09.241536Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.241556Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:17:09.241568Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:17:09.241613Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:17:09.241688Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 60us
2025-11-11T14:17:09.241876Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.241 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 172us
2025-11-11T14:17:09.242221Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 (DqPhyStage '((DqSource $5 $17)) (lambda '($23) (block '(
  (let $24 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $25 (DqSourceWideWrap $23 $5 $9 $24))
  (return (FromFlow (NarrowMap (WideFilter $25 (lambda '($26 $27 $28) (== $26 $18))) (lambda '($29 $30 $31) (AsStruct '('event_class $29) '('event_type $30) '('"time" $31))))))
))) '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8"))))
(let $20 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $21 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $22 (DqPqTopicSink $21 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $19 '0))) (lambda '($32) (block '(
  (let $33 (TimeOrderRecover (ToFlow $32) (lambda '($40) (SafeCast (Member $40 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $34 '('"M1"))
  (let $35 (Bool 'false))
  (let $36 (MatchRecognizeMeasures $9 $34 '('event_type) (lambda '($44 $45) (block '(
    (let $46 (ToIndexDict $44))
    (let $47 (Condense1 (Collect (OrderedFlatMap (Member $45 '"M1") (lambda '($48) (ListFromRange (Member $48 '"From") (+ (Member $48 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($49) (Member (Unwrap (Lookup $46 $49)) 'event_type)) (lambda '($50 $51) $35) (lambda '($52 $53) (Member (Unwrap (Lookup $46 $52)) 'event_type))))
    (return (Member (ToOptional (Map $47 (lambda '($54) (AsStruct '('Last0 $54))))) 'Last0))
  )))))
  (let $37 (MatchRecognizeDefines $9 $34 $34 (lambda '($55 $56 $57) (== (Member (Lookup (ToIndexDict $55) $57) 'event_class) $18))))
  (let $38 (MatchRecognizeParams $36 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $37))
  (let $39 (MatchRecognizeCore (OrderedMap (OrderedFilter $33 (lambda '($41) (Not (Member $41 '"_yql_OutOfOrder")))) (lambda '($42) (AsStruct '('event_class (Member $42 'event_class)) '('event_type (Member $42 'event_type)) '('"time" (Member $42 '"time"))))) (lambda '($43) '()) '() $38 '('('"Streaming" '1))))
  (return (FromFlow (Map $39 (lambda '($58) (block '(
    (let $59 (ResourceType '"Yson2.Node"))
    (let $60 '($59 '"" '1))
    (let $61 (ResourceType '"Yson2.Options"))
    (let $62 (OptionalType (DataType 'Bool)))
    (let $63 (CallableType '('"4") '((OptionalType (DataType 'Json))) $60 '((OptionalType $61)) '($62 '"SkipMapEntity") '($62 '"EncodeUtf8") '($62 '"WriteNanAsString")))
    (let $64 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $63 (VoidType) '"" '()))
    (let $65 (StructType '('event_type (OptionalType $8))))
    (let $66 (TupleType (TupleType $65) (StructType) (TupleType)))
    (let $67 (CallableType '() '($59) '($65)))
    (let $68 '('('"strict")))
    (let $69 (Udf '"Yson2.From" (Void) $66 '"" $67 (VoidType) '"" $68))
    (let $70 (CallableType '('"2") '($61) '($62 '"AutoConvert") '($62 '"Strict")))
    (let $71 (Udf '"Yson2.Options" (Void) (VoidType) '"" $70 (VoidType) '"" $68))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $64 (Apply $69 $58) (Just (NamedApply $71 '() (AsStruct '('"AutoConvert" (Just $35)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $20 '((DqSink '0 (DataSink '"pq" '"yds") $22))))))
)

2025-11-11T14:17:09.242447Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] yql_dq_exectransformer.cpp:379: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Setting block status for stage #210566 to None
2025-11-11T14:17:09.242550Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 47us
2025-11-11T14:17:09.242601Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:17:09.242671Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 56us
2025-11-11T14:17:09.242866Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.242 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 178us
2025-11-11T14:17:09.243221Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") '('"_block_status" '"None")))
(let $20 (DqPhyStage '((DqSource $5 $17)) (lambda '($24) (block '(
  (let $25 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $26 (DqSourceWideWrap $24 $5 $9 $25))
  (return (FromFlow (NarrowMap (WideFilter $26 (lambda '($27 $28 $29) (== $27 $18))) (lambda '($30 $31 $32) (AsStruct '('event_class $30) '('event_type $31) '('"time" $32))))))
))) $19))
(let $21 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate")))
(let $22 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $23 (DqPqTopicSink $22 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $20 '0))) (lambda '($33) (block '(
  (let $34 (TimeOrderRecover (ToFlow $33) (lambda '($41) (SafeCast (Member $41 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $35 '('"M1"))
  (let $36 (Bool 'false))
  (let $37 (MatchRecognizeMeasures $9 $35 '('event_type) (lambda '($45 $46) (block '(
    (let $47 (ToIndexDict $45))
    (let $48 (Condense1 (Collect (OrderedFlatMap (Member $46 '"M1") (lambda '($49) (ListFromRange (Member $49 '"From") (+ (Member $49 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($50) (Member (Unwrap (Lookup $47 $50)) 'event_type)) (lambda '($51 $52) $36) (lambda '($53 $54) (Member (Unwrap (Lookup $47 $53)) 'event_type))))
    (return (Member (ToOptional (Map $48 (lambda '($55) (AsStruct '('Last0 $55))))) 'Last0))
  )))))
  (let $38 (MatchRecognizeDefines $9 $35 $35 (lambda '($56 $57 $58) (== (Member (Lookup (ToIndexDict $56) $58) 'event_class) $18))))
  (let $39 (MatchRecognizeParams $37 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $38))
  (let $40 (MatchRecognizeCore (OrderedMap (OrderedFilter $34 (lambda '($42) (Not (Member $42 '"_yql_OutOfOrder")))) (lambda '($43) (AsStruct '('event_class (Member $43 'event_class)) '('event_type (Member $43 'event_type)) '('"time" (Member $43 '"time"))))) (lambda '($44) '()) '() $39 '('('"Streaming" '1))))
  (return (FromFlow (Map $40 (lambda '($59) (block '(
    (let $60 (ResourceType '"Yson2.Node"))
    (let $61 '($60 '"" '1))
    (let $62 (ResourceType '"Yson2.Options"))
    (let $63 (OptionalType (DataType 'Bool)))
    (let $64 (CallableType '('"4") '((OptionalType (DataType 'Json))) $61 '((OptionalType $62)) '($63 '"SkipMapEntity") '($63 '"EncodeUtf8") '($63 '"WriteNanAsString")))
    (let $65 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $64 (VoidType) '"" '()))
    (let $66 (StructType '('event_type (OptionalType $8))))
    (let $67 (TupleType (TupleType $66) (StructType) (TupleType)))
    (let $68 (CallableType '() '($60) '($66)))
    (let $69 '('('"strict")))
    (let $70 (Udf '"Yson2.From" (Void) $67 '"" $68 (VoidType) '"" $69))
    (let $71 (CallableType '('"2") '($62) '($63 '"AutoConvert") '($63 '"Strict")))
    (let $72 (Udf '"Yson2.Options" (Void) (VoidType) '"" $71 (VoidType) '"" $69))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $65 (Apply $70 $59) (Just (NamedApply $72 '() (AsStruct '('"AutoConvert" (Just $36)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $21 '((DqSink '0 (DataSink '"pq" '"yds") $23))))))
)

2025-11-11T14:17:09.243447Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core dq] yql_dq_exectransformer.cpp:379: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Setting block status for stage #211585 to None
2025-11-11T14:17:09.243546Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] type_ann_expr.cpp:48: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [TypeAnnotationTransformer::DoTransform] took 38us
2025-11-11T14:17:09.243589Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:17:09.243669Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:638: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [UpdateCompletness] took 65us
2025-11-11T14:17:09.243863Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.243 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_expr_csee.cpp:651: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution of [EliminateCommonSubExpressionsForSubGraph] took 175us
2025-11-11T14:17:09.244212Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.244 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} PeepHoleOpt:
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 '('"_block_status" '"None"))
(let $20 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") $19))
(let $21 (DqPhyStage '((DqSource $5 $17)) (lambda '($25) (block '(
  (let $26 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $27 (DqSourceWideWrap $25 $5 $9 $26))
  (return (FromFlow (NarrowMap (WideFilter $27 (lambda '($28 $29 $30) (== $28 $18))) (lambda '($31 $32 $33) (AsStruct '('event_class $31) '('event_type $32) '('"time" $33))))))
))) $20))
(let $22 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate") $19))
(let $23 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $24 (DqPqTopicSink $23 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $21 '0))) (lambda '($34) (block '(
  (let $35 (TimeOrderRecover (ToFlow $34) (lambda '($42) (SafeCast (Member $42 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $36 '('"M1"))
  (let $37 (Bool 'false))
  (let $38 (MatchRecognizeMeasures $9 $36 '('event_type) (lambda '($46 $47) (block '(
    (let $48 (ToIndexDict $46))
    (let $49 (Condense1 (Collect (OrderedFlatMap (Member $47 '"M1") (lambda '($50) (ListFromRange (Member $50 '"From") (+ (Member $50 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($51) (Member (Unwrap (Lookup $48 $51)) 'event_type)) (lambda '($52 $53) $37) (lambda '($54 $55) (Member (Unwrap (Lookup $48 $54)) 'event_type))))
    (return (Member (ToOptional (Map $49 (lambda '($56) (AsStruct '('Last0 $56))))) 'Last0))
  )))))
  (let $39 (MatchRecognizeDefines $9 $36 $36 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $40 (MatchRecognizeParams $38 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $39))
  (let $41 (MatchRecognizeCore (OrderedMap (OrderedFilter $35 (lambda '($43) (Not (Member $43 '"_yql_OutOfOrder")))) (lambda '($44) (AsStruct '('event_class (Member $44 'event_class)) '('event_type (Member $44 'event_type)) '('"time" (Member $44 '"time"))))) (lambda '($45) '()) '() $40 '('('"Streaming" '1))))
  (return (FromFlow (Map $41 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just $37)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $22 '((DqSink '0 (DataSink '"pq" '"yds") $24))))))
)

2025-11-11T14:17:09.244993Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.244 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:2143: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} After PeepHole
(
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 '('"_block_status" '"None"))
(let $20 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") $19))
(let $21 (DqPhyStage '((DqSource $5 $17)) (lambda '($25) (block '(
  (let $26 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $27 (DqSourceWideWrap $25 $5 $9 $26))
  (return (FromFlow (NarrowMap (WideFilter $27 (lambda '($28 $29 $30) (== $28 $18))) (lambda '($31 $32 $33) (AsStruct '('event_class $31) '('event_type $32) '('"time" $33))))))
))) $20))
(let $22 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate") $19))
(let $23 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $24 (DqPqTopicSink $23 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $21 '0))) (lambda '($34) (block '(
  (let $35 (TimeOrderRecover (ToFlow $34) (lambda '($42) (SafeCast (Member $42 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $36 '('"M1"))
  (let $37 (Bool 'false))
  (let $38 (MatchRecognizeMeasures $9 $36 '('event_type) (lambda '($46 $47) (block '(
    (let $48 (ToIndexDict $46))
    (let $49 (Condense1 (Collect (OrderedFlatMap (Member $47 '"M1") (lambda '($50) (ListFromRange (Member $50 '"From") (+ (Member $50 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($51) (Member (Unwrap (Lookup $48 $51)) 'event_type)) (lambda '($52 $53) $37) (lambda '($54 $55) (Member (Unwrap (Lookup $48 $54)) 'event_type))))
    (return (Member (ToOptional (Map $49 (lambda '($56) (AsStruct '('Last0 $56))))) 'Last0))
  )))))
  (let $39 (MatchRecognizeDefines $9 $36 $36 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $40 (MatchRecognizeParams $38 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $39))
  (let $41 (MatchRecognizeCore (OrderedMap (OrderedFilter $35 (lambda '($43) (Not (Member $43 '"_yql_OutOfOrder")))) (lambda '($44) (AsStruct '('event_class (Member $44 'event_class)) '('event_type (Member $44 'event_type)) '('"time" (Member $44 '"time"))))) (lambda '($45) '()) '() $40 '('('"Streaming" '1))))
  (return (FromFlow (Map $41 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just $37)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $22 '((DqSink '0 (DataSink '"pq" '"yds") $24))))))
)

2025-11-11T14:17:09.245662Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.245 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] execution_planner.cpp:152: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Execution Plan (
(let $1 (DataSource '"config"))
(let $2 (Configure! world $1 '"DqEngine" '"force"))
(let $3 (Configure! $2 $1 '"TimeOrderRecoverDelay" '"-10"))
(let $4 (Configure! $3 $1 '"TimeOrderRecoverAhead" '"10"))
(let $5 (DataSource '"pq" '"yds"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $4 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 '('"_block_status" '"None"))
(let $20 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") $19))
(let $21 (DqPhyStage '((DqSource $5 $17)) (lambda '($25) (block '(
  (let $26 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $27 (DqSourceWideWrap $25 $5 $9 $26))
  (return (FromFlow (NarrowMap (WideFilter $27 (lambda '($28 $29 $30) (== $28 $18))) (lambda '($31 $32 $33) (AsStruct '('event_class $31) '('event_type $32) '('"time" $33))))))
))) $20))
(let $22 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate") $19))
(let $23 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $24 (DqPqTopicSink $23 '($12 $14) $16))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $21 '0))) (lambda '($34) (block '(
  (let $35 (TimeOrderRecover (ToFlow $34) (lambda '($42) (SafeCast (Member $42 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $36 '('"M1"))
  (let $37 (Bool 'false))
  (let $38 (MatchRecognizeMeasures $9 $36 '('event_type) (lambda '($46 $47) (block '(
    (let $48 (ToIndexDict $46))
    (let $49 (Condense1 (Collect (OrderedFlatMap (Member $47 '"M1") (lambda '($50) (ListFromRange (Member $50 '"From") (+ (Member $50 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($51) (Member (Unwrap (Lookup $48 $51)) 'event_type)) (lambda '($52 $53) $37) (lambda '($54 $55) (Member (Unwrap (Lookup $48 $54)) 'event_type))))
    (return (Member (ToOptional (Map $49 (lambda '($56) (AsStruct '('Last0 $56))))) 'Last0))
  )))))
  (let $39 (MatchRecognizeDefines $9 $36 $36 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $40 (MatchRecognizeParams $38 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $39))
  (let $41 (MatchRecognizeCore (OrderedMap (OrderedFilter $35 (lambda '($43) (Not (Member $43 '"_yql_OutOfOrder")))) (lambda '($44) (AsStruct '('event_class (Member $44 'event_class)) '('event_type (Member $44 'event_type)) '('"time" (Member $44 '"time"))))) (lambda '($45) '()) '() $40 '('('"Streaming" '1))))
  (return (FromFlow (Map $41 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just $37)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $22 '((DqSink '0 (DataSink '"pq" '"yds") $24))))))
)

2025-11-11T14:17:09.245833Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.245 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [PQ] yql_pq_dq_integration.cpp:53: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Create DQ reading partition { PartitioningParams { TopicPartitionsCount: 1 DqPartitionsCount: 1 } }
2025-11-11T14:17:09.248085Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.247 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] execution_planner.cpp:164: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Read stage (
(let $1 (DataSource '"pq" '"yds"))
(let $2 (DataSource '"config"))
(let $3 (Configure! world $2 '"DqEngine" '"force"))
(let $4 (Configure! $3 $2 '"TimeOrderRecoverDelay" '"-10"))
(let $5 (Configure! $4 $2 '"TimeOrderRecoverAhead" '"10"))
(let $6 (DataType 'Uint64))
(let $7 (StructType '('event_class (DataType 'String)) '('event_type $6) '('"time" $6)))
(let $8 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" '('('"PartitionsCount" '1)) '() $7))
(let $9 '('event_class 'event_type '"time"))
(let $10 '('"SharedReading" '1))
(let $11 '('('"Endpoint" '"localhost:19692") $10 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") '('"AddBearerToToken" '1)))
(let $12 (DqPqTopicSource $5 $8 $9 $11 (SecureParam '"cluster:default_yds") '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $7 '""))
(let $13 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") '('"_block_status" '"None")))
(return (DqPhyStage '((DqSource $1 $12)) (lambda '($14) (block '(
  (let $15 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($10))))
  (let $16 (DqSourceWideWrap $14 $1 $7 $15))
  (return (FromFlow (NarrowMap (WideFilter $16 (lambda '($17 $18 $19) (== $17 (String '"event_class2")))) (lambda '($20 $21 $22) (AsStruct '('event_class $20) '('event_type $21) '('"time" $22))))))
))) $13))
)

2025-11-11T14:17:09.248539Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.248 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] execution_planner.cpp:166: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Common stage (
(let $1 (DataSource '"pq" '"yds"))
(let $2 (DataSource '"config"))
(let $3 (Configure! world $2 '"DqEngine" '"force"))
(let $4 (Configure! $3 $2 '"TimeOrderRecoverDelay" '"-10"))
(let $5 (Configure! $4 $2 '"TimeOrderRecoverAhead" '"10"))
(let $6 '('('"PartitionsCount" '1)))
(let $7 (DataType 'String))
(let $8 (DataType 'Uint64))
(let $9 (StructType '('event_class $7) '('event_type $8) '('"time" $8)))
(let $10 (PqTopic '"yds" '"local" '"test_filter_with_mr_input" $6 '() $9))
(let $11 '('event_class 'event_type '"time"))
(let $12 '('"Endpoint" '"localhost:19692"))
(let $13 '('"SharedReading" '1))
(let $14 '('"AddBearerToToken" '1))
(let $15 '($12 $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmp6jia2titgk6") $14))
(let $16 (SecureParam '"cluster:default_yds"))
(let $17 (DqPqTopicSource $5 $10 $11 $15 $16 '"B*\b\x03\x12\r\x12\vevent_class\x1A\x17\n\x15\n\x03\b\x81 \x12\x0EB\fevent_class2" $9 '""))
(let $18 (String '"event_class2"))
(let $19 '('"_block_status" '"None"))
(let $20 '('('"_logical_id" '210566) '('"_id" '"97105c41-40e6f3e4-fa819b04-7a14feb8") $19))
(let $21 (DqPhyStage '((DqSource $1 $17)) (lambda '($25) (block '(
  (let $26 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $27 (DqSourceWideWrap $25 $1 $9 $26))
  (return (FromFlow (NarrowMap (WideFilter $27 (lambda '($28 $29 $30) (== $28 $18))) (lambda '($31 $32 $33) (AsStruct '('event_class $31) '('event_type $32) '('"time" $33))))))
))) $20))
(let $22 '('('"_logical_id" '211585) '('"_id" '"f317442b-df2a5ea7-ac9a24f-8baf96f2") '('"_partition_mode" '"aggregate") $19))
(let $23 (PqTopic '"yds" '"local" '"test_filter_with_mr_output" $6 '() (StructType '('"Data" $7))))
(let $24 (DqPqTopicSink $23 '($12 $14) $16))
(return (DqPhyStage '((DqCnUnionAll (TDqOutput $21 '0))) (lambda '($34) (block '(
  (let $35 (TimeOrderRecover (ToFlow $34) (lambda '($42) (SafeCast (Member $42 '"time") (OptionalType (DataType 'Timestamp)))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $36 '('"M1"))
  (let $37 (Bool 'false))
  (let $38 (MatchRecognizeMeasures $9 $36 '('event_type) (lambda '($46 $47) (block '(
    (let $48 (ToIndexDict $46))
    (let $49 (Condense1 (Collect (OrderedFlatMap (Member $47 '"M1") (lambda '($50) (ListFromRange (Member $50 '"From") (+ (Member $50 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($51) (Member (Unwrap (Lookup $48 $51)) 'event_type)) (lambda '($52 $53) $37) (lambda '($54 $55) (Member (Unwrap (Lookup $48 $54)) 'event_type))))
    (return (Member (ToOptional (Map $49 (lambda '($56) (AsStruct '('Last0 $56))))) 'Last0))
  )))))
  (let $39 (MatchRecognizeDefines $9 $36 $36 (lambda '($57 $58 $59) (== (Member (Lookup (ToIndexDict $57) $59) 'event_class) $18))))
  (let $40 (MatchRecognizeParams $38 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"M1" '1 '1 '1 '1 '0))) $39))
  (let $41 (MatchRecognizeCore (OrderedMap (OrderedFilter $35 (lambda '($43) (Not (Member $43 '"_yql_OutOfOrder")))) (lambda '($44) (AsStruct '('event_class (Member $44 'event_class)) '('event_type (Member $44 'event_type)) '('"time" (Member $44 '"time"))))) (lambda '($45) '()) '() $40 '('('"Streaming" '1))))
  (return (FromFlow (Map $41 (lambda '($60) (block '(
    (let $61 (ResourceType '"Yson2.Node"))
    (let $62 '($61 '"" '1))
    (let $63 (ResourceType '"Yson2.Options"))
    (let $64 (OptionalType (DataType 'Bool)))
    (let $65 (CallableType '('"4") '((OptionalType (DataType 'Json))) $62 '((OptionalType $63)) '($64 '"SkipMapEntity") '($64 '"EncodeUtf8") '($64 '"WriteNanAsString")))
    (let $66 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $65 (VoidType) '"" '()))
    (let $67 (StructType '('event_type (OptionalType $8))))
    (let $68 (TupleType (TupleType $67) (StructType) (TupleType)))
    (let $69 (CallableType '() '($61) '($67)))
    (let $70 '('('"strict")))
    (let $71 (Udf '"Yson2.From" (Void) $68 '"" $69 (VoidType) '"" $70))
    (let $72 (CallableType '('"2") '($63) '($64 '"AutoConvert") '($64 '"Strict")))
    (let $73 (Udf '"Yson2.Options" (Void) (VoidType) '"" $72 (VoidType) '"" $70))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $66 (Apply $71 $60) (Just (NamedApply $73 '() (AsStruct '('"AutoConvert" (Just $37)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $22 '((DqSink '0 (DataSink '"pq" '"yds") $24))))
)

2025-11-11T14:17:09.249685Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Try to resolve Yson2
2025-11-11T14:17:09.249721Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 WARN  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Empty md5 for <static>::Yson2
2025-11-11T14:17:09.249743Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} File|Md5 <static>::Yson2|
2025-11-11T14:17:09.249758Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Try to resolve Yson2
2025-11-11T14:17:09.249765Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 WARN  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Empty md5 for <static>::Yson2
2025-11-11T14:17:09.249772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} File|Md5 <static>::Yson2|
2025-11-11T14:17:09.249780Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Try to resolve Yson2
2025-11-11T14:17:09.249786Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 WARN  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} Empty md5 for <static>::Yson2
2025-11-11T14:17:09.249793Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.249 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud/#211647/#211659} File|Md5 <static>::Yson2|
2025-11-11T14:17:09.250173Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:928: QueryId: ptqudslmp68sbkerrd5b Graph (execution) with tasks: 2
2025-11-11T14:17:09.250203Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:519: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Register async execution for node #211647
2025-11-11T14:17:09.250218Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:89: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Finish, output #211647, status: Async
2025-11-11T14:17:09.250238Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [perf] yql_graph_transformer.cpp:99: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Allocated 2690 nodes after Transform, stage: Execution
2025-11-11T14:17:09.250303Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:135: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Completed async execution for node #211647
2025-11-11T14:17:09.250323Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [core exec] yql_execution.cpp:155: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} State is Error after apply async changes for node #211647
2025-11-11T14:17:09.250334Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.250 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [default] yql_facade.cpp:1664: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} Fallback skipped due to per query policy
2025-11-11T14:17:09.251042Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:911: QueryId: ptqudslmp68sbkerrd5b Overall dq tasks: 2
2025-11-11T14:17:09.251043Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.251 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] yql_dq_provider.cpp:126: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} CloseSession ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud
2025-11-11T14:17:09.251056Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:758: QueryId: ptqudslmp68sbkerrd5b Graph 0
2025-11-11T14:17:09.251119Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:776: QueryId: ptqudslmp68sbkerrd5b Create consumer "ptqudslmp68sbkerrd5b" for topic "test_filter_with_mr_input"
2025-11-11T14:17:09.251129Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { ast: "(\n(let $1 (DataSource \'\"config\"))\n(let $2 (Configure! world $1 \'\"DqEngine\" \'\"force\"))\n(let $3 (Configure! $2 $1 \'\"TimeOrderRecoverDelay\" \'\"-10\"))\n(let $4 (Configure! $3 $1 \'\"TimeOrderRecoverAhead\" \'\"10\"))\n(let $5 (DataSource \'\"pq\" \'\"yds\"))\n(let $6 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $7 (DataType \'String))\n(let $8 (DataType \'Uint64))\n(let $9 \'(\'event_type $8))\n(let $10 (StructType \'(\'event_class $7) $9 \'(\'\"time\" $8)))\n(let $11 (PqTopic \'\"yds\" \'\"local\" \'\"test_filter_with_mr_input\" $6 \'() $10))\n(let $12 \'(\'event_class \'event_type \'\"time\"))\n(let $13 \'(\'\"Endpoint\" \'\"localhost:19692\"))\n(let $14 \'(\'\"SharedReading\" \'1))\n(let $15 \'(\'\"AddBearerToToken\" \'1))\n(let $16 \'($13 $14 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"json_each_row\") \'(\'\"ReadGroup\" \'\"ptcudslmp6jia2titgk6\") $15))\n(let $17 (SecureParam \'\"cluster:default_yds\"))\n(let $18 (DqPqTopicSource $4 $11 $12 $16 $17 \'\"B*\\b\\x03\\x12\\r\\x12\\vevent_class\\x1A\\x17\\n\\x15\\n\\x03\\b\\x81 \\x12\\x0EB\\fevent_class2\" $10 \'\"\"))\n(let $19 (String \'\"event_class2\"))\n(let $20 (DqStage \'((DqSource $5 $18)) (lambda \'($24) (block \'(\n  (let $25 \'(\'(\'\"format\" \'\"json_each_row\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($14))))\n  (let $26 (DqSourceWideWrap $24 $5 $10 $25))\n  (return (FlatMap (NarrowMap $26 (lambda \'($27 $28 $29) (AsStruct \'(\'event_class $27) \'(\'event_type $28) \'(\'\"time\" $29)))) (lambda \'($30) (OptionalIf (== (Member $30 \'event_class) $19) $30))))\n))) \'(\'(\'\"_logical_id\" \'210566))))\n(let $21 (DataSink \'\"pq\" \'\"yds\"))\n(let $22 (PqTopic \'\"yds\" \'\"local\" \'\"test_filter_with_mr_output\" $6 \'() (StructType \'(\'\"Data\" $7))))\n(let $23 (DqPqTopicSink $22 \'($13 $15) $17))\n(return (Commit! (DqQuery! $4 \'((DqStage \'((DqCnUnionAll (TDqOutput $20 \'0))) (lambda \'($31) (block \'(\n  (let $32 (TimeOrderRecover $31 (lambda \'($38) (SafeCast (Member $38 \'\"time\") (OptionalType (DataType \'Timestamp)))) (Interval \'\"-10\") (Interval \'\"10\") (Uint32 \'\"1000000\")))\n  (let $33 \'(\'\"M1\"))\n  (let $34 (MatchRecognizeMeasures $10 $33 \'(\'event_type) (lambda \'($42 $43) (block \'(\n    (let $44 (lambda \'($51) $51))\n    (let $45 (AggregationTraits (StructType $9) (lambda \'($48) (Member $48 \'event_type)) (lambda \'($49 $50) (Member $49 \'event_type)) $44 $44 (lambda \'($52 $53) $52) $44 (Null)))\n    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $43 \'\"M1\") (lambda \'($46) (ListFromRange (Member $46 \'\"From\") (+ (Member $46 \'\"To\") (Uint64 \'1)) (Int64 \'1)))) (lambda \'($47) (Just (AsStruct \'(\'event_type (Member (Unwrap (Lookup (ToIndexDict $42) $47)) \'event_type)))))) \'() \'(\'(\'Last0 $45)) \'())) \'Last0))\n  )))))\n  (let $35 (MatchRecognizeDefines $10 $33 $33 (lambda \'($54 $55 $56) (== (Member (Lookup (ToIndexDict $54) $56) \'event_class) $19))))\n  (let $36 (MatchRecognizeParams $34 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'(\'(\'\"M1\" \'1 \'1 \'1 \'1 \'0))) $35))\n  (let $37 (MatchRecognizeCore (OrderedFlatMap $32 (lambda \'($39) (block \'(\n    (let $40 (AsStruct \'(\'event_class (Member $39 \'event_class)) \'(\'event_type (Member $39 \'event_type)) \'(\'\"time\" (Member $39 \'\"time\"))))\n    (return (OptionalIf (Not (Member $39 \'\"_yql_OutOfOrder\")) $40))\n  )))) (lambda \'($41) \'()) \'() $36 \'(\'(\'\"Streaming\" \'1))))\n  (return (FromFlow (FlatMap $37 (lambda \'($57) (block \'(\n    (let $58 (ResourceType \'\"Yson2.Node\"))\n    (let $59 \'($58 \'\"\" \'1))\n    (let $60 (ResourceType \'\"Yson2.Options\"))\n    (let $61 (OptionalType (DataType \'Bool)))\n    (let $62 (CallableType \'(\'\"4\") \'((OptionalType (DataType \'Json))) $59 \'((OptionalType $60)) \'($61 \'\"SkipMapEntity\") \'($61 \'\"EncodeUtf8\") \'($61 \'\"WriteNanAsString\")))\n    (let $63 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $62 (VoidType) \'\"\" \'()))\n    (let $64 (StructType \'(\'event_type (OptionalType $8))))\n    (let $65 (TupleType (TupleType $64) (StructType) (TupleType)))\n    (let $66 (CallableType \'() \'($58) \'($64)))\n    (let $67 \'(\'(\'\"strict\")))\n    (let $68 (Udf \'\"Yson2.From\" (Void) $65 \'\"\" $66 (VoidType) \'\"\" $67))\n    (let $69 (CallableType \'(\'\"2\") \'($60) \'($61 \'\"AutoConvert\") \'($61 \'\"Strict\")))\n    (let $70 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $69 (VoidType) \'\"\" $67))\n    (return (Just (AsStruct \'(\'\"column0\" (ToBytes (Unwrap (Apply $63 (Apply $68 $57) (Just (NamedApply $70 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'211585) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'0 $21 $23))))) $21))\n)\n" plan: "{\"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}]}}" }
2025-11-11T14:17:09.251134Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.251191Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { transient_issues { message: "Parse Sql" severity: 2 issues { position { row: 25 column: 41 } message: "Json UDF is deprecated. Please use JSON API instead" end_position { row: 25 column: 41 } issue_code: 4506 severity: 2 } } transient_issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 8 column: 108 } message: "Row dispatcher will use the predicate: (`event_class` = \"event_class2\")" end_position { row: 8 column: 108 } severity: 1 } } }
2025-11-11T14:17:09.251219Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { dq_graph: "\022\222\007\010\001\022\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\000\032\004\010\240\215\006*\234\004Z\231\004\n\010PqSource\022\212\004\n4type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSource\022\321\003\n\031test_filter_with_mr_input\022\024ptqudslmp68sbkerrd5b\032\017localhost:19692\"\025\n\023cluster:default_yds*\005local0\002@\001b\013event_classb\nevent_typeb\004timej\025[\"DataType\";\"String\"]j\025[\"DataType\";\"Uint64\"]j\025[\"DataType\";\"Uint64\"]r (`event_class` = \"event_class2\")x\001\222\001\024ptcudslmp6jia2titgk6\232\001\rjson_each_row\242\001z[\"StructType\";[[\"event_class\";[\"DataType\";\"String\"]];[\"event_type\";[\"DataType\";\"Uint64\"]];[\"time\";[\"DataType\";\"Uint64\"]]]]\262\001\002\022\000\272\001\026\n\010cloud_id\022\nmock_cloud\272\001 \n\005scope\022\027yandexcloud://my_folder\030\0012B\n>\010\001\020\240\234\001\030\001 \002*\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\001\000\000\0002\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\002\000\000\000X\253\212\r`\277\212\rR\000:\203\001\n*type.googleapis.com/Yql.DqsProto.TTaskMeta\022U\010\253\212\r\022A\022(8d73c3b672aec01e659c446142c7a17d47fb7b86\032\023dq_vanilla_job.lite \002\"\014\n\002pq\022\006\n\004\010\001\030\001H\253\212\rRClocal/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiterZ)mock_cloud/my_folder/ptqudslmp68sbkerrd5b`\200\200\200\200 \230\001\000\300\001\001\312\001\010/compute\022\372\003\010\002\022\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\000\032\004\010\240\215\006*B\n>\010\001\020\240\234\001\030\001 \002*\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\001\000\000\0002\024\n\022\t\000\000\000\000\000\000\000\000\021\000\000\000\000\002\000\000\000X\253\212\r`\277\212\rR\0002\223\001z\220\001\n\006PqSink\022\205\001\n2type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSink\022O\n\032test_filter_with_mr_output\022\017localhost:19692\032\025\n\023cluster:default_yds\"\005local0\0018\002:u\n*type.googleapis.com/Yql.DqsProto.TTaskMeta\022G\010\277\212\r\022A\022(8d73c3b672aec01e659c446142c7a17d47fb7b86\032\023dq_vanilla_job.lite \002H\277\212\rRClocal/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiterZ)mock_cloud/my_folder/ptqudslmp68sbkerrd5b`\200\200\200\200 \230\001\000\300\001\001\312\001\010/compute2pptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud:\027\n\016FallbackPolicy\022\005never:\024\n\017_LiteralTimeout\022\0010:\022\n\r_TableTimeout\022\0010:\027\n\022_RowsLimitPerWrite\022\0010:\027\n\022EnableComputeActor\022\0011:\016\n\014WorkerFilter:\031\n\020ComputeActorType\022\005async:\031\n\016WatermarksMode\022\007disable:\037\n\027WatermarksGranularityMs\022\0041000:$\n\034WatermarksLateArrivalDelayMs\022\0045000:\027\n\022EnableChannelStats\022\0011:\020\n\013ExportStats\022\0011B%\n\023cluster:default_yds\022\016{\"no_auth\":\"\"}b\262\003\010\253\212\r\022\253\003\037\n\006Arg\026event_class\024event_type\010time\014Member\005\205\006\213\002\204\205\006\203\005@\203\010?\002\006\n\016\205\000\204\205\006?\000?\002?\002\006\n\016\030Inputs(Parameters\034Program\013?\010)\251\000?\006\002\000\030\000)\251\000?\n\002\000$)\211\002?\016\215?\014 FromFlow\000)\211\n?\034\215\233\006?\000?\002?\002?\000?\002?\002?\014$NarrowMap\000)\211\n?\"?\"?\000?\002?\002\203\014(WideFilter\000)\211\n?\"\215?\004?\004?\000?\002?\002$ExpandMap\000)\211\002?*?\006\030ToFlow\000?\024\000\032)\251\000?\004\002\000\020)\211\004?\000?\004\203\004\022\000?4\003?6\000\002\026)\211\004?\002?\004\203\004\022\000?4\003?>\002\002\024)\211\004?\002?\004\203\004\022\000?4\003?F\004\002\022\000\034)\251\000?\000\002\000\010)\251\000?\002\002\000\016)\251\000?\002\002\000\014)\211\006?&\203\005@?\000\203\005@\030Invoke\000\003?\\\014Equals?R\003?^\030event_class2\005\n\000\036)\251\000?\000\002\000\006)\251\000?\002\002\000\004)\251\000?\002\002\000\002\005?\014?l?p?t\000\020 \000\"\001/b\225\022\010\277\212\r\022\216\022\037*\nFlags\010Name\010Args\016Payload\000\006Udf\014Apply2\024event_type\006Arg\014Unwrap\nIndex\024SourceType\026event_class\010time\026ToIndexDict\014Lookup\014Member\014Invoke\016Collect\014ToFlow\006Map\005\205\006\213\002\204\205\006\203\005@\203\010?\0022\0366\205\000\204\205\002\203\005@\034column0\030Inputs(Parameters\034Program\013?\010)\251\000?\006\"\000j\000)\251\000?\n\"\000z)\211\002?\020\215?\016 FromFlow\000)\211\006?\036\215\205\002\207?\002\036?$?\016R\000)\211(?&\215\205\006?\000?\002?\0022\0366?*\213\000\206\203\004\206\205\n\203\001H\203\010?\000?\002?\002<_yql_Classifier@_yql_MatchNumber2\0366\206?0\203\004\205\002\206\205\004\203\010\203\010\020From\010To\010M1\206?0?\"\213\002\213\002\213\014\203\005@\203\010\203\010\203\014\203\014\203\014\203\010\206?*\206\203\005@\207\203\014\203\014\203\002\203\005@\203\002\206\205\004\203\010\203\002*.HMatchRecognizeCore\000)\211\006?,\215\205\010\203\014?\000?\002?\002<_yql_OutOfOrder2\0366?~?*(OrderedMap\000)\211\006?\200?\200?~?|4OrderedFilter\000)\211\020?\200\215?\004?\004\207\203d\203\004\203\004\203f\203f\203\004@TimeOrderRecover\000)\211\002?\206?\006N\000?\026\000l)\251\000?\004\"\000d)\211\004?\212\203\005@?\002F\000\003?\240\024ToIntegral)\211\004?\002?\004\203\004B\000?\236\003?\246\004\002f\001h\003?\214\006\003?\216\000\003?\220&\003?\222(\003?\224\003\022z\370n)\251\000?~\"\000^)\211\002?|?|\014Not\000)\211\004?|?~\203\004B\000?\276\003?\302\000\002`\000b\000p)\251\000?~\"\000V\005?*)\211\004?\000?~\203\004B\000?\320\003?\322\002\002\\)\211\004?\002?~\203\004B\000?\320\003?\332\004\002Z)\211\004?\002?~\203\004B\000?\320\003?\342\006\002X\000\004r)\251\000?*\"\000T\013\213\000\006\000?2)\251\000?:\"\000$\006\004?<\003\203\004\000\003\203\004\002\003\003?>\006)\251\000?H\"\000@\006\002?J\003\203\004\000\001)\211\004?\"\207\205\002?\002\024Last0\203\004B\000)\211\002?)\002\206?%\002\020Head\000)\211\006?5\002\206?\002?\002?%\002R\000)\211\002?=\002\215?\002J\000)\211\014?E\002\215?@?@?\002?\002\203\014?\002$Condense1\000)\211\002?M\002\206?@N\000)\211\002?Y\002\206?@J\000)\211\006?a\002?F?D\206?@8OrderedFlatMap\000)\211\004?F?H\203\004B\000?\025\002\003?q\002\000\002B)\251\000?D\"\0006)\211\006?i\002?@\203\010\203\0064ListFromRange\000)\211\004?@?D\203\004B\000?\205\002\003?\225\002\000\002<)\211\006?\211\002\203\005@?B\203\010F\000\003?\245\002\006Add)\211\004?B?D\203\004B\000?\205\002\003?\265\002\002\0028\003?\251\002\002\005:\003?\215\002\004\004>\000D\000F\000H)\251\000?@\"\000\")\211\004?\002?8\203\004B\000)\211\n?8\207?8\203\005@\203\005@\203\004\203\004&\000)\211\004?\361\002\210\203\010?8?@>\000)\211\002?\r\003?::\000?\372\000&?\345\002\0000\003?\365\002\000\003?\371\002\000\003?\375\002 \003?\001\0032\0362\003?\351\002\006\0024)\251\000?\002\"\000.\003?Q\002\000)\211\004?\002?8\203\004B\000)\211\n?8\207?8\203\005@\203\005@\203\004\203\004&\000)\211\004?Q\003?\r\003?@>\000?\031\003?\345\002\000(\003?U\003\000\003?Y\003\000\003?]\003 \003?a\0032\036*\003?I\003\006\002,\020J\000L)\251\000?\002\"\000 \005?%\002?\231\003\000\004N\000P\003?-\002\000\002R\013?\\\013?Z\013?X\003?L\004M1\003?N\002\003?P\002\003?R\001\003?T\001\003?V\000?\001\001)\251\000?^\"\000\024)\251\000?`\"\000\026\006\002?d\003\203\005@\004M1\001)\211\006?h\203\005@\207?\000\203\005@F\000\003?\361\003\014Equals)\211\004?\365\003\207?*\203\004B\000)\211\004?\005\004\210\203\010?*?^>\000)\211\002?\025\004?`:\000?\341\003\000\030?\331\003\000\032\003?\t\004\000\002\034\003?\371\003\030event_class2\005\036\003?j\001\003?l\004\003?n\000\003?p\000\006\002?x\005\205\004\203\010\203\002*.\003?I\004\000\003?M\004\004\003\001l\245\017t)\251\000?$\"\000\006\005?\016)\211\002?\014\203\tH\034ToBytes\000)\211\n?q\004\207?q\004\203\005@\203\005@\203\004\203\004&\000)\211\016?y\004\311\n?y\004\214(Yson2.Node\207\2144Yson2.Options\207\203\014?\241\004?\241\004\005\205\004\206\205\004\203\010\203\005@\002\006\203\005@\n\016\006\n?\261\004\005\205\004\203\010\203\005@\002\006\003?\275\004\002\003?\301\004\000\003\005\205\004\203\010\203\005@\002\006\003?\325\004\000\003?\331\004\000\003\005\205\004\203\010\203\005@\002\006\003?\355\004\000\003?\361\004\032SkipMapEntity\003\005\205\004\203\010\203\005@\002\006\003?\005\005\000\003?\t\005\024EncodeUtf8\003\005\205\004\203\010\203\005@\002\006\003?\035\005\000\003?!\005 WriteNanAsString\003\037\003?\265\004\000\003\022\010\203\004\203\005@\203\004\203\004?\221\004\207?\225\004\032\000)\211\016?A\005\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?]\005&Yson2.SerializeJson\202\003?a\005\000\002\003?e\005\000\003?i\0052\003?m\005R\177\014\003?E\005\000\003?I\005\000\003?M\0052\003?Q\005R)\211\014?\221\004\211\002?\221\004\205\002\207\203\010\036\022\000\203\004\203\005@\203\004\203\004?$\032\000)\211\016?\251\005\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?\301\005\024Yson2.From\213\006\213\002?\245\005?\n\213\000\003?\305\005\000\002\003?\311\005\000\003?\315\0052\003?\321\005z\177\010\003?\255\005\000\003?\261\005\000\003?\265\0052\003?\271\005z?m\004\036\n\027?U\005)\211\016?\225\004\311\004?\225\004?\241\004?\241\004\005\205\004\206\205\004\203\010\203\005@\002\006\203\005@\n\016\006\004?\035\006\005\205\004\203\010\203\005@\002\006\003?)\006\000\003?-\006\026AutoConvert\003\005\205\004\203\010\203\005@\002\006\003?A\006\000\003?E\006\014Strict\003\003\003?!\006\000\003\022\004\203\004\203\005@\203\004\203\004\207?Q\002\207\203\014\032\000)\211\016?e\006\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?\211\006\032Yson2.Options\202\003?\215\006\000\002\003?\221\006\000\003?\225\0062\003?\231\006R\177\002\003?i\006\000\003?m\006\000\003?q\0062\003?u\006R7?y\006?E\0037?\201\006\003?}\006\001~\004^\016\003?}\004\000\003?\201\004\000\003?\205\0042\003?\211\0048\036\020\000\022\000\004v\000x\001/" }
2025-11-11T14:17:09.261825Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 256000000 } }
2025-11-11T14:17:09.261857Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.261893Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:17:09.271985Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 266000000 } }
2025-11-11T14:17:09.272016Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.272060Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 5
2025-11-11T14:17:09.284382Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 277000000 } }
2025-11-11T14:17:09.284419Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 1
2025-11-11T14:17:09.284498Z :STREAMS DEBUG: read_rule_creator.cpp:240: ptqudslmp68sbkerrd5b: Create read rule creation actor for `test_filter_with_mr_input` [0]
2025-11-11T14:17:09.284518Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { owner_id: "1fe45340-f7c4ef43-c3342146-1665fb72" query_id { value: "ptqudslmp68sbkerrd5b" } status: RUNNING resources { rate_limiter: READY compilation: READY topic_consumers_state: PREPARE rate_limiter_path: "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter" topic_consumers { database: "local" topic_path: "test_filter_with_mr_input" consumer_name: "ptqudslmp68sbkerrd5b" cluster_endpoint: "localhost:19692" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" }
2025-11-11T14:17:09.284525Z :STREAMS DEBUG: read_rule_creator.cpp:110: ptqudslmp68sbkerrd5b: Make request for read rule creation for topic `test_filter_with_mr_input` [0]
2025-11-11T14:17:09.284536Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.294554Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 289000000 } }
2025-11-11T14:17:09.294600Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:17:09.295286Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1405: QueryId: ptqudslmp68sbkerrd5b Read rules creation finished. Issues: 0
2025-11-11T14:17:09.295311Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:911: QueryId: ptqudslmp68sbkerrd5b Overall dq tasks: 2
2025-11-11T14:17:09.295378Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { owner_id: "1fe45340-f7c4ef43-c3342146-1665fb72" query_id { value: "ptqudslmp68sbkerrd5b" } status: RUNNING resources { rate_limiter: READY compilation: READY topic_consumers_state: READY rate_limiter_path: "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter" topic_consumers { database: "local" topic_path: "test_filter_with_mr_input" consumer_name: "ptqudslmp68sbkerrd5b" cluster_endpoint: "localhost:19692" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" }
2025-11-11T14:17:09.295393Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.295525Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1599: QueryId: ptqudslmp68sbkerrd5b ResultWriter was NOT CREATED since ResultType is empty
2025-11-11T14:17:09.295662Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.295 DEBUG ydbd(pid=979924, tid=0x00007FFB816A8640) [DQ] task_controller_impl.h:86: _RowsLimitPerWrite = 0
2025-11-11T14:17:09.295756Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1653: QueryId: ptqudslmp68sbkerrd5b Executer: [2:7571471701191920813:2147], Controller: [2:7571471701191920815:2149], ResultIdActor: [2:7571471701191920813:2147]
2025-11-11T14:17:09.295802Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.295 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] executer_actor.cpp:140: {ptqudslmp68sbkerrd5b} TDqExecuter::OnGraph
2025-11-11T14:17:09.295823Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.295 INFO  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] executer_actor.cpp:157: {ptqudslmp68sbkerrd5b} Trying to allocate 2 workers [EnableComputeActor=1]
2025-11-11T14:17:09.295984Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.295 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] executer_actor.cpp:247: {ptqudslmp68sbkerrd5b} Dq timeouts are set to: 0.000000s (global), 600.000000s (workers allocation fail), 30.000000s (workers allocation warn) 
2025-11-11T14:17:09.296716Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:125: TEvAllocateWorkersResponse Nodes {
  ResourceId: 4294967298
  Worker {
    NodeId: 2
    Guid: "2bce4727-41c22b91-a34b5bc-84e1ab2f,ghrun-vb3yoermsa"
  }
  Worker {
    NodeId: 1
    Guid: "56dd57ab-44500f75-c29b8e90-999861fa,ghrun-vb3yoermsa"
  }
}
2025-11-11T14:17:09.296762Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:141: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} TEvAllocateWorkersResponse 2
2025-11-11T14:17:09.296780Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:106: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} RequestActorIdsFromNodes 2
2025-11-11T14:17:09.296789Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:115: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} RequestActorIdsFromNodes 2 4294967298
2025-11-11T14:17:09.296801Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:119: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} RequestedNode: 2
2025-11-11T14:17:09.296822Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:119: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} RequestedNode: 1
2025-11-11T14:17:09.296841Z :YQL_PROXY WARN: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 WARN  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:259: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} Send TEvAllocateWorkersRequest to Id:2bce4727-41c22b91-a34b5bc-84e1ab2f,ghrun-vb3yoermsa,NodeId:2,
2025-11-11T14:17:09.296855Z :YQL_PROXY WARN: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.296 WARN  ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] resource_allocator.cpp:259: {ptqudslmp68sbkerrd5b/[2:7571471701191920816:2150]} Send TEvAllocateWorkersRequest to Id:56dd57ab-44500f75-c29b8e90-999861fa,ghrun-vb3yoermsa,NodeId:1,
2025-11-11T14:17:09.297099Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:134: SelfId: [2:7571471701191920820:2151], TxId: ptqudslmp68sbkerrd5b, task: 1. Ctx: {}. Start compute actor [2:7571471701191920820:2151], task: 1
2025-11-11T14:17:09.297119Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:113: SelfId: [2:7571471701191920820:2151], TxId: ptqudslmp68sbkerrd5b, task: 1. Ctx: {}. Use CPU quota: 1. Rate limiter resource: { "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter", "mock_cloud/my_folder/ptqudslmp68sbkerrd5b" }
2025-11-11T14:17:09.297164Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.297 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/1} Build task: 1
2025-11-11T14:17:09.297234Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.297 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/1} task: 1, program size: 57, llvm: ``.
2025-11-11T14:17:09.304450Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response success: { expired_at { seconds: 1762870649 nanos: 300000000 } }
2025-11-11T14:17:09.304495Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmp68sbkerrd5b Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:17:09.356087Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.356 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/1} Build task: 1 takes 58881 us
2025-11-11T14:17:09.356106Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.356 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/1} Prepare task: 1
2025-11-11T14:17:09.356131Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:09.356 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/1} Prepare task: 1, takes 19 us
2025-11-11T14:17:09.356814Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1370: SelfId: [2:7571471701191920820:2151], TxId: ptqudslmp68sbkerrd5b, task: 1. Ctx: {}. Create source for input 0 { Source { Type: "PqSource" Settings { type_url: "type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSource" value: "\n\031test_filter_with_mr_input\022\024ptqudslmp68sbkerrd5b\032\017localhost:19692\"\025\n\023cluster:default_yds*\005local0\002@\001b\013event_classb\nevent_typeb\004timej\025[\"DataType\";\"String\"]j\025[\"DataType\";\"Uint64\"]j\025[\"DataType\";\"Uint64\"]r (`event_class` = \"event_class2\")x\001\222\001\024ptcudslmp6jia2titgk6\232\001\rjson_each_row\242\001z[\"StructType\";[[\"event_class\";[\"DataType\";\"String\"]];[\"event_type\";[\"DataType\";\"Uint64\"]];[\"time\";[\"DataType\";\"Uint64\"]]]]\262\001\002\022\000\272\001\026\n\010cloud_id\022\nmock_cloud\272\001 \n\005scope\022\027yandexcloud://my_folder" } WatermarksMode: WATERMARKS_MODE_DISABLED } }
2025-11-11T14:17:09.356895Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:544: SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, task: 1. PQ source. Start read actor, local row dispatcher [0:5788050504107380562:5260383], metadatafields: , partitions: 0, skip json errors: 0
2025-11-11T14:17:09.356943Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:153: SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, task: 1. PQ source. SessionId: empty Watermarks enabled: 0 granularity: 0.000000s late arrival delay: 0.000000s idle: 0 idle delay: 0.000000s
2025-11-11T14:17:09.356989Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud 2025-11-11 14:17:09.356 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] task_controller_impl.h:160: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud} [2:7571471701191920815:2149] EvState TaskId: 1 State: 2 PingCookie: 0 StatusCode: UNSPECIFIED
2025-11-11T14:17:09.357000Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud 2025-11-11 14:17:09.356 TRACE ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] task_controller_impl.h:201: {ptqudslmp68sbkerrd5b#ptrudslmp60a8edkfgmd#yandexcloud://my_folder#1fe45340-f7c4ef43-c3342146-1665fb72#mock_cloud}  [2:7571471701191920815:2149] Executing TaskId: 1
2025-11-11T14:17:09.404014Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:17:09.818898Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.818 DEBUG ydbd(pid=979924, tid=0x00007FFB816A8640) [DQ] executer_actor.cpp:358: {ptqudslmp68sbkerrd5b} TDqExecuter::TEvAllocateWorkersResponse
2025-11-11T14:17:09.818923Z :YQL_PROXY ERROR: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.818 ERROR ydbd(pid=979924, tid=0x00007FFB816A8640) [DQ] executer_actor.cpp:370: {ptqudslmp68sbkerrd5b} Error on allocate workers Disconnected from worker: `Id:56dd57ab-44500f75-c29b8e90-999861fa,ghrun-vb3yoermsa,NodeId:1,', reason: Undelivered:UNAVAILABLE
2025-11-11T14:17:09.818944Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.818 DEBUG ydbd(pid=979924, tid=0x00007FFB816A8640) [DQ] executer_actor.cpp:284: {ptqudslmp68sbkerrd5b} Finish with status=5 issues=<main>: Error: Disconnected from worker: `Id:56dd57ab-44500f75-c29b8e90-999861fa,ghrun-vb3yoermsa,NodeId:1,', reason: Undelivered, code: 6001

2025-11-11T14:17:09.819003Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmp68sbkerrd5b 2025-11-11 14:17:09.818 DEBUG ydbd(pid=979924, tid=0x00007FFB816A8640) [DQ] executer_actor.cpp:341: {ptqudslmp68sbkerrd5b} OnQueryResponse status=5 issuses_size=1
2025-11-11T14:17:09.819030Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1234: QueryId: ptqudslmp68sbkerrd5b Query response UNAVAILABLE. Result set index: 0. Issues count: 1. Rows count: 0
2025-11-11T14:17:09.819120Z :FQ_RUN_ACTOR WARN: run_actor.cpp:1914: QueryId: ptqudslmp68sbkerrd5b ResignQuery, status UNAVAILABLE
2025-11-11T14:17:09.819129Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1919: QueryId: ptqudslmp68sbkerrd5b SendPingAndPassAway, FinalQueryStatus COMPUTE_STATUS_UNSPECIFIED
2025-11-11T14:17:09.819149Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:536: QueryId: ptqudslmp68sbkerrd5b PassAway
2025-11-11T14:17:09.819150Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:657: [ptqudslmp68sbkerrd5b-0.1] PassAway
2025-11-11T14:17:09.819204Z :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1215: SelfId: [2:7571471701191920820:2151], TxId: ptqudslmp68sbkerrd5b, task: 1. Ctx: {}. Handle abort execution event from: [2:7571471692601986023:2064], status: UNAVAILABLE, reason: { <main>: Error: Aborted by LWM }
2025-11-11T14:17:09.819328Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward ping request: { owner_id: "1fe45340-f7c4ef43-c3342146-1665fb72" query_id { value: "ptqudslmp68sbkerrd5b" } result_id { value: "ptrudslmp60a8edkfgmd" } status: RUNNING statistics: "{\"Graph=0\":{\"Actor\":{\"ActorCreateTimeUs\":{\"sum\":\"320us\",\"count\":1,\"avg\":\"320us\",\"max\":\"320us\",\"min\":\"320us\"},\"ClusterName=\":{\"CreateFailTimeUs\":{\"sum\":\"0.52s\",\"count\":1,\"avg\":\"0.52s\",\"max\":\"0.52s\",\"min\":\"0.52s\"}}},\"AllocateWorkersUs\":{\"sum\":\"0.52s\",\"count\":1,\"avg\":\"0.52s\",\"max\":\"0.52s\",\"min\":\"0.52s\"},\"Retry\":{\"sum\":5,\"count\":5,\"avg\":1,\"max\":1,\"min\":1},\"TaskRunner\":{\"Stage=Total\":{\"sum\":0,\"count\":0,\"avg\":0,\"max\":0,\"min\":0}}}}" resign_query: true transient_issues { message: "Disconnected from worker: `Id:56dd57ab-44500f75-c29b8e90-999861fa,ghrun-vb3yoermsa,NodeId:1,\', reason: Undelivered" issue_code: 6001 severity: 1 } status_code: UNAVAILABLE resources { rate_limiter: READY compilation: READY topic_consumers_state: READY rate_limiter_path: "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter" topic_consumers { database: "local" topic_path: "test_filter_with_mr_input" consumer_name: "ptqudslmp68sbkerrd5b" cluster_endpoint: "localhost:19692" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" }
2025-11-11T14:17:09.819339Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Forward request Private::PingTask
2025-11-11T14:17:09.819881Z :KQP_COMPUTE DEBUG: dq_compute_actor_channels.cpp:494: TxId: ptqudslmp68sbkerrd5b, task: 1. pass away
2025-11-11T14:17:09.819896Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:731: SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, task: 1. PQ source. PassAway
2025-11-11T14:17:09.819908Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1216: SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, task: 1. PQ source. SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, task: 1. PQ source. State: used buffer size 0 ready buffer event size 0 state 0 InFlyAsyncInputData 0
Counters: CoordinatorChanged 0 CoordinatorResult 0 MessageBatch 0 StartSessionAck 0 NewDataArrived 0 SessionError 0 Statistics 0 NodeDisconnected 0 NodeConnected 0 Undelivered 0 Retry 0 PrivateHeartbeat 0 SessionClosed 0 Pong 0 Heartbeat 0 PrintState 0 ProcessState 0 GetAsyncInputData 0 NotifyCA 0
2025-11-11T14:17:09.856625Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:09.856653Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:09.856652Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb74, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:09.859990Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:09.860003Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:09.883387Z :FQ_PINGER ERROR: pinger.cpp:365: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Ping response error: Query ownership time is over: expired_at=2025-11-11T14:17:09.825000Z < now=2025-11-11T14:17:09.883205Z. Retried 0 times during 0.064469s
2025-11-11T14:17:09.883419Z :FQ_PINGER DEBUG: pinger.cpp:379: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Query finished
2025-11-11T14:17:09.883423Z :FQ_PINGER TRACE: pinger.cpp:187: QueryId: ptqudslmp68sbkerrd5b, Owner: 1fe45340-f7c4ef43-c3342146-1665fb72 Stop Pinger
2025-11-11T14:17:10.567296Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:17:10.857092Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb75, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:10.860850Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:10.860864Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:11.815537Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:17:11.837866Z :INTERCONNECT WARN: interconnect_handshake.cpp:543: Handshake [2:7571471709781855444:2062] [node 1] ICH09 Neither CompatibilityInfo nor VersionTag of the peer can be validated, accepting by default
2025-11-11T14:17:11.857479Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:11.857500Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:11.857510Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb76, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:11.857735Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:11.861216Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:11.861231Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:12.855916Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:17:12.857978Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb77, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:12.861210Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:12.861224Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:12.863888Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 2 to DynamicNameserver
2025-11-11T14:17:12.899418Z :INTERCONNECT WARN: interconnect_handshake.cpp:543: Handshake [2:7571471714076822750:2064] [node 3] ICH09 Neither CompatibilityInfo nor VersionTag of the peer can be validated, accepting by default
2025-11-11T14:17:12.900760Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:134: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Start compute actor [2:7571471714076822756:2166], task: 2
2025-11-11T14:17:12.900807Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:113: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Use CPU quota: 1. Rate limiter resource: { "local/RateLimiter_e0887f85-b5ab-4d89-87c4-dfb6e4208ea2/rate_limiter", "mock_cloud/my_folder/ptqudslmp68sbkerrd5b" }
2025-11-11T14:17:12.900905Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:12.900 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/2} Build task: 2
2025-11-11T14:17:12.901138Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:12.901 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/2} task: 2, program size: 447, llvm: ``.
2025-11-11T14:17:13.070184Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:13.070 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/2} Build task: 2 takes 169233 us
2025-11-11T14:17:13.070211Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:13.070 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/2} Prepare task: 2
2025-11-11T14:17:13.070237Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:13.070 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] tasks_runner_local.cpp:267: {TODO/2} Prepare task: 2, takes 17 us
2025-11-11T14:17:13.070330Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:197: [] Task: 2. Got TEvNewCheckpointCoordinator event: generation 4, actorId: [3:7571471712063188384:2172]
2025-11-11T14:17:13.070338Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:208: [] Task: 2. Assign checkpoint coordinator (generation = 4)
2025-11-11T14:17:13.070380Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1457: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Create sink for output 0 { Sink { Type: "PqSink" Settings { type_url: "type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSink" value: "\n\032test_filter_with_mr_output\022\017localhost:19692\032\025\n\023cluster:default_yds\"\005local0\0018\002" } } }
2025-11-11T14:17:13.070989Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:395: [ptqudslmp68sbkerrd5b-0] Task: 2. Handle connected node 3
2025-11-11T14:17:13.071431Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1074: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Received channels info: Update { Id: 1 TransportVersion: DATA_TRANSPORT_UV_PICKLE_1_0 SrcTaskId: 1 DstTaskId: 2 SrcEndpoint { ActorId { RawX1: 7571471715443879854 RawX2: 4503603922339947 } } DstEndpoint { ActorId { RawX1: 7571471714076822756 RawX2: 4503608217307254 } } SrcStageId: 214315 DstStageId: 214335 }
2025-11-11T14:17:13.071442Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1081: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Update input channelId: 1, peer: [1:7571471715443879854:2155]
2025-11-11T14:17:13.071448Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1174: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Got TEvRun from actor [3:7571471712063188384:2172]
2025-11-11T14:17:13.071462Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:13.071464Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:13.071468Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:13.071568Z :KQP_COMPUTE TRACE: dq_compute_memory_quota.h:97: TxId: ptqudslmp68sbkerrd5b, task: 2. Peak memory usage: 131072
2025-11-11T14:17:13.071582Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:13.071603Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:13.071611Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:13.071616Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:13.071620Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1105: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Ask CPU quota: 169ms
2025-11-11T14:17:13.071652Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:13.071756Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:13.071763Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:13.071769Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:605: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, hasPeer: 1, finished: 0, retry: 0, lastSeqNo: 0, freeSpace: 1000000
2025-11-11T14:17:13.072287Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 1, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 1
2025-11-11T14:17:13.072294Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:13.072309Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.1] Got checkpoint barrier from channel 1
2025-11-11T14:17:13.072323Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:13.072327Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:13.072328Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:13.072331Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:13.072338Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 0 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:13.072342Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 1, finished: 0
2025-11-11T14:17:13.072355Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:13.072356Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:13.072357Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:13.073259Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.073252Z :INFO: [local] OnFederationDiscovery fall back to single mode, database=local
2025-11-11T14:17:13.073448Z :YDB_SDK INFO: actor.cpp:37: [] [] Start federated write session to database '' (previous was <empty>) FederationState: { Status: SUCCESS SelfLocation: "" DbInfos: [ { path: "local" endpoint: "localhost:19692" status: AVAILABLE weight: 100 } ] ControlPlaneEndpoint: localhost:19692 }
2025-11-11T14:17:13.073523Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.073511Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: try to update token
2025-11-11T14:17:13.073778Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.073775Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Start write session. Will connect to nodeId: 0
2025-11-11T14:17:13.073961Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.073949Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: write to message_group: 5b9b8ff8-b847f8a-c4917a45-e5707a13
2025-11-11T14:17:13.073987Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.073986Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: send init request: init_request { path: "test_filter_with_mr_output" producer_id: "5b9b8ff8-b847f8a-c4917a45-e5707a13" message_group_id: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:13.073994Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.073993Z :TRACE: [local] TRACE_EVENT InitRequest 
2025-11-11T14:17:13.074000Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1162: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. CPU quota delay: 2ms
2025-11-11T14:17:13.074077Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:13.074087Z :KQP_COMPUTE TRACE: dq_compute_memory_quota.h:97: TxId: ptqudslmp68sbkerrd5b, task: 2. Peak memory usage: 196608
2025-11-11T14:17:13.074093Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:13.074096Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.074094Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: OnWriteDone gRpcStatusCode: 0
2025-11-11T14:17:13.074116Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:13.074133Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.1] Performing task checkpoint
2025-11-11T14:17:13.074139Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:13.074141Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.1] CA state saved
2025-11-11T14:17:13.074144Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.1] Injecting checkpoint barrier to outputs
2025-11-11T14:17:13.074147Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:13.074151Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:13.074158Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:13.074160Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:13.074163Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.1] Send checkpoint state immediately
2025-11-11T14:17:13.074321Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 1 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:13.074330Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:13.074340Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.1] Task checkpoint is done. Send to storage
2025-11-11T14:17:13.074344Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:13.074346Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:13.074352Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [1], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:13.074357Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:13.074358Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:13.074360Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:13.074364Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:1] Got TEvSaveTaskState: task 2
2025-11-11T14:17:13.074379Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:13.074387Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:13.074388Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:13.074389Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:13.074393Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:13.074395Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:13.074396Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:13.074398Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [1], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:13.091099Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:1] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:13.091113Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:1] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:13.151133Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:13.538487Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.538476Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: OnReadDone gRpcStatusCode: 0
2025-11-11T14:17:13.538519Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.538516Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1762870633538 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:17:13.538549Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.538546Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId []  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session established. Init response: session_id: "5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0"
2025-11-11T14:17:13.538555Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.538553Z :TRACE: [local] TRACE_EVENT InitResponse  partition_id=0 session_id=5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0
2025-11-11T14:17:13.538560Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.538557Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  MessageGroupId [5b9b8ff8-b847f8a-c4917a45-e5707a13] Write session: set DirectWriteToPartitionId 0
2025-11-11T14:17:13.538650Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.538646Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-11-11T14:17:13.538669Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.538667Z :TRACE: [local] TRACE_EVENT DescribePartitionRequest  path=local/test_filter_with_mr_output partition_id=0
2025-11-11T14:17:13.538708Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.538699Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-11-11T14:17:13.539900Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.539892Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}

2025-11-11T14:17:13.539915Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.539913Z :TRACE: [local] TRACE_EVENT DescribePartitionResponse  partition_id=0 active=1 pl_node_id=1 pl_generation=1
2025-11-11T14:17:13.539924Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.539922Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-11-11T14:17:13.539930Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.539929Z :TRACE: [local] TRACE_EVENT PreferredPartitionLocation  Endpoint= NodeId=1 Generation=1
2025-11-11T14:17:13.539936Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.539933Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-11-11T14:17:13.540195Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.540188Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-11-11T14:17:13.540301Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.540299Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-11-11T14:17:13.540331Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.540329Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "test_filter_with_mr_output" producer_id: "5b9b8ff8-b847f8a-c4917a45-e5707a13" partition_with_generation { generation: 1 } }
2025-11-11T14:17:13.540339Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.540338Z :TRACE: [local] TRACE_EVENT InitRequest  pwg_partition_id=0 pwg_generation=1
2025-11-11T14:17:13.540424Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.540422Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-11-11T14:17:13.545505Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.545496Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-11-11T14:17:13.545556Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:13.545552Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|716c52a5-a6e03e51-bfd9f8d9-1ae7da56_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0"
2025-11-11T14:17:13.545562Z :YDB_SDK TRACE: actor.cpp:37: 2025-11-11T14:17:13.545559Z :TRACE: [local] TRACE_EVENT InitResponse  partition_id=0 session_id=5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0
2025-11-11T14:17:13.545566Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:13.545565Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-11-11T14:17:13.857443Z :FQ_QUOTA_SERVICE DEBUG: quota_manager.cpp:230: IC Peers[2]: [1, 3]
2025-11-11T14:17:13.858414Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:13.858435Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb78, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:13.858440Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:13.858981Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:13.862696Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:13.862711Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:14.000767Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 2, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 2
2025-11-11T14:17:14.000780Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:14.000792Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.2] Got checkpoint barrier from channel 1
2025-11-11T14:17:14.000809Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:14.000812Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.000813Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:14.000815Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:14.000822Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 1 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:14.000825Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 2, finished: 0
2025-11-11T14:17:14.000914Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:14.000923Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.000924Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:14.000924Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:14.000926Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.000949Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:14.000954Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.2] Performing task checkpoint
2025-11-11T14:17:14.000955Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:14.000957Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.2] CA state saved
2025-11-11T14:17:14.000958Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.2] Injecting checkpoint barrier to outputs
2025-11-11T14:17:14.000959Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.000962Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.000967Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:14.000970Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:14.000973Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.2] Send checkpoint state immediately
2025-11-11T14:17:14.001013Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 2 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:14.001020Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:14.001028Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.2] Task checkpoint is done. Send to storage
2025-11-11T14:17:14.001033Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:14.001036Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.001048Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:2] Got TEvSaveTaskState: task 2
2025-11-11T14:17:14.001054Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [2], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.001070Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.001075Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:14.001077Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:14.001079Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.001086Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:14.001087Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.001089Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.001093Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:14.001095Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:14.001096Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.001098Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [2], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.001112Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.001118Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:14.001119Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.001120Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.001124Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:14.001126Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:14.001127Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.001129Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [2], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.003948Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:2] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:14.003960Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:2] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:14.028823Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:14.858872Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb79, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:14.864012Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:14.864024Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:14.962239Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 3, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 3
2025-11-11T14:17:14.962256Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:14.962277Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.3] Got checkpoint barrier from channel 1
2025-11-11T14:17:14.962294Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:14.962301Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.962303Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:14.962305Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:14.962313Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 2 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:14.962317Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 3, finished: 0
2025-11-11T14:17:14.962417Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:14.962429Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.962431Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:14.962432Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:14.962435Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.962458Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:14.962461Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.3] Performing task checkpoint
2025-11-11T14:17:14.962462Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:14.962464Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.3] CA state saved
2025-11-11T14:17:14.962466Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.3] Injecting checkpoint barrier to outputs
2025-11-11T14:17:14.962468Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.962472Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.962479Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:14.962482Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:14.962486Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.3] Send checkpoint state immediately
2025-11-11T14:17:14.962515Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 3 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:14.962518Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:14.962530Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.3] Task checkpoint is done. Send to storage
2025-11-11T14:17:14.962537Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:14.962539Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.962544Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:3] Got TEvSaveTaskState: task 2
2025-11-11T14:17:14.962547Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [3], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.962567Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:14.962568Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:14.962569Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:14.962571Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.962578Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:14.962580Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.962581Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.962585Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:14.962588Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:14.962589Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.962606Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [3], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.962618Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:14.962623Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:14.962624Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:14.962625Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:14.962628Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:14.962629Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:14.962630Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:14.962633Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [3], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:14.965407Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:3] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:14.965437Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:3] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:14.986301Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:15.859295Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:15.859321Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:15.859321Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb710, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:15.859731Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:15.863452Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:15.863464Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:15.968484Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 4, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 4
2025-11-11T14:17:15.968500Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:15.968516Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.4] Got checkpoint barrier from channel 1
2025-11-11T14:17:15.968536Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:15.968541Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:15.968544Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:15.968546Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:15.968559Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 3 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:15.968564Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 4, finished: 0
2025-11-11T14:17:15.968660Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:15.968674Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:15.968675Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:15.968677Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:15.968680Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:15.968717Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:15.968720Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.4] Performing task checkpoint
2025-11-11T14:17:15.968722Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:15.968725Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.4] CA state saved
2025-11-11T14:17:15.968727Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.4] Injecting checkpoint barrier to outputs
2025-11-11T14:17:15.968729Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:15.968732Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:15.968740Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:15.968744Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:15.968749Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.4] Send checkpoint state immediately
2025-11-11T14:17:15.968781Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 4 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:15.968791Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:15.968807Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.4] Task checkpoint is done. Send to storage
2025-11-11T14:17:15.968818Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:15.968830Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:15.968842Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [4], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:15.968875Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:15.968882Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:15.968883Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:15.968886Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:15.968897Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:15.968899Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:15.968901Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:15.968906Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:15.968909Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:15.968910Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:15.968913Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [4], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:15.968930Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:15.968937Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:15.968939Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:15.968941Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:15.968944Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:15.968946Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:15.968947Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:15.968950Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [4], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:15.968957Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:4] Got TEvSaveTaskState: task 2
2025-11-11T14:17:15.971929Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:4] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:15.971941Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:4] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:15.999366Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:16.859769Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb711, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:16.863759Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:16.863771Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:16.961062Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 5, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 5
2025-11-11T14:17:16.961079Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:16.961094Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.5] Got checkpoint barrier from channel 1
2025-11-11T14:17:16.961116Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:16.961122Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:16.961124Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:16.961127Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:16.961136Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 4 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:16.961142Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 5, finished: 0
2025-11-11T14:17:16.961259Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:16.961284Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:16.961289Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:16.961290Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:16.961294Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:16.961327Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:16.961333Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.5] Performing task checkpoint
2025-11-11T14:17:16.961334Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:16.961336Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.5] CA state saved
2025-11-11T14:17:16.961337Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.5] Injecting checkpoint barrier to outputs
2025-11-11T14:17:16.961339Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:16.961342Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:16.961349Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:16.961351Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:16.961354Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.5] Send checkpoint state immediately
2025-11-11T14:17:16.961385Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 5 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:16.961391Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:16.961403Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.5] Task checkpoint is done. Send to storage
2025-11-11T14:17:16.961428Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:16.961430Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:16.961437Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:5] Got TEvSaveTaskState: task 2
2025-11-11T14:17:16.961439Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [5], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:16.961465Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:16.961470Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:16.961470Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:16.961472Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:16.961477Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:16.961478Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:16.961479Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:16.961482Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:16.961483Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:16.961484Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:16.961485Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [5], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:16.961494Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:16.961497Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:16.961498Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:16.961499Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:16.961500Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:16.961501Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:16.961502Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:16.961504Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [5], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:16.964216Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:5] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:16.964230Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:5] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:16.985010Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:17.856106Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:17:17.860191Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:17.860212Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:17.860236Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb712, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:17.860527Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:17.862891Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:17.862901Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:17.863668Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 2 to DynamicNameserver
2025-11-11T14:17:17.962627Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 6, size: 0, chunks: 0, watermark: 0, checkpoint: 1, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 6
2025-11-11T14:17:17.962639Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:17.962650Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:485: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.6] Got checkpoint barrier from channel 1
2025-11-11T14:17:17.962669Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:17.962672Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:17.962674Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:17.962675Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:17:17.962684Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 5 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:17.962687Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 6, finished: 0
2025-11-11T14:17:17.962781Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Pending 1 checkpoints to be sent
2025-11-11T14:17:17.962789Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:17.962790Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:17:17.962792Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:17.962796Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:17.962826Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:17:17.962832Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.6] Performing task checkpoint
2025-11-11T14:17:17.962833Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Save state
2025-11-11T14:17:17.962834Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.6] CA state saved
2025-11-11T14:17:17.962836Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.6] Injecting checkpoint barrier to outputs
2025-11-11T14:17:17.962837Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:17.962839Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:17.962844Z :KQP_COMPUTE INFO: dq_async_compute_actor.cpp:1008: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume inputs
2025-11-11T14:17:17.962846Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 1. Finished: 0
2025-11-11T14:17:17.962848Z :KQP_COMPUTE DEBUG: dq_pq_write_actor.cpp:233: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. [Checkpoint 4.6] Send checkpoint state immediately
2025-11-11T14:17:17.962875Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:411: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Save checkpoint { Id: 6 Generation: 4 Type: CHECKPOINT_TYPE_SNAPSHOT } state: { SourceId: "5b9b8ff8-b847f8a-c4917a45-e5707a13" }
2025-11-11T14:17:17.962877Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:524: [ptqudslmp68sbkerrd5b-0] Task: 2. Sink[0] state saved
2025-11-11T14:17:17.962887Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmp68sbkerrd5b-0] Task: 2. [Checkpoint 4.6] Task checkpoint is done. Send to storage
2025-11-11T14:17:17.962894Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 6 bytes of checkpoint barrier
2025-11-11T14:17:17.962895Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:17.962900Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [6], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:17.962913Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:17.962918Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:17.962919Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:17.962920Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:17.962925Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:17.962926Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:17.962927Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:17.962929Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:17.962931Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:17.962932Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:17.962933Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [6], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:17.962932Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmp68sbkerrd5b-0] [4:6] Got TEvSaveTaskState: task 2
2025-11-11T14:17:17.962940Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:17.962943Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:17.962944Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:17.962945Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:17.962947Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 0. Checkpoint: 0. Finished: 0
2025-11-11T14:17:17.962948Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 0 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:17.962949Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 0, sent data from buffer: 0
2025-11-11T14:17:17.962950Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:625: TxId: ptqudslmp68sbkerrd5b, task: 2. no poll, channelId: 1, has inflight messages: [6], last with freeSpace: 1000000, current freeSpace: 1000000
2025-11-11T14:17:17.965758Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmp68sbkerrd5b-0] [4:6] TEvSaveTaskState Apply: task: 2
2025-11-11T14:17:17.965776Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmp68sbkerrd5b-0] [4:6] Send TEvSaveTaskStateResult: task: 2
2025-11-11T14:17:17.986590Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Commit state
2025-11-11T14:17:18.118989Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:451: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Got TEvStateRequest from actor [3:7571471712063188385:2173] PingCookie: 2
2025-11-11T14:17:18.119017Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:18.484590Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:129: TxId: ptqudslmp68sbkerrd5b, task: 2. Received input for channelId: 1, seqNo: 7, size: 50, chunks: 3, watermark: 0, checkpoint: 0, finished: 0, from: [1:7571471715443879855:2155], expected seqNo: 7
2025-11-11T14:17:18.484610Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:609: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. took input
2025-11-11T14:17:18.484645Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:395: SelfId: [2:7571471714076822758:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. No watermark 
2025-11-11T14:17:18.484652Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:965: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Input data push finished. Cookie: 6 Watermark: (empty maybe) Ack: 1 TakeInputChannelDataRequests: 1
2025-11-11T14:17:18.484661Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 999950, seqNo: 7, finished: 0
2025-11-11T14:17:18.484680Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll inputs
2025-11-11T14:17:18.484689Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Poll sources
2025-11-11T14:17:18.484692Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. DoExecuteImpl: 0
2025-11-11T14:17:18.485075Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. update task runner stats
2025-11-11T14:17:18.485118Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:17:18.485126Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:17:18.485131Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:571: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. About to drain sink 0. FreeSpace: 16777216, allowedOvercommit: 500000, toSend: 17277216
2025-11-11T14:17:18.485147Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:188: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. SendData. Batch: 1. Checkpoint: 0. Finished: 0
2025-11-11T14:17:18.485156Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:214: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Received data for sending: {"event_type":2}
2025-11-11T14:17:18.485199Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.485178Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-11-11T14:17:18.485224Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.485221Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-11-11T14:17:18.485234Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.485232Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-11-11T14:17:18.485391Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1023: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Sink 0: sent 20 bytes of data and 0 bytes of checkpoint barrier
2025-11-11T14:17:18.485399Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1027: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Drain sink 0. Free space decreased: 16, sent data from buffer: 20
2025-11-11T14:17:18.485406Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:629: TxId: ptqudslmp68sbkerrd5b, task: 2. do poll, channelId: 1, last freeSpace: 999950, current freeSpace: 1000000, seqNo: 7
2025-11-11T14:17:18.485410Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:639: TxId: ptqudslmp68sbkerrd5b, task: 2. Poll input channelId: 1, from: [1:7571471715443879854:2155], seqNo: 7, freeSpace: 1000000
2025-11-11T14:17:18.485430Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:738: TxId: ptqudslmp68sbkerrd5b, task: 2. Sending channel data ack to channelId: 1, peer: [1:7571471715443879854:2155], from: [2:7571471714076822756:2166], freeSpace: 1000000, seqNo: 7, finished: 0
2025-11-11T14:17:18.490968Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.490955Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-11-11T14:17:18.491025Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.491022Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { nanos: 4000000 } max_queue_wait_time { nanos: 4000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-11-11T14:17:18.491040Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.491037Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-11-11T14:17:18.491045Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.491043Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-11-11T14:17:18.491144Z :KQP_COMPUTE TRACE: dq_pq_write_actor.cpp:447: SelfId: [2:7571471718371790062:2166], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. Ack seq no 1
2025-11-11T14:17:18.860652Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb713, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:18.864199Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:18.864211Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:17:18.918555Z :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1215: SelfId: [2:7571471714076822756:2166], TxId: ptqudslmp68sbkerrd5b, task: 2. Ctx: {}. Handle abort execution event from: [2:7571471692601986023:2064], status: UNAVAILABLE, reason: { <main>: Error: Aborted by LWM }
2025-11-11T14:17:18.918603Z :KQP_COMPUTE DEBUG: dq_compute_actor_channels.cpp:494: TxId: ptqudslmp68sbkerrd5b, task: 2. pass away
2025-11-11T14:17:18.920747Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:18.920740Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-11-11T14:17:18.920758Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:18.920756Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session will now close
2025-11-11T14:17:18.920776Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.920773Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-11-11T14:17:18.920809Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:17:18.920808Z :INFO: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-11-11T14:17:18.920820Z :YDB_SDK DEBUG: actor.cpp:37: 2025-11-11T14:17:18.920819Z :DEBUG: [local]  TraceId [SelfId: [0:0:0], TxId: ptqudslmp68sbkerrd5b, TaskId: 2, PQ sink. ]  SessionId [5b9b8ff8-b847f8a-c4917a45-e5707a13|42828eed-a45c2827-79a537f9-70df9aa3_0]  PartitionId [0]  Generation [1] Write session: destroy
2025-11-11T14:17:19.861124Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:19.861162Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:19.861174Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb714, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:19.861721Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:19.869229Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:19.869286Z :FQ_PENDING_FETCHER ERROR: pending_fetcher.cpp:259: Error with GetTask: <main>: Error: GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:10901: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:10901
2025-11-11T14:17:20.861562Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb715, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:20.871211Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:20.871235Z :FQ_PENDING_FETCHER ERROR: pending_fetcher.cpp:259: Error with GetTask: <main>: Error: GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:10901: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:10901
2025-11-11T14:17:21.861989Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471689674075877:2082]
2025-11-11T14:17:21.862020Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:17:21.862026Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 1fe45340-f7c4ef43-c3342146-1665fb716, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:17:21.862330Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:17:21.867131Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:17:21.867152Z :FQ_PENDING_FETCHER ERROR: pending_fetcher.cpp:259: Error with GetTask: <main>: Error: GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:10901: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:10901
2025-11-11T14:17:22.337498Z :INTERCONNECT_NETWORK NOTICE: interconnect_tcp_input_session.cpp:715: [2 <-> 1] connection closed by peer
2025-11-11T14:17:22.338187Z :INTERCONNECT_NETWORK NOTICE: interconnect_handshake.cpp:1581: [2 <-> 1] network-related error occured on handshake: outgoing handshake Peer# ghrun-vb3yoermsa(127.0.1.1:11776) Couldn't connect to any resolved address
2025-11-11T14:17:22.368263Z :INTERCONNECT_NETWORK NOTICE: interconnect_handshake.cpp:1581: [2 <-> 1] network-related error occured on handshake: outgoing handshake Peer# ghrun-vb3yoermsa(127.0.1.1:11776) Couldn't connect to any resolved address
2025-11-11T14:17:22.388264Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:22.388 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] local_worker_manager.cpp:257: Disconnected 3
2025-11-11T14:17:22.388295Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 1fe45340-f7c4ef43-c3342146-1665fb7 2025-11-11 14:17:22.388 DEBUG ydbd(pid=979924, tid=0x00007FFB806A6640) [DQ] local_worker_manager.cpp:228: Deallocate 3
2025-11-11T14:17:22.431411Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:386: TLeaderElection [2:7571471692601986063:2083] Semaphore successfully acquired
2025-11-11T14:17:22.431427Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:438: TLeaderElection [2:7571471692601986063:2083] Semaphore changed
2025-11-11T14:17:22.431431Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:304: TLeaderElection [2:7571471692601986063:2083] Try to acquire semaphore
2025-11-11T14:17:22.431486Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:420: TLeaderElection [2:7571471692601986063:2083] Describe semaphore
2025-11-11T14:17:22.433334Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:386: TLeaderElection [2:7571471692601986063:2083] Semaphore successfully acquired
2025-11-11T14:17:22.433435Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:469: TLeaderElection [2:7571471692601986063:2083] Semaphore successfully described: coordinator id [2:7571471692601986062:2082] generation 2
2025-11-11T14:17:22.433450Z :FQ_ROW_DISPATCHER INFO: leader_election.cpp:471: TLeaderElection [2:7571471692601986063:2083] Send TEvCoordinatorChanged to [2:7571471692601986022:2063], new coordinator id [2:7571471692601986062:2082], previous coordinator id [1:7571471689674075877:2082]
2025-11-11T14:17:22.433472Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:559: RowDispatcher: Coordinator changed, old leader [1:7571471689674075877:2082], new [2:7571471692601986062:2082] generation 2
2025-11-11T14:17:22.433487Z :FQ_ROW_DISPATCHER TRACE: coordinator.cpp:314: Coordinator: TEvPing received, [2:7571471692601986022:2063]
2025-11-11T14:17:22.433495Z :FQ_ROW_DISPATCHER TRACE: coordinator.cpp:317: Coordinator: Send TEvPong to [2:7571471692601986022:2063]
2025-11-11T14:17:22.433504Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:386: Coordinator: New leader [2:7571471692601986062:2082], SelfId [2:7571471692601986062:2082]
2025-11-11T14:17:22.433507Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
