2025-11-11T14:16:18.215104Z :GRPC_SERVER NOTICE: grpc_request_proxy.cpp:369: Grpc request proxy started, nodeid# 2, serve as static node
2025-11-11T14:16:18.215172Z :GRPC_SERVER NOTICE: grpc_request_proxy.cpp:369: Grpc request proxy started, nodeid# 2, serve as static node
2025-11-11T14:16:18.215185Z :GRPC_SERVER CRIT: grpc_request_proxy.cpp:429: Failed to deliver subscription request to config dispatcher
2025-11-11T14:16:18.215212Z :GRPC_SERVER CRIT: grpc_request_proxy.cpp:429: Failed to deliver subscription request to config dispatcher
2025-11-11T14:16:18.215254Z :FQ_LOG_UPDATER DEBUG: log.cpp:93: Updated YQL logs priority: 8
2025-11-11T14:16:18.215259Z :FQ_LOG_UPDATER CRIT: log.cpp:55: Failed to deliver subscription request to config dispatcher.
2025-11-11T14:16:18.215318Z :YQ_RATE_LIMITER INFO: quoter_service.cpp:124: Bootstraping with config: { Enabled: true DataPlaneEnabled: true Database { Endpoint: "localhost:11957" Database: "local" TablePrefix: "RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9" } Limiters { CoordinationNodePath: "rate_limiter" } }
2025-11-11T14:16:18.215715Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:188: Bootstrap
2025-11-11T14:16:18.215718Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:191: Create sdk ydb connection
2025-11-11T14:16:18.216024Z :STREAMS_STORAGE_SERVICE TRACE: storage_proxy.cpp:213: Initialize
2025-11-11T14:16:18.216168Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:534: RowDispatcher: Successfully bootstrapped row dispatcher, id [2:7571471480450958475:2063], tenant /compute
2025-11-11T14:16:18.216258Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:209: Successfully bootstrapped TStorageProxy [2:7571471480450958474:2062] with connection to localhost:11957:local
2025-11-11T14:16:18.231695Z :YQL_NODES_MANAGER INFO: nodes_manager.cpp:88: Bootstrap, InstanceId: 39d6451c-4c5f566a-4de861ac-7131a0d5
2025-11-11T14:16:18.231701Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:310: TNodesManagerActor::ResolveSelfAddress
2025-11-11T14:16:18.231740Z :YQ_TEST_CONNECTION DEBUG: test_connection.cpp:142: Starting yandex query test connection. Actor id: [2:7571471480450958480:2068]
2025-11-11T14:16:18.232290Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff1, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:18.232300Z :FQ_QUOTA_PROXY INFO: quota_proxy.cpp:90: STARTED
2025-11-11T14:16:18.232358Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:267: Coordinator: Successfully bootstrapped coordinator, id [2:7571471480450958515:2082], NodesManagerId [0:4705493345362661702:78]
2025-11-11T14:16:18.232373Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:232: TLeaderElection [2:7571471480450958516:2083] Successfully bootstrapped, local coordinator id [2:7571471480450958515:2082], tenant id compute, local mode 0, coordination node path local/row_dispatcher/compute, endpoint localhost:11957
2025-11-11T14:16:18.233428Z :MEMORY_PROFILER NOTICE: monitor.cpp:332: Bootstrapped
2025-11-11T14:16:18.234664Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:627: RowDispatcher: TEvCoordinatorChangesSubscribe from [2:7571471480450958515:2082]
2025-11-11T14:16:18.235109Z :FQ_QUOTA_SERVICE INFO: quota_manager.cpp:196: STARTED
2025-11-11T14:16:18.235669Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:16:18.236425Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471480450958505:2077][/Root] Set up state: owner# [2:7571471480450958454:2052], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:16:18.236461Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471480450958506:2078][/compute] Set up state: owner# [2:7571471480450958454:2052], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:16:18.236483Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471480450958507:2079][/Root] Set up state: owner# [2:7571471480450958455:2053], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:16:18.236505Z :SCHEME_BOARD_SUBSCRIBER NOTICE: subscriber.cpp:849: [main][2:7571471480450958508:2080][/compute] Set up state: owner# [2:7571471480450958455:2053], state# { Deleted: 1 Strong: 0 Version: <Invalid> DomainId: <Invalid> AbandonedSchemeShards: there are 0 elements }
2025-11-11T14:16:18.236514Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /Root Strong=0
2025-11-11T14:16:18.236521Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /compute Strong=0
2025-11-11T14:16:18.236523Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /Root Strong=0
2025-11-11T14:16:18.236524Z :GRPC_SERVER WARN: grpc_request_proxy.cpp:572: SchemeBoardDelete /compute Strong=0
2025-11-11T14:16:18.242407Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:71: Run create coordination node "local/row_dispatcher/compute" actor
2025-11-11T14:16:18.242420Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:113: Call create coordination node "local/row_dispatcher/compute"
2025-11-11T14:16:18.242423Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:411: Call create coordination node "local/row_dispatcher/compute"
2025-11-11T14:16:18.259942Z :FQ_ROW_DISPATCHER DEBUG: schema.cpp:155: Successfully created coordination node "local/row_dispatcher/compute"
2025-11-11T14:16:18.259961Z :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:16:18.259975Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:345: TLeaderElection [2:7571471480450958516:2083] Coordination node successfully created
2025-11-11T14:16:18.259978Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:323: TLeaderElection [2:7571471480450958516:2083] Start session
2025-11-11T14:16:18.261356Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:359: TLeaderElection [2:7571471480450958516:2083] Session successfully created
2025-11-11T14:16:18.263277Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:372: TLeaderElection [2:7571471480450958516:2083] Semaphore successfully created
2025-11-11T14:16:18.263290Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:304: TLeaderElection [2:7571471480450958516:2083] Try to acquire semaphore
2025-11-11T14:16:18.263363Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:420: TLeaderElection [2:7571471480450958516:2083] Describe semaphore
2025-11-11T14:16:18.264243Z :FQ_ROW_DISPATCHER DEBUG: leader_election.cpp:469: TLeaderElection [2:7571471480450958516:2083] Semaphore successfully described: coordinator id [1:7571471469808169584:2082] generation 4
2025-11-11T14:16:18.264643Z :FQ_ROW_DISPATCHER INFO: leader_election.cpp:471: TLeaderElection [2:7571471480450958516:2083] Send TEvCoordinatorChanged to [2:7571471480450958475:2063], new coordinator id [1:7571471469808169584:2082], previous coordinator id [0:0:0]
2025-11-11T14:16:18.264663Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:559: RowDispatcher: Coordinator changed, old leader (empty maybe), new [1:7571471469808169584:2082] generation 4
2025-11-11T14:16:18.264682Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:386: Coordinator: New leader [1:7571471469808169584:2082], SelfId [2:7571471480450958515:2082]
2025-11-11T14:16:18.264757Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:597: RowDispatcher: TEvUndelivered, from [1:7571471469808169584:2082], reason Disconnected
2025-11-11T14:16:18.268088Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:18.268100Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:18.272006Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 1 to DynamicNameserver
2025-11-11T14:16:18.277878Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:499: Checkpoint storage and state storage were successfully inited
2025-11-11T14:16:19.214094Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff2, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:19.214100Z :FQ_ROW_DISPATCHER DEBUG: coordinator.cpp:542: Coordinator: Send TEvGetNodesRequest to NodesManager
2025-11-11T14:16:19.214111Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:300: TNodesManagerActor::TEvGetNodesRequest
2025-11-11T14:16:19.214121Z :FQ_ROW_DISPATCHER INFO: coordinator.cpp:573: Coordinator: Updated node info, node count: 2
2025-11-11T14:16:19.214202Z :FQ_QUOTA_SERVICE DEBUG: quota_manager.cpp:230: IC Peers[1]: [1]
2025-11-11T14:16:19.219850Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:19.219861Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:20.213472Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:20.213512Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:20.214523Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff3, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:20.221025Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:20.221035Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:20.274126Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:16:20.714266Z :INTERCONNECT WARN: interconnect_handshake.cpp:543: Handshake [2:7571471489040893266:2058] [node 1] ICH09 Neither CompatibilityInfo nor VersionTag of the peer can be validated, accepting by default
2025-11-11T14:16:20.748019Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:16:21.215007Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:21.337576Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:21.337585Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 1
2025-11-11T14:16:21.337608Z :FQ_PENDING_FETCHER DEBUG: pending_fetcher.cpp:361: NewTask: Scope: yandexcloud://my_folder Id: ptqudslmqjs79hp24ued UserId: root@builtin AuthToken: **** (B6C6F477)
2025-11-11T14:16:21.337874Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff5, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:21.338031Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:375: QueryId: ptqudslmqjs79hp24ued Start run actor. Compute state: STARTING
2025-11-11T14:16:21.338033Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:469: QueryId: ptqudslmqjs79hp24ued FillConnections
2025-11-11T14:16:21.338112Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:2333: QueryId: ptqudslmqjs79hp24ued Run actors params: { QueryId: ptqudslmqjs79hp24ued CloudId: mock_cloud UserId: root@builtin Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 PreviousQueryRevision: 1 Connections: 1 Bindings: 0 AccountIdSignatures: 0 QueryType: STREAMING ExecuteMode: RUN ResultId: ptrudslmqjdoca4bdra0 StateLoadMode: EMPTY StreamingDisposition: { fresh { } } Status: STARTING DqGraphs: 0 DqGraphIndex: 0 Resource.TopicConsumers: 0 }
2025-11-11T14:16:21.338130Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:571: QueryId: ptqudslmqjs79hp24ued Start rate limiter resource creator
2025-11-11T14:16:21.338303Z :FQ_PINGER TRACE: pinger.cpp:171: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Start Pinger
2025-11-11T14:16:21.338340Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { started_at { seconds: 1762870581 nanos: 338000000 } }
2025-11-11T14:16:21.338344Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.338458Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { status: RUNNING resources { rate_limiter: PREPARE compilation: PREPARE } }
2025-11-11T14:16:21.349643Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:21.349660Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:21.397254Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1477: QueryId: ptqudslmqjs79hp24ued Rate limiter resource creation finished. Success: 1
2025-11-11T14:16:21.397284Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1966: QueryId: ptqudslmqjs79hp24ued Compiling query ...
2025-11-11T14:16:21.397332Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { status: RUNNING resources { rate_limiter: READY compilation: PREPARE rate_limiter_path: "local/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiter" } }
2025-11-11T14:16:21.462372Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.462 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_facade.cpp:899: Execution of [ParseSql] took 63.7ms
2025-11-11T14:16:21.463071Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.463 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_settings.cpp:87: Settings: clusterName = yds, clusterDbId = , cluster.GetEndpoint(): localhost:11957, HasEndpoint = TRUE
2025-11-11T14:16:21.464855Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.464 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_facade.cpp:940: Execution of [Compile] took 2.45ms
2025-11-11T14:16:21.465179Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.465 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_provider.cpp:109: OpenSession ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud
2025-11-11T14:16:21.465196Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.465 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_provider.cpp:112: OpenSession ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud complete in 0
2025-11-11T14:16:21.465507Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.465 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_optimize.cpp:671: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ExpandApply] took 108us
2025-11-11T14:16:21.465698Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.465 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_optimize.cpp:671: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ExpandApply] took 62us
2025-11-11T14:16:21.465905Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.465 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_optimize.cpp:671: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ExpandApply] took 92us
2025-11-11T14:16:21.466311Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.466 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core eval] yql_eval_expr.cpp:421: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} EvaluateExpression - start
2025-11-11T14:16:21.467096Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.467 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core eval] yql_eval_expr.cpp:1204: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} EvaluateExpression - finish
2025-11-11T14:16:21.467791Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.467 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_helpers.cpp:82: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Found cluster: yds
2025-11-11T14:16:21.467800Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.467 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_helpers.cpp:82: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Found cluster: yds
2025-11-11T14:16:21.467809Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.467 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_helpers.cpp:100: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Ids to resolve: 0
2025-11-11T14:16:21.468045Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.468 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_load_meta.cpp:35: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Load topic meta for: `yds`.`test_metadatafields_output`
2025-11-11T14:16:21.468057Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.468 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_load_meta.cpp:35: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Load topic meta for: `yds`.`test_metadatafields_input`
2025-11-11T14:16:21.470284Z :YDB_SDK INFO: actor.cpp:37: 2025-11-11T14:16:21.470265Z :INFO: [local] OnFederationDiscovery fall back to single mode, database=local
2025-11-11T14:16:21.472574Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.472 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_datasource.cpp:88: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} RewriteIO
2025-11-11T14:16:21.472617Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.472 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_datasource.cpp:88: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} RewriteIO
2025-11-11T14:16:21.472745Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.472 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_datasink.cpp:102: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Rewrite Write!
2025-11-11T14:16:21.518670Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.518 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_core.cpp:7958: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ResolveUdfs] took 44.7ms
2025-11-11T14:16:21.518881Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.518 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_core.cpp:7958: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ResolveUdfs] took 87us
2025-11-11T14:16:21.519093Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_core.cpp:7958: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ResolveUdfs] took 74us
2025-11-11T14:16:21.519259Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 46.4ms
2025-11-11T14:16:21.519280Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:16:21.519469Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 175us
2025-11-11T14:16:21.519610Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.519624Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.519774Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 140us
2025-11-11T14:16:21.519858Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.519870Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.519904Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:16:21.519982Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.519994Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.519 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.520013Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.520 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.520069Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.520 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 44us
2025-11-11T14:16:21.520290Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.520 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 206us
2025-11-11T14:16:21.521062Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 (StructType $15)))
(let $17 (DataType 'Timestamp))
(let $18 (DataType 'Uint64))
(let $19 (StructType '($9 $17) '($12 $7) '('"_yql_sys_offset" $18) '($11 $18) '('"_yql_sys_seq_no" $18) '($10 $17) $15))
(let $20 (Bool 'true))
(let $21 (SortTraits (ListType $19) $20 (lambda '($32) (SafeCast (Member $32 'time) (OptionalType $17)))))
(let $22 '('"A"))
(let $23 (lambda '($37) $37))
(let $24 (AggregationTraits $19 (lambda '($34) (Member $34 'time)) (lambda '($35 $36) (Member $35 'time)) $23 $23 (lambda '($38 $39) $38) $23 (Null)))
(let $25 (MatchRecognizeMeasuresCallables $19 $22 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($33) (Member $33 'Last0)) $22 '('('Last0 $24))))))
(let $26 (MatchRecognizeDefines $19 $22 $22 (lambda '($40 $41 $42) (> (Member (Lookup (ToIndexDict $40) $42) 'time) (Int32 '"4")))))
(let $27 (MatchRecognizeParams $25 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $26))
(let $28 (MatchRecognize (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $16 '('time) '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($31) '()) '() $21 $27))
(let $29 (StructType '('"b_key" (OptionalType $14))))
(let $30 (PqWriteTopic! $4 $5 $8 (SqlProject $28 '((SqlProjectItem (ListType $29) '"column0" (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 (TupleType (TupleType $29) (StructType) (TupleType)))
  (let $51 (CallableType '() '($44) '($29)))
  (let $52 '('('"strict")))
  (let $53 (Udf '"Yson2.From" (Void) $50 '"" $51 (VoidType) '"" $52))
  (let $54 (CallableType '('"2") '($46) '($47 '"AutoConvert") '($47 '"Strict")))
  (let $55 (Udf '"Yson2.Options" (Void) (VoidType) '"" $54 (VoidType) '"" $52))
  (return (ToBytes (Unwrap (Apply $49 (Apply $53 $43) (Just (NamedApply $55 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20)))))))))
))) '()))) 'append '()))
(return (Commit! $30 $5))
)

2025-11-11T14:16:21.521529Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:6780: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Expand SqlProject
2025-11-11T14:16:21.521772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.521881Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 94us
2025-11-11T14:16:21.521911Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 16us
2025-11-11T14:16:21.521990Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.522002Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.521 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.522055Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 44us
2025-11-11T14:16:21.522107Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 40us
2025-11-11T14:16:21.522253Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 132us
2025-11-11T14:16:21.522505Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 (StructType $15)))
(let $17 (DataType 'Timestamp))
(let $18 (DataType 'Uint64))
(let $19 (StructType '($9 $17) '($12 $7) '('"_yql_sys_offset" $18) '($11 $18) '('"_yql_sys_seq_no" $18) '($10 $17) $15))
(let $20 (Bool 'true))
(let $21 (SortTraits (ListType $19) $20 (lambda '($31) (SafeCast (Member $31 'time) (OptionalType $17)))))
(let $22 '('"A"))
(let $23 (lambda '($36) $36))
(let $24 (AggregationTraits $19 (lambda '($33) (Member $33 'time)) (lambda '($34 $35) (Member $34 'time)) $23 $23 (lambda '($37 $38) $37) $23 (Null)))
(let $25 (MatchRecognizeMeasuresCallables $19 $22 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($32) (Member $32 'Last0)) $22 '('('Last0 $24))))))
(let $26 (MatchRecognizeDefines $19 $22 $22 (lambda '($39 $40 $41) (> (Member (Lookup (ToIndexDict $39) $41) 'time) (Int32 '"4")))))
(let $27 (MatchRecognizeParams $25 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $26))
(let $28 (MatchRecognize (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $16 '('time) '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($30) '()) '() $21 $27))
(let $29 (PqWriteTopic! $4 $5 $8 (FlatMap $28 (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 '('"b_key" (OptionalType $14))))
  (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 (AsList (FlattenMembers '('"" (AsStruct '('"column0" (ToBytes (Unwrap (Apply $48 (Apply $53 $42) (Just (NamedApply $55 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))))
)))) 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.522593Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:896: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Enumerate struct literal for FlattenMembers
2025-11-11T14:16:21.522757Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.522817Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 50us
2025-11-11T14:16:21.522834Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 9us
2025-11-11T14:16:21.522906Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.522915Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.522947Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.522993Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.522 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 38us
2025-11-11T14:16:21.523118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 117us
2025-11-11T14:16:21.523346Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 (StructType $15)))
(let $17 (DataType 'Timestamp))
(let $18 (DataType 'Uint64))
(let $19 (StructType '($9 $17) '($12 $7) '('"_yql_sys_offset" $18) '($11 $18) '('"_yql_sys_seq_no" $18) '($10 $17) $15))
(let $20 (Bool 'true))
(let $21 (SortTraits (ListType $19) $20 (lambda '($31) (SafeCast (Member $31 'time) (OptionalType $17)))))
(let $22 '('"A"))
(let $23 (lambda '($36) $36))
(let $24 (AggregationTraits $19 (lambda '($33) (Member $33 'time)) (lambda '($34 $35) (Member $34 'time)) $23 $23 (lambda '($37 $38) $37) $23 (Null)))
(let $25 (MatchRecognizeMeasuresCallables $19 $22 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($32) (Member $32 'Last0)) $22 '('('Last0 $24))))))
(let $26 (MatchRecognizeDefines $19 $22 $22 (lambda '($39 $40 $41) (> (Member (Lookup (ToIndexDict $39) $41) 'time) (Int32 '"4")))))
(let $27 (MatchRecognizeParams $25 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $26))
(let $28 (MatchRecognize (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $16 '('time) '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($30) '()) '() $21 $27))
(let $29 (PqWriteTopic! $4 $5 $8 (FlatMap $28 (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 '('"b_key" (OptionalType $14))))
  (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 (AsList (AsStruct '('"column0" (ToBytes (Unwrap (Apply $48 (Apply $53 $42) (Just (NamedApply $55 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $20))))))))))))
)))) 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.523438Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:2137: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} FlatMap with single arg AsList
2025-11-11T14:16:21.523602Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.523656Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 45us
2025-11-11T14:16:21.523671Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 7us
2025-11-11T14:16:21.523748Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.523755Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.523784Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 22us
2025-11-11T14:16:21.523829Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 37us
2025-11-11T14:16:21.523951Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.523 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 114us
2025-11-11T14:16:21.524180Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.524 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 (StructType $15)))
(let $17 (DataType 'Timestamp))
(let $18 (DataType 'Uint64))
(let $19 (StructType '($9 $17) '($12 $7) '('"_yql_sys_offset" $18) '($11 $18) '('"_yql_sys_seq_no" $18) '($10 $17) $15))
(let $20 (Bool 'true))
(let $21 (SortTraits (ListType $19) $20 (lambda '($31) (SafeCast (Member $31 'time) (OptionalType $17)))))
(let $22 '('"A"))
(let $23 (lambda '($36) $36))
(let $24 (AggregationTraits $19 (lambda '($33) (Member $33 'time)) (lambda '($34 $35) (Member $34 'time)) $23 $23 (lambda '($37 $38) $37) $23 (Null)))
(let $25 (MatchRecognizeMeasuresCallables $19 $22 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($32) (Member $32 'Last0)) $22 '('('Last0 $24))))))
(let $26 (MatchRecognizeDefines $19 $22 $22 (lambda '($39 $40 $41) (> (Member (Lookup (ToIndexDict $39) $41) 'time) (Int32 '"4")))))
(let $27 (MatchRecognizeParams $25 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $26))
(let $28 (MatchRecognize (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $16 '('time) '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($30) '()) '() $21 $27))
(let $29 (PqWriteTopic! $4 $5 $8 (FlatMap $28 (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 '('"b_key" (OptionalType $14))))
  (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 $20))))))))))))
)))) 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.524869Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.524 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow2.cpp:2868: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} FieldSubset for SortTraits
2025-11-11T14:16:21.524906Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.524 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow2.cpp:2752: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} FieldSubset for AggregationTraits
2025-11-11T14:16:21.525124Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.525257Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 125us
2025-11-11T14:16:21.525303Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:16:21.525379Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.525387Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.525485Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 88us
2025-11-11T14:16:21.525541Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 47us
2025-11-11T14:16:21.525684Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 135us
2025-11-11T14:16:21.525931Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.525 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (StructType $15))
(let $17 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 $16))
(let $18 (Bool 'true))
(let $19 (DataType 'Timestamp))
(let $20 (SortTraits (ListType $16) $18 (lambda '($32) (SafeCast (Member $32 'time) (OptionalType $19)))))
(let $21 (DataType 'Uint64))
(let $22 (StructType '($9 $19) '($12 $7) '('"_yql_sys_offset" $21) '($11 $21) '('"_yql_sys_seq_no" $21) '($10 $19) $15))
(let $23 '('"A"))
(let $24 (lambda '($37) $37))
(let $25 (AggregationTraits $16 (lambda '($34) (Member $34 'time)) (lambda '($35 $36) (Member $35 'time)) $24 $24 (lambda '($38 $39) $38) $24 (Null)))
(let $26 (MatchRecognizeMeasuresCallables $22 $23 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($33) (Member $33 'Last0)) $23 '('('Last0 $25))))))
(let $27 (MatchRecognizeDefines $22 $23 $23 (lambda '($40 $41 $42) (> (Member (Lookup (ToIndexDict $40) $42) 'time) (Int32 '"4")))))
(let $28 (MatchRecognizeParams $26 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $27))
(let $29 (MatchRecognize (Right! (PqReadTopic! $4 (DataSource '"pq" '"yds") $17 '('time) '"json_each_row" '"" (Void) '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX")))) (lambda '($31) '()) '() $20 $28))
(let $30 (PqWriteTopic! $4 $5 $8 (FlatMap $29 (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 '('"b_key" (OptionalType $14))))
  (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! $30 $5))
)

2025-11-11T14:16:21.526815Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.526 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_recapture.cpp:110: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqsRecapture
2025-11-11T14:16:21.527020Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.527097Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 68us
2025-11-11T14:16:21.527153Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 47us
2025-11-11T14:16:21.527202Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 41us
2025-11-11T14:16:21.527362Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 152us
2025-11-11T14:16:21.527625Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.527 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_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 'Int32))
(let $15 '('time $14))
(let $16 (StructType $15))
(let $17 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $13 $16))
(let $18 '('"SharedReading" '"1"))
(let $19 '('('"Endpoint" '"localhost:11957") $18 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '"1")))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'Uint64))
(let $22 (StructType '($9 $20) '($12 $7) '('"_yql_sys_offset" $21) '($11 $21) '('"_yql_sys_seq_no" $21) '($10 $20) $15))
(let $23 (DqPqTopicSource $4 $17 '('time) $19 (SecureParam '"cluster:default_yds") '"" $22 '""))
(let $24 '($9 $10 $11 '"_yql_sys_offset" $12 '"_yql_sys_seq_no"))
(let $25 '('('"format" '"json_each_row") '('"metadataColumns" $24) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($18))))
(let $26 (DqSourceWrap $23 (DataSource '"pq" '"yds") $22 $25))
(let $27 (Bool 'true))
(let $28 (SortTraits (ListType $16) $27 (lambda '($38) (SafeCast (Member $38 'time) (OptionalType $20)))))
(let $29 '('"A"))
(let $30 (lambda '($43) $43))
(let $31 (AggregationTraits $16 (lambda '($40) (Member $40 'time)) (lambda '($41 $42) (Member $41 'time)) $30 $30 (lambda '($44 $45) $44) $30 (Null)))
(let $32 (MatchRecognizeMeasuresCallables $22 $29 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($39) (Member $39 'Last0)) $29 '('('Last0 $31))))))
(let $33 (MatchRecognizeDefines $22 $29 $29 (lambda '($46 $47 $48) (> (Member (Lookup (ToIndexDict $46) $48) 'time) (Int32 '"4")))))
(let $34 (MatchRecognizeParams $32 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $33))
(let $35 (MatchRecognize $26 (lambda '($37) '()) '() $28 $34))
(let $36 (PqWriteTopic! $4 $5 $8 (FlatMap $35 (lambda '($49) (block '(
  (let $50 (ResourceType '"Yson2.Node"))
  (let $51 '($50 '"" '"1"))
  (let $52 (ResourceType '"Yson2.Options"))
  (let $53 (OptionalType (DataType 'Bool)))
  (let $54 (CallableType '('"4") '((OptionalType (DataType 'Json))) $51 '((OptionalType $52)) '($53 '"SkipMapEntity") '($53 '"EncodeUtf8") '($53 '"WriteNanAsString")))
  (let $55 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $54 (VoidType) '"" '()))
  (let $56 (StructType '('"b_key" (OptionalType $14))))
  (let $57 (TupleType (TupleType $56) (StructType) (TupleType)))
  (let $58 (CallableType '() '($50) '($56)))
  (let $59 '('('"strict")))
  (let $60 (Udf '"Yson2.From" (Void) $57 '"" $58 (VoidType) '"" $59))
  (let $61 (CallableType '('"2") '($52) '($53 '"AutoConvert") '($53 '"Strict")))
  (let $62 (Udf '"Yson2.Options" (Void) (VoidType) '"" $61 (VoidType) '"" $59))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $55 (Apply $60 $49) (Just (NamedApply $62 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $27))))))))))))
)))) 'append '()))
(return (Commit! $36 $5))
)

2025-11-11T14:16:21.529546Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.529 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_optimize.cpp:131: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqsPhy-BuildStageWithSourceWrap
2025-11-11T14:16:21.529855Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.529 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.530009Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 143us
2025-11-11T14:16:21.530054Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:16:21.530154Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.530163Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.530196Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.530289Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.530307Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.530368Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:16:21.530431Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 53us
2025-11-11T14:16:21.530637Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 197us
2025-11-11T14:16:21.531066Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.530 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '"1"))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '"1")))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($36) (block '(
  (let $37 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $38 '('('"format" '"json_each_row") '('"metadataColumns" $37) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $39 (DqSourceWideWrap $36 $9 $23 $38))
  (return (NarrowMap $39 (lambda '($40 $41 $42 $43 $44 $45 $46) (AsStruct '($10 $40) '($13 $41) '('"_yql_sys_offset" $42) '($12 $43) '('"_yql_sys_seq_no" $44) '($11 $45) '('time $46)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (SortTraits (ListType $17) $26 (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21)))))
(let $28 '('"A"))
(let $29 (lambda '($53) $53))
(let $30 (AggregationTraits $17 (lambda '($50) (Member $50 'time)) (lambda '($51 $52) (Member $51 'time)) $29 $29 (lambda '($54 $55) $54) $29 (Null)))
(let $31 (MatchRecognizeMeasuresCallables $23 $28 '('"b_key") '((MatchRecognizeMeasuresCallable (lambda '($49) (Member $49 'Last0)) $28 '('('Last0 $30))))))
(let $32 (MatchRecognizeDefines $23 $28 $28 (lambda '($56 $57 $58) (> (Member (Lookup (ToIndexDict $56) $58) 'time) (Int32 '"4")))))
(let $33 (MatchRecognizeParams $31 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '"1" '"1" '"1" '"1" '"0"))) $32))
(let $34 (MatchRecognize (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($47) '()) '() $27 $33))
(let $35 (PqWriteTopic! $4 $5 $8 (FlatMap $34 (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 '('"b_key" (OptionalType $15))))
  (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 (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $65 (Apply $70 $59) (Just (NamedApply $72 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $35 $5))
)

2025-11-11T14:16:21.531908Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.531 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_match_recognize.cpp:184: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Expand MatchRecognize
2025-11-11T14:16:21.532010Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_match_recognize.cpp:36: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Expand MatchRecognizeMeasuresCallables
2025-11-11T14:16:21.532149Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_optimize.cpp:131: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqsLogical-ExpandMatchRecognize
2025-11-11T14:16:21.532382Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.532733Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 339us
2025-11-11T14:16:21.532757Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:16:21.532881Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.532890Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.532913Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.532 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:16:21.533025Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.533035Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.533092Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 42us
2025-11-11T14:16:21.533202Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.533212Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.533269Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 48us
2025-11-11T14:16:21.533376Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.533386Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.533492Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 94us
2025-11-11T14:16:21.533616Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.533626Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.533688Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:16:21.533770Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.533 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 72us
2025-11-11T14:16:21.534024Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.534 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 236us
2025-11-11T14:16:21.534399Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.534 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($47) (SafeCast (Member (CastStruct $47 $17) 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (FlattenMembers '('"" (Head (Aggregate (OrderedMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Unwrap (Lookup (ToIndexDict $51) $56)))) '() '('('Last0 $54)) '())))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $42 (lambda '($48) (Not (Member $48 '"_yql_OutOfOrder")))) (lambda '($49) (RemoveMember $49 '"_yql_OutOfOrder"))) (lambda '($50) '()) '() $46 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.534527Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.534 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:1355: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Expand CastStruct
2025-11-11T14:16:21.534568Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.534 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:917: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Enumerate struct object for RemoveMember
2025-11-11T14:16:21.534641Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.534 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4269: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Canonize OrderedMap
2025-11-11T14:16:21.535034Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.535326Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 276us
2025-11-11T14:16:21.535350Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.535473Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.535482Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:16:21.535517Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.535628Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.535637Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.535701Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 54us
2025-11-11T14:16:21.535810Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.535820Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.535903Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.535 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 73us
2025-11-11T14:16:21.536012Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 76us
2025-11-11T14:16:21.536259Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 232us
2025-11-11T14:16:21.536668Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($47) (SafeCast (Member (AsStruct '('time (Member $47 'time))) 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (FlattenMembers '('"" (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $42 (lambda '($48) (Not (Member $48 '"_yql_OutOfOrder")))) (lambda '($49) (AsStruct '($10 (Member $49 $10)) '($13 (Member $49 $13)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($12 (Member $49 $12)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($11 (Member $49 $11)) '('time (Member $49 'time))))) (lambda '($50) '()) '() $46 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.536816Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Member over AsStruct
2025-11-11T14:16:21.536912Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:913: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Enumerate optional struct for FlattenMembers
2025-11-11T14:16:21.536922Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.536 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:917: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Enumerate struct object for FlattenMembers
2025-11-11T14:16:21.537301Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.537571Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 252us
2025-11-11T14:16:21.537595Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.537729Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.537750Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.537786Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.537898Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.537907Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.537963Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.537 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 45us
2025-11-11T14:16:21.538070Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.538079Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.538140Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 52us
2025-11-11T14:16:21.538224Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 73us
2025-11-11T14:16:21.538462Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 225us
2025-11-11T14:16:21.538838Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (AsStruct '('Last0 (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())) 'Last0))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFilter $42 (lambda '($48) (Not (Member $48 '"_yql_OutOfOrder")))) (lambda '($49) (AsStruct '($10 (Member $49 $10)) '($13 (Member $49 $13)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($12 (Member $49 $12)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($11 (Member $49 $11)) '('time (Member $49 'time))))) (lambda '($50) '()) '() $46 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.538967Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.538 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4249: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Canonize OrderedFilter
2025-11-11T14:16:21.539046Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Member over AsStruct
2025-11-11T14:16:21.539389Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.539590Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 187us
2025-11-11T14:16:21.539612Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.539890Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.539900Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.539941Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.539 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.540052Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.540060Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.540102Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:16:21.540207Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.540215Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.540267Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 44us
2025-11-11T14:16:21.540343Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 67us
2025-11-11T14:16:21.540546Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 193us
2025-11-11T14:16:21.540933Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.540 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (return (ForwardList (MatchRecognizeCore (OrderedMap (OrderedFlatMap $42 (lambda '($48) (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $48))) (lambda '($49) (AsStruct '($10 (Member $49 $10)) '($13 (Member $49 $13)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($12 (Member $49 $12)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($11 (Member $49 $11)) '('time (Member $49 'time))))) (lambda '($50) '()) '() $46 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.541077Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.541 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4269: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Canonize OrderedMap
2025-11-11T14:16:21.544135Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.544330Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 168us
2025-11-11T14:16:21.544355Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:16:21.544491Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.544501Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.544539Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.544657Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.544667Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.544724Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 47us
2025-11-11T14:16:21.544809Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.544 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 75us
2025-11-11T14:16:21.545029Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.545 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 210us
2025-11-11T14:16:21.545449Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.545 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (return (ForwardList (MatchRecognizeCore (OrderedFlatMap (OrderedFlatMap $42 (lambda '($48) (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $48))) (lambda '($49) (Just (AsStruct '($10 (Member $49 $10)) '($13 (Member $49 $13)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($12 (Member $49 $12)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($11 (Member $49 $11)) '('time (Member $49 'time)))))) (lambda '($50) '()) '() $46 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.545645Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.545 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:2192: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} OrderedFlatMap to ExtractMembers
2025-11-11T14:16:21.545936Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.545 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.546042Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 95us
2025-11-11T14:16:21.546064Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.546172Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.546182Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.546231Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.546302Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:16:21.546502Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 187us
2025-11-11T14:16:21.546859Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.546 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '($10 $13 '"_yql_sys_offset" $12 '"_yql_sys_seq_no" $11 'time))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $23 $44 $44 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (return (ForwardList (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $42 (lambda '($49) (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $49))) $43) (lambda '($50) '()) '() $47 '('('"Streaming" '1)))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 (FlatMap $27 (lambda '($66) (block '(
  (let $67 (ResourceType '"Yson2.Node"))
  (let $68 '($67 '"" '1))
  (let $69 (ResourceType '"Yson2.Options"))
  (let $70 (OptionalType (DataType 'Bool)))
  (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
  (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
  (let $73 (StructType '('"b_key" (OptionalType $15))))
  (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
  (let $75 (CallableType '() '($67) '($73)))
  (let $76 '('('"strict")))
  (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
  (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
  (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
  (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
)))) 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.547466Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.547 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow1.cpp:470: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Fuse FlatMap over ShuffleByKeys
2025-11-11T14:16:21.547760Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.547 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.547879Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.547 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 105us
2025-11-11T14:16:21.547899Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.547 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:16:21.548006Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.547 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.548014Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.548 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.548062Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.548 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:16:21.548133Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.548 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 60us
2025-11-11T14:16:21.548327Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.548 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 183us
2025-11-11T14:16:21.548685Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.548 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '($10 $13 '"_yql_sys_offset" $12 '"_yql_sys_seq_no" $11 'time))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $17 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (Unwrap (Lookup (ToIndexDict $51) $56))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $23 $44 $44 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (return (FlatMap (ForwardList (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $42 (lambda '($49) (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $49))) $43) (lambda '($50) '()) '() $47 '('('"Streaming" '1)))) (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $15))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
  )))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 $27 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.549152Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.549 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow1.cpp:1334: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Swap FlatMap with ForwardList
2025-11-11T14:16:21.550935Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.550 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.551086Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 122us
2025-11-11T14:16:21.551115Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:16:21.551236Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.551250Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.551293Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 33us
2025-11-11T14:16:21.551373Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 65us
2025-11-11T14:16:21.551575Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 188us
2025-11-11T14:16:21.551966Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.551 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '($10 $13 '"_yql_sys_offset" $12 '"_yql_sys_seq_no" $11 'time))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $17 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (Unwrap (Lookup (ToIndexDict $52) $57))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $23 $44 $44 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (let $48 (MatchRecognizeCore (ExtractMembers (OrderedFlatMap $42 (lambda '($50) (OptionalIf (Not (Member $50 '"_yql_OutOfOrder")) $50))) $43) (lambda '($51) '()) '() $47 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $48 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $15))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
  ))))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 $27 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.552612Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.552 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_extr_members.cpp:303: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Apply ExtractMembers to OrderedFlatMap
2025-11-11T14:16:21.552734Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.552 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow2.cpp:2915: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} AggregateSubsetFieldsAnalyzer
2025-11-11T14:16:21.553125Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.553446Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 293us
2025-11-11T14:16:21.553469Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.553614Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.553624Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 2us
2025-11-11T14:16:21.553666Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:16:21.553777Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.553786Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.553851Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 55us
2025-11-11T14:16:21.553965Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.553975Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.553 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.554036Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.554 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 52us
2025-11-11T14:16:21.554119Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.554 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 72us
2025-11-11T14:16:21.554349Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.554 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 219us
2025-11-11T14:16:21.554757Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.554 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('time))
(let $20 '('"SharedReading" '1))
(let $21 '('('"Endpoint" '"localhost:11957") $20 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $22 (DataType 'Timestamp))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($10 $22) '($13 $7) '('"_yql_sys_offset" $23) '($12 $23) '('"_yql_sys_seq_no" $23) '($11 $22) $16))
(let $25 (DqPqTopicSource $4 $18 $19 $21 (SecureParam '"cluster:default_yds") '"" $24 '""))
(let $26 (DqStage '((DqSource $9 $25)) (lambda '($30) (block '(
  (let $31 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($20))))
  (let $33 (DqSourceWideWrap $30 $9 $24 $32))
  (return (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($10 $34) '($13 $35) '('"_yql_sys_offset" $36) '($12 $37) '('"_yql_sys_seq_no" $38) '($11 $39) '('time $40)))))
))) '('('"_logical_id" '209957))))
(let $27 (Bool 'true))
(let $28 (ShuffleByKeys (DqCnUnionAll (TDqOutput $26 '"0")) (lambda '($41) $27) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $22))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $24 $44 '('"b_key") (lambda '($53 $54) (block '(
    (let $55 (lambda '($62) $62))
    (let $56 (AggregationTraits $17 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) (Member $60 'time)) $55 $55 (lambda '($63 $64) $63) $55 (Null)))
    (return (Member (Head (Aggregate (ExtractMembers (OrderedFlatMap (OrderedFlatMap (Member $54 '"A") (lambda '($57) (ListFromRange (Member $57 '"From") (+ (Member $57 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($58) (Just (Unwrap (Lookup (ToIndexDict $53) $58))))) $19) '() '('('Last0 $56)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $24 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (let $48 (MatchRecognizeCore (OrderedFlatMap $43 (lambda '($50) (block '(
    (let $51 (AsStruct '($10 (Member $50 $10)) '($13 (Member $50 $13)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($12 (Member $50 $12)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($11 (Member $50 $11)) '('time (Member $50 'time))))
    (return (OptionalIf (Not (Member $50 '"_yql_OutOfOrder")) $51))
  )))) (lambda '($52) '()) '() $47 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $48 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $15))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $27))))))))))))
  ))))))
)))))
(let $29 (PqWriteTopic! $4 $5 $8 $28 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.555661Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.555 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_extr_members.cpp:303: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Apply ExtractMembers to OrderedFlatMap
2025-11-11T14:16:21.556082Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556311Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 213us
2025-11-11T14:16:21.556335Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.556457Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556466Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.556506Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.556618Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556625Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556658Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:16:21.556767Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556775Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.556837Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:16:21.556920Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.556 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 74us
2025-11-11T14:16:21.557140Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.557 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 205us
2025-11-11T14:16:21.557810Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.557 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('time))
(let $20 '('"SharedReading" '1))
(let $21 '('('"Endpoint" '"localhost:11957") $20 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $22 (DataType 'Timestamp))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($10 $22) '($13 $7) '('"_yql_sys_offset" $23) '($12 $23) '('"_yql_sys_seq_no" $23) '($11 $22) $16))
(let $25 (DqPqTopicSource $4 $18 $19 $21 (SecureParam '"cluster:default_yds") '"" $24 '""))
(let $26 (DqStage '((DqSource $9 $25)) (lambda '($30) (block '(
  (let $31 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($20))))
  (let $33 (DqSourceWideWrap $30 $9 $24 $32))
  (return (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($10 $34) '($13 $35) '('"_yql_sys_offset" $36) '($12 $37) '('"_yql_sys_seq_no" $38) '($11 $39) '('time $40)))))
))) '('('"_logical_id" '209957))))
(let $27 (Bool 'true))
(let $28 (ShuffleByKeys (DqCnUnionAll (TDqOutput $26 '"0")) (lambda '($41) $27) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $22))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $24 $44 '('"b_key") (lambda '($53 $54) (block '(
    (let $55 (lambda '($62) $62))
    (let $56 (AggregationTraits $17 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) (Member $60 'time)) $55 $55 (lambda '($63 $64) $63) $55 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $54 '"A") (lambda '($57) (ListFromRange (Member $57 '"From") (+ (Member $57 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($58) (ExtractMembers (Just (Unwrap (Lookup (ToIndexDict $53) $58))) $19))) '() '('('Last0 $56)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $24 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (let $48 (MatchRecognizeCore (OrderedFlatMap $43 (lambda '($50) (block '(
    (let $51 (AsStruct '($10 (Member $50 $10)) '($13 (Member $50 $13)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($12 (Member $50 $12)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($11 (Member $50 $11)) '('time (Member $50 'time))))
    (return (OptionalIf (Not (Member $50 '"_yql_OutOfOrder")) $51))
  )))) (lambda '($52) '()) '() $47 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $48 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $15))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $27))))))))))))
  ))))))
)))))
(let $29 (PqWriteTopic! $4 $5 $8 $28 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.557996Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.557 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4290: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Move ExtractMembers over Just
2025-11-11T14:16:21.558399Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.558633Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 213us
2025-11-11T14:16:21.558664Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.558795Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.558812Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.558853Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.558974Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.558995Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.558 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.559031Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.559144Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.559160Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.559221Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:16:21.559307Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 69us
2025-11-11T14:16:21.559517Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 195us
2025-11-11T14:16:21.559925Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.559 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('time))
(let $20 '('"SharedReading" '1))
(let $21 '('('"Endpoint" '"localhost:11957") $20 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $22 (DataType 'Timestamp))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($10 $22) '($13 $7) '('"_yql_sys_offset" $23) '($12 $23) '('"_yql_sys_seq_no" $23) '($11 $22) $16))
(let $25 (DqPqTopicSource $4 $18 $19 $21 (SecureParam '"cluster:default_yds") '"" $24 '""))
(let $26 (DqStage '((DqSource $9 $25)) (lambda '($30) (block '(
  (let $31 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($20))))
  (let $33 (DqSourceWideWrap $30 $9 $24 $32))
  (return (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($10 $34) '($13 $35) '('"_yql_sys_offset" $36) '($12 $37) '('"_yql_sys_seq_no" $38) '($11 $39) '('time $40)))))
))) '('('"_logical_id" '209957))))
(let $27 (Bool 'true))
(let $28 (ShuffleByKeys (DqCnUnionAll (TDqOutput $26 '"0")) (lambda '($41) $27) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $22))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $24 $44 '('"b_key") (lambda '($53 $54) (block '(
    (let $55 (lambda '($62) $62))
    (let $56 (AggregationTraits $17 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) (Member $60 'time)) $55 $55 (lambda '($63 $64) $63) $55 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $54 '"A") (lambda '($57) (ListFromRange (Member $57 '"From") (+ (Member $57 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($58) (Just (FilterMembers (Unwrap (Lookup (ToIndexDict $53) $58)) $19)))) '() '('('Last0 $56)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $24 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (let $48 (MatchRecognizeCore (OrderedFlatMap $43 (lambda '($50) (block '(
    (let $51 (AsStruct '($10 (Member $50 $10)) '($13 (Member $50 $13)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($12 (Member $50 $12)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($11 (Member $50 $11)) '('time (Member $50 'time))))
    (return (OptionalIf (Not (Member $50 '"_yql_OutOfOrder")) $51))
  )))) (lambda '($52) '()) '() $47 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $48 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $15))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $27))))))))))))
  ))))))
)))))
(let $29 (PqWriteTopic! $4 $5 $8 $28 'append '()))
(return (Commit! $29 $5))
)

2025-11-11T14:16:21.560101Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:917: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Enumerate struct object for FilterMembers
2025-11-11T14:16:21.560516Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.560752Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 214us
2025-11-11T14:16:21.560782Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.560918Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.560933Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.560975Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.560 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.561103Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.561118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.561156Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.561276Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.561291Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.561353Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:16:21.561464Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 94us
2025-11-11T14:16:21.561707Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.561 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 223us
2025-11-11T14:16:21.562130Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.562 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($29) (block '(
  (let $30 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $32 (DqSourceWideWrap $29 $9 $23 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($10 $33) '($13 $34) '('"_yql_sys_offset" $35) '($12 $36) '('"_yql_sys_seq_no" $37) '($11 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $26 (Bool 'true))
(let $27 (ShuffleByKeys (DqCnUnionAll (TDqOutput $25 '"0")) (lambda '($40) $26) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $17 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($10 (Member $49 $10)) '($13 (Member $49 $13)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($12 (Member $49 $12)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($11 (Member $49 $11)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (ForwardList (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $15))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just $26))))))))))))
  ))))))
)))))
(let $28 (PqWriteTopic! $4 $5 $8 $27 'append '()))
(return (Commit! $28 $5))
)

2025-11-11T14:16:21.564480Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.564 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_optimize.cpp:131: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqsPhy-BuildShuffleStage<false>
2025-11-11T14:16:21.564793Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.564 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.564970Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.564 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 155us
2025-11-11T14:16:21.565017Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.565156Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.565171Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.565225Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 44us
2025-11-11T14:16:21.565320Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 79us
2025-11-11T14:16:21.565579Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 238us
2025-11-11T14:16:21.565993Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.565 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($28) (block '(
  (let $29 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $30 '('('"format" '"json_each_row") '('"metadataColumns" $29) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $31 (DqSourceWideWrap $28 $9 $23 $30))
  (return (NarrowMap $31 (lambda '($32 $33 $34 $35 $36 $37 $38) (AsStruct '($10 $32) '($13 $33) '('"_yql_sys_offset" $34) '($12 $35) '('"_yql_sys_seq_no" $36) '($11 $37) '('time $38)))))
))) '('('"_logical_id" '209957))))
(let $26 (DqStage '((DqCnUnionAll (TDqOutput $25 '"0"))) (lambda '($39) (block '(
  (let $40 (TimeOrderRecover $39 (lambda '($46) (SafeCast (Member $46 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $41 '('"A"))
  (let $42 (MatchRecognizeMeasures $23 $41 '('"b_key") (lambda '($50 $51) (block '(
    (let $52 (lambda '($59) $59))
    (let $53 (AggregationTraits $17 (lambda '($56) (Member $56 'time)) (lambda '($57 $58) (Member $57 'time)) $52 $52 (lambda '($60 $61) $60) $52 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $51 '"A") (lambda '($54) (ListFromRange (Member $54 '"From") (+ (Member $54 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($55) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $50) $55)) 'time)))))) '() '('('Last0 $53)) '())) 'Last0))
  )))))
  (let $43 (MatchRecognizeDefines $23 $41 $41 (lambda '($62 $63 $64) (> (Member (Lookup (ToIndexDict $62) $64) 'time) (Int32 '"4")))))
  (let $44 (MatchRecognizeParams $42 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $43))
  (let $45 (MatchRecognizeCore (OrderedFlatMap $40 (lambda '($47) (block '(
    (let $48 (AsStruct '($10 (Member $47 $10)) '($13 (Member $47 $13)) '('"_yql_sys_offset" (Member $47 '"_yql_sys_offset")) '($12 (Member $47 $12)) '('"_yql_sys_seq_no" (Member $47 '"_yql_sys_seq_no")) '($11 (Member $47 $11)) '('time (Member $47 'time))))
    (return (OptionalIf (Not (Member $47 '"_yql_OutOfOrder")) $48))
  )))) (lambda '($49) '()) '() $44 '('('"Streaming" '1))))
  (return (Iterator (ForwardList (FlatMap $45 (lambda '($65) (block '(
    (let $66 (ResourceType '"Yson2.Node"))
    (let $67 '($66 '"" '1))
    (let $68 (ResourceType '"Yson2.Options"))
    (let $69 (OptionalType (DataType 'Bool)))
    (let $70 (CallableType '('"4") '((OptionalType (DataType 'Json))) $67 '((OptionalType $68)) '($69 '"SkipMapEntity") '($69 '"EncodeUtf8") '($69 '"WriteNanAsString")))
    (let $71 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $70 (VoidType) '"" '()))
    (let $72 (StructType '('"b_key" (OptionalType $15))))
    (let $73 (TupleType (TupleType $72) (StructType) (TupleType)))
    (let $74 (CallableType '() '($66) '($72)))
    (let $75 '('('"strict")))
    (let $76 (Udf '"Yson2.From" (Void) $73 '"" $74 (VoidType) '"" $75))
    (let $77 (CallableType '('"2") '($68) '($69 '"AutoConvert") '($69 '"Strict")))
    (let $78 (Udf '"Yson2.Options" (Void) (VoidType) '"" $77 (VoidType) '"" $75))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $71 (Apply $76 $65) (Just (NamedApply $78 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  )))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate"))))
(let $27 (PqWriteTopic! $4 $5 $8 (DqCnUnionAll (TDqOutput $26 '"0")) 'append '()))
(return (Commit! $27 $5))
)

2025-11-11T14:16:21.566167Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4728: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Iterator over ForwardList
2025-11-11T14:16:21.566526Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.566667Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 121us
2025-11-11T14:16:21.566701Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 14us
2025-11-11T14:16:21.566828Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.566845Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.566894Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 39us
2025-11-11T14:16:21.566984Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.566 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 72us
2025-11-11T14:16:21.567205Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.567 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 202us
2025-11-11T14:16:21.567633Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.567 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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_metadatafields_output" $6 '() (StructType '('"Data" $7))))
(let $9 (DataSource '"pq" '"yds"))
(let $10 '"_yql_sys_create_time")
(let $11 '"_yql_sys_tsp_write_time")
(let $12 '"_yql_sys_partition_id")
(let $13 '"_yql_sys_message_group_id")
(let $14 '('('"system" $10) '('"system" $11) '('"system" $12) '('"system" '"_yql_sys_offset") '('"system" $13) '('"system" '"_yql_sys_seq_no")))
(let $15 (DataType 'Int32))
(let $16 '('time $15))
(let $17 (StructType $16))
(let $18 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $14 $17))
(let $19 '('"SharedReading" '1))
(let $20 '('('"Endpoint" '"localhost:11957") $19 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($10 $21) '($13 $7) '('"_yql_sys_offset" $22) '($12 $22) '('"_yql_sys_seq_no" $22) '($11 $21) $16))
(let $24 (DqPqTopicSource $4 $18 '('time) $20 (SecureParam '"cluster:default_yds") '"" $23 '""))
(let $25 (DqStage '((DqSource $9 $24)) (lambda '($28) (block '(
  (let $29 '($10 $11 $12 '"_yql_sys_offset" $13 '"_yql_sys_seq_no"))
  (let $30 '('('"format" '"json_each_row") '('"metadataColumns" $29) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($19))))
  (let $31 (DqSourceWideWrap $28 $9 $23 $30))
  (return (NarrowMap $31 (lambda '($32 $33 $34 $35 $36 $37 $38) (AsStruct '($10 $32) '($13 $33) '('"_yql_sys_offset" $34) '($12 $35) '('"_yql_sys_seq_no" $36) '($11 $37) '('time $38)))))
))) '('('"_logical_id" '209957))))
(let $26 (DqStage '((DqCnUnionAll (TDqOutput $25 '"0"))) (lambda '($39) (block '(
  (let $40 (TimeOrderRecover $39 (lambda '($46) (SafeCast (Member $46 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $41 '('"A"))
  (let $42 (MatchRecognizeMeasures $23 $41 '('"b_key") (lambda '($50 $51) (block '(
    (let $52 (lambda '($59) $59))
    (let $53 (AggregationTraits $17 (lambda '($56) (Member $56 'time)) (lambda '($57 $58) (Member $57 'time)) $52 $52 (lambda '($60 $61) $60) $52 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $51 '"A") (lambda '($54) (ListFromRange (Member $54 '"From") (+ (Member $54 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($55) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $50) $55)) 'time)))))) '() '('('Last0 $53)) '())) 'Last0))
  )))))
  (let $43 (MatchRecognizeDefines $23 $41 $41 (lambda '($62 $63 $64) (> (Member (Lookup (ToIndexDict $62) $64) 'time) (Int32 '"4")))))
  (let $44 (MatchRecognizeParams $42 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $43))
  (let $45 (MatchRecognizeCore (OrderedFlatMap $40 (lambda '($47) (block '(
    (let $48 (AsStruct '($10 (Member $47 $10)) '($13 (Member $47 $13)) '('"_yql_sys_offset" (Member $47 '"_yql_sys_offset")) '($12 (Member $47 $12)) '('"_yql_sys_seq_no" (Member $47 '"_yql_sys_seq_no")) '($11 (Member $47 $11)) '('time (Member $47 'time))))
    (return (OptionalIf (Not (Member $47 '"_yql_OutOfOrder")) $48))
  )))) (lambda '($49) '()) '() $44 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $45 (lambda '($65) (block '(
    (let $66 (ResourceType '"Yson2.Node"))
    (let $67 '($66 '"" '1))
    (let $68 (ResourceType '"Yson2.Options"))
    (let $69 (OptionalType (DataType 'Bool)))
    (let $70 (CallableType '('"4") '((OptionalType (DataType 'Json))) $67 '((OptionalType $68)) '($69 '"SkipMapEntity") '($69 '"EncodeUtf8") '($69 '"WriteNanAsString")))
    (let $71 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $70 (VoidType) '"" '()))
    (let $72 (StructType '('"b_key" (OptionalType $15))))
    (let $73 (TupleType (TupleType $72) (StructType) (TupleType)))
    (let $74 (CallableType '() '($66) '($72)))
    (let $75 '('('"strict")))
    (let $76 (Udf '"Yson2.From" (Void) $73 '"" $74 (VoidType) '"" $75))
    (let $77 (CallableType '('"2") '($68) '($69 '"AutoConvert") '($69 '"Strict")))
    (let $78 (Udf '"Yson2.Options" (Void) (VoidType) '"" $77 (VoidType) '"" $75))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $71 (Apply $76 $65) (Just (NamedApply $78 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate"))))
(let $27 (PqWriteTopic! $4 $5 $8 (DqCnUnionAll (TDqOutput $26 '"0")) 'append '()))
(return (Commit! $27 $5))
)

2025-11-11T14:16:21.570326Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.570 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_physical_optimize.cpp:92: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Optimize PqWriteTopic `yds`.`test_metadatafields_output`
2025-11-11T14:16:21.570408Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.570 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_optimize.cpp:93: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} PhysicalOptimizer-PqWriteTopic
2025-11-11T14:16:21.570853Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.570 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.570940Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.570 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [TypeAnnotationTransformer::DoTransform] took 65us
2025-11-11T14:16:21.570997Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.570 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [ConstraintTransformer::DoTransform] took 41us
2025-11-11T14:16:21.571091Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.571 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [UpdateCompletness] took 79us
2025-11-11T14:16:21.571337Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.571 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Execution of [EliminateCommonSubExpressions] took 216us
2025-11-11T14:16:21.571768Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.571 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40)))))
))) '('('"_logical_id" '209957))))
(let $27 (DataSink '"pq" '"yds"))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (Commit! (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover $41 (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $14 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate")) '((DqSink '"0" $27 $29))))) $27))
)

2025-11-11T14:16:21.573609Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.573 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_phy_finalizing.cpp:488: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqReplicateStageMultiOutput: start traverse node #211124, Commit!
2025-11-11T14:16:21.573639Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.573 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_phy_finalizing.cpp:517: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} DqReplicateStageMultiOutput: test connection DqCnUnionAll (#211051)
2025-11-11T14:16:21.574827Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:61: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Begin, root #211124
2025-11-11T14:16:21.574851Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:74: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Collect unused nodes for root #211124, status: Ok
2025-11-11T14:16:21.574861Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {0}, callable #211124 <Commit!>
2025-11-11T14:16:21.574871Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {1}, callable #211123 <DqQuery!>
2025-11-11T14:16:21.574891Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {2}, callable #208975 <Configure!>
2025-11-11T14:16:21.574903Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {3}, callable #208970 <Configure!>
2025-11-11T14:16:21.574916Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {4}, callable #208965 <Configure!>
2025-11-11T14:16:21.574924Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {4}, callable #208965 <Configure!>
2025-11-11T14:16:21.574935Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:630: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208965<Configure!> finished execution
2025-11-11T14:16:21.574948Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:647: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208965<Configure!> created 0 trackable nodes: 
2025-11-11T14:16:21.574957Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {3}, callable #208970 <Configure!>
2025-11-11T14:16:21.574965Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:630: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208970<Configure!> finished execution
2025-11-11T14:16:21.574991Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.574 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:647: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208970<Configure!> created 0 trackable nodes: 
2025-11-11T14:16:21.575005Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {2}, callable #208975 <Configure!>
2025-11-11T14:16:21.575012Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:630: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208975<Configure!> finished execution
2025-11-11T14:16:21.575019Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:647: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #208975<Configure!> created 0 trackable nodes: 
2025-11-11T14:16:21.575027Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {1}, callable #211123 <DqQuery!>
2025-11-11T14:16:21.575035Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:630: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #211123<DqQuery!> finished execution
2025-11-11T14:16:21.575047Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:647: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Node #211123<DqQuery!> created 0 trackable nodes: 
2025-11-11T14:16:21.575055Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:411: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} {0}, callable #211124 <Commit!>
2025-11-11T14:16:21.575071Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_datasink_execution.cpp:39: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124} Delegate execution of DqQuery! to dq provider
2025-11-11T14:16:21.575108Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:1304: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Executing Pull (UniqueId=211136)
2025-11-11T14:16:21.575521Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:1305: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqStage '((DqSource $5 $25)) (lambda '($31) (block '(
  (let $32 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $33 '('('"format" '"json_each_row") '('"metadataColumns" $32) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $34 (DqSourceWideWrap $31 $5 $24 $33))
  (return (NarrowMap $34 (lambda '($35 $36 $37 $38 $39 $40 $41) (AsStruct '($7 $35) '($10 $36) '('"_yql_sys_offset" $37) '($9 $38) '('"_yql_sys_seq_no" $39) '($8 $40) '('time $41)))))
))) '('('"_logical_id" '209957))))
(let $27 (DataSink '"pq" '"yds"))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(let $30 (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover $42 (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (MatchRecognizeMeasures $24 $44 '('"b_key") (lambda '($53 $54) (block '(
    (let $55 (lambda '($62) $62))
    (let $56 (AggregationTraits $14 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) (Member $60 'time)) $55 $55 (lambda '($63 $64) $63) $55 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $54 '"A") (lambda '($57) (ListFromRange (Member $57 '"From") (+ (Member $57 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($58) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $53) $58)) 'time)))))) '() '('('Last0 $56)) '())) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $24 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $46))
  (let $48 (MatchRecognizeCore (OrderedFlatMap $43 (lambda '($50) (block '(
    (let $51 (AsStruct '($7 (Member $50 $7)) '($10 (Member $50 $10)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($9 (Member $50 $9)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($8 (Member $50 $8)) '('time (Member $50 'time))))
    (return (OptionalIf (Not (Member $50 '"_yql_OutOfOrder")) $51))
  )))) (lambda '($52) '()) '() $47 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $48 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate")) '((DqSink '"0" $27 $29))))))
(return (Pull $30 '"" '"0" '"0" '() '"0" '"id" '"1" (Commit! $30 $27)))
)

2025-11-11T14:16:21.575881Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 18us
2025-11-11T14:16:21.575915Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:16:21.576006Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.575 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 77us
2025-11-11T14:16:21.576222Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.576 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 200us
2025-11-11T14:16:21.576621Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.576 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqStage '((DqSource $5 $25)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $32 (DqSourceWideWrap $29 $5 $24 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $28 (DqPqTopicSink $27 '($16 $18) $20))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover $40 (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $24 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $14 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $24 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.577042Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.577 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_phy_finalizing.cpp:488: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} DqReplicateStageMultiOutput: start traverse node #211137, DqQuery!
2025-11-11T14:16:21.577074Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.577 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_phy_finalizing.cpp:517: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} DqReplicateStageMultiOutput: test connection DqCnUnionAll (#211051)
2025-11-11T14:16:21.577615Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.577 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:235: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} [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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqStage '((DqSource $5 $25)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $32 (DqSourceWideWrap $29 $5 $24 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $28 (DqPqTopicSink $27 '($16 $18) $20))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover $40 (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $24 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $14 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $24 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.578091Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.577 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:325: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} [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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqStage '((DqSource $5 $25)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $32 (DqSourceWideWrap $29 $5 $24 $31))
  (return (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39)))))
))) '('('"_logical_id" '209957))))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $28 (DqPqTopicSink $27 '($16 $18) $20))
(return (DqQuery! $4 '((DqStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover $40 (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $24 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (lambda '($60) $60))
    (let $54 (AggregationTraits $14 (lambda '($57) (Member $57 'time)) (lambda '($58 $59) (Member $58 'time)) $53 $53 (lambda '($61 $62) $61) $53 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) '() '('('Last0 $54)) '())) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $24 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) '('('"_logical_id" '211062) '('"_partition_mode" '"aggregate")) '((DqSink '"0" (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.578221Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:363: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136}  [DQ/Build/TransformPhysical] replace stage #211121 -> #211157
2025-11-11T14:16:21.578279Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:363: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136}  [DQ/Build/TransformPhysical] replace stage #209962 -> #211172
2025-11-11T14:16:21.578677Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 205us
2025-11-11T14:16:21.578724Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.578739Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.578786Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:16:21.578801Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.578849Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.578940Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.578 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 76us
2025-11-11T14:16:21.579179Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.579 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 212us
2025-11-11T14:16:21.579612Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.579 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqPhyStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $14 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $27 '((DqSink '"0" (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.580359Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.579 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:235: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} [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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqPhyStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $14 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $27 '((DqSink '"0" (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.580818Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.580 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] dq_opt_build.cpp:325: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} [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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqPhyStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $14 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1)))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $27 '((DqSink '"0" (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.583185Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:2287: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} OrderedFlatMap closure on upper lambda over list
2025-11-11T14:16:21.583693Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 287us
2025-11-11T14:16:21.583729Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:16:21.583745Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.583792Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:16:21.583807Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.583840Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:16:21.583856Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.583926Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.583 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 60us
2025-11-11T14:16:21.584027Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.584 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 85us
2025-11-11T14:16:21.584266Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.584 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 218us
2025-11-11T14:16:21.584720Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.584 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqPhyStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '"0"))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (lambda '($61) $61))
    (let $55 (AggregationTraits $14 (lambda '($58) (Member $58 'time)) (lambda '($59 $60) (Member $59 'time)) $54 $54 (lambda '($62 $63) $62) $54 (Null)))
    (return (Member (Head (Aggregate (OrderedFlatMap (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) '() '('('Last0 $55)) '())) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '"0"))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $27 '((DqSink '"0" (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.586459Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.586 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_aggregate_expander.cpp:14: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand Aggregate
2025-11-11T14:16:21.587166Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 377us
2025-11-11T14:16:21.587204Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:16:21.587215Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.587256Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.587269Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587316Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:16:21.587330Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587378Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 39us
2025-11-11T14:16:21.587395Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.587445Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587488Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.587503Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.587552Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:16:21.587567Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587609Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 33us
2025-11-11T14:16:21.587622Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587660Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.587673Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.587743Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 61us
2025-11-11T14:16:21.587849Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.587 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 90us
2025-11-11T14:16:21.588107Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.588 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 240us
2025-11-11T14:16:21.588553Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.588 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (StructType $13))
(let $15 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 $14))
(let $16 '('"Endpoint" '"localhost:11957"))
(let $17 '('"SharedReading" '1))
(let $18 '('"AddBearerToToken" '1))
(let $19 '($16 $17 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $18))
(let $20 (SecureParam '"cluster:default_yds"))
(let $21 (DataType 'Timestamp))
(let $22 (DataType 'String))
(let $23 (DataType 'Uint64))
(let $24 (StructType '($7 $21) '($10 $22) '('"_yql_sys_offset" $23) '($9 $23) '('"_yql_sys_seq_no" $23) '($8 $21) $13))
(let $25 (DqPqTopicSource $4 $15 '('time) $19 $20 '"" $24 '""))
(let $26 (DqPhyStage '((DqSource $5 $25)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($17))))
  (let $33 (DqSourceWideWrap $30 $5 $24 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $22))))
(let $29 (DqPqTopicSink $28 '($16 $18) $20))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '0))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $21))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (MatchRecognizeMeasures $24 $43 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (Uint32 '0))
    (let $55 (lambda '($58) $54))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) 'time)))))) $55 (Void) (Void) (lambda '($59) (block '(
      (let $60 (Condense1 $59 (lambda '($61) (AsStruct '('_yql_agg_0 (Member (CastStruct $61 $14) 'time)))) (lambda '($62 $63) (IsKeySwitch $62 $63 $55 (lambda '($64) $54))) (lambda '($65 $66) (AsStruct '('_yql_agg_0 (Member (CastStruct $65 $14) 'time))))))
      (return (Map $60 (lambda '($67) (AsStruct '('Last0 (Member $67 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda '($68 $69 $70) (> (Member (Lookup (ToIndexDict $68) $70) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($71) (block '(
    (let $72 (ResourceType '"Yson2.Node"))
    (let $73 '($72 '"" '1))
    (let $74 (ResourceType '"Yson2.Options"))
    (let $75 (OptionalType (DataType 'Bool)))
    (let $76 (CallableType '('"4") '((OptionalType (DataType 'Json))) $73 '((OptionalType $74)) '($75 '"SkipMapEntity") '($75 '"EncodeUtf8") '($75 '"WriteNanAsString")))
    (let $77 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $76 (VoidType) '"" '()))
    (let $78 (StructType '('"b_key" (OptionalType $12))))
    (let $79 (TupleType (TupleType $78) (StructType) (TupleType)))
    (let $80 (CallableType '() '($72) '($78)))
    (let $81 '('('"strict")))
    (let $82 (Udf '"Yson2.From" (Void) $79 '"" $80 (VoidType) '"" $81))
    (let $83 (CallableType '('"2") '($74) '($75 '"AutoConvert") '($75 '"Strict")))
    (let $84 (Udf '"Yson2.Options" (Void) (VoidType) '"" $83 (VoidType) '"" $81))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $77 (Apply $82 $71) (Just (NamedApply $84 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $27 '((DqSink '0 (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.589278Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.589 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:1355: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand CastStruct
2025-11-11T14:16:21.589325Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.589 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_opt_utils.cpp:1355: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand CastStruct
2025-11-11T14:16:21.589952Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.589 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 344us
2025-11-11T14:16:21.589987Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.589 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.590003Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.589 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.590049Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.590068Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.590103Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.590118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.590168Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 40us
2025-11-11T14:16:21.590183Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.590219Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.590234Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.590274Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.590290Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.590378Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 73us
2025-11-11T14:16:21.590496Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 100us
2025-11-11T14:16:21.590497Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 464000000 } }
2025-11-11T14:16:21.590514Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.590532Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 2
2025-11-11T14:16:21.590758Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.590 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 241us
2025-11-11T14:16:21.591246Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.591 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member (AsStruct '('time (Member $60 'time))) 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member (AsStruct '('time (Member $64 'time))) 'time))))))
      (return (Map $59 (lambda '($66) (AsStruct '('Last0 (Member $66 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.591963Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.591 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:1194: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} CheckClonedStructure
2025-11-11T14:16:21.592004Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.591 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:1194: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} CheckClonedStructure
2025-11-11T14:16:21.592570Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 333us
2025-11-11T14:16:21.592602Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.592612Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.592657Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.592670Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.592706Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.592719Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.592771Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.592790Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.592824Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.592834Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.592870Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.592879Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.592953Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.592 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 65us
2025-11-11T14:16:21.593059Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.593 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 90us
2025-11-11T14:16:21.593308Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.593 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 234us
2025-11-11T14:16:21.593799Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.593 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member $60 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member $64 'time))))))
      (return (Map $59 (lambda '($66) (AsStruct '('Last0 (Member $66 '_yql_agg_0))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.594550Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.594 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4259: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Canonize Map
2025-11-11T14:16:21.595103Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 302us
2025-11-11T14:16:21.595138Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.595154Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.595193Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:16:21.595208Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.595243Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.595258Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.595312Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.595328Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.595364Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.595377Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.595451Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 59us
2025-11-11T14:16:21.595555Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 86us
2025-11-11T14:16:21.595804Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.595 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 229us
2025-11-11T14:16:21.596249Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.596 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (Head (AsList (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member $60 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member $64 'time))))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 (Member $66 '_yql_agg_0)))))))
    ))))) 'Last0))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.596998Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.596 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:1093: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Head over AsList
2025-11-11T14:16:21.597493Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 279us
2025-11-11T14:16:21.597536Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.597546Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.597592Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.597605Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.597647Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.597663Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.597739Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 66us
2025-11-11T14:16:21.597850Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.597 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 93us
2025-11-11T14:16:21.598094Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.598 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 230us
2025-11-11T14:16:21.598546Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.598 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (Just (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member $60 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member $64 'time))))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 (Member $66 '_yql_agg_0)))))))
    ))))) 'Last0)))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.599264Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4950: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over Just
2025-11-11T14:16:21.599717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 258us
2025-11-11T14:16:21.599741Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.599751Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.599790Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.599800Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.599836Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.599845Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.599919Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.599 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 64us
2025-11-11T14:16:21.600016Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.600 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 86us
2025-11-11T14:16:21.600265Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.600 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 237us
2025-11-11T14:16:21.600709Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.600 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (AsStruct '('Last0 (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member $60 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member $64 'time))))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 (Member $66 '_yql_agg_0)))))))
    ))))) 'Last0))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.601644Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.601 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.602117Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 256us
2025-11-11T14:16:21.602152Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 13us
2025-11-11T14:16:21.602161Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.602198Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.602207Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.602240Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:16:21.602249Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.602318Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 60us
2025-11-11T14:16:21.602419Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 90us
2025-11-11T14:16:21.602655Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.602 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 223us
2025-11-11T14:16:21.603090Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.603 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (AsStruct '('_yql_agg_0 (Member $60 'time)))) (lambda '($61 $62) (IsKeySwitch $61 $62 $54 (lambda '($63) $53))) (lambda '($64 $65) (AsStruct '('_yql_agg_0 (Member $64 'time))))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 (Member $66 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.604314Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.604 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow1.cpp:764: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Extract single item struct from Condense1
2025-11-11T14:16:21.604932Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.604 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 346us
2025-11-11T14:16:21.604957Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.604 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.604967Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.604 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.605006Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.604 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.605015Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.605048Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.605057Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.605099Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:16:21.605107Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.605140Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.605149Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.605188Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:16:21.605197Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.605242Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:16:21.605251Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.605313Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:16:21.605433Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 91us
2025-11-11T14:16:21.605723Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.605 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 278us
2025-11-11T14:16:21.606182Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.606 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (Member (AsStruct '('_yql_agg_0 (Member $60 'time))) '_yql_agg_0)) (lambda '($61 $62) (IsKeySwitch $61 (AsStruct '('_yql_agg_0 $62)) $54 (lambda '($63) $53))) (lambda '($64 $65) (Member (AsStruct '('_yql_agg_0 (Member $64 'time))) '_yql_agg_0))))
      (return (FlatMap (Map $59 (lambda '($66) (AsStruct '('_yql_agg_0 $66)))) (lambda '($67) (Just (AsStruct '('Last0 (Member $67 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($68 $69 $70) (> (Member (Lookup (ToIndexDict $68) $70) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($71) (block '(
    (let $72 (ResourceType '"Yson2.Node"))
    (let $73 '($72 '"" '1))
    (let $74 (ResourceType '"Yson2.Options"))
    (let $75 (OptionalType (DataType 'Bool)))
    (let $76 (CallableType '('"4") '((OptionalType (DataType 'Json))) $73 '((OptionalType $74)) '($75 '"SkipMapEntity") '($75 '"EncodeUtf8") '($75 '"WriteNanAsString")))
    (let $77 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $76 (VoidType) '"" '()))
    (let $78 (StructType '('"b_key" (OptionalType $12))))
    (let $79 (TupleType (TupleType $78) (StructType) (TupleType)))
    (let $80 (CallableType '() '($72) '($78)))
    (let $81 '('('"strict")))
    (let $82 (Udf '"Yson2.From" (Void) $79 '"" $80 (VoidType) '"" $81))
    (let $83 (CallableType '('"2") '($74) '($75 '"AutoConvert") '($75 '"Strict")))
    (let $84 (Udf '"Yson2.Options" (Void) (VoidType) '"" $83 (VoidType) '"" $81))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $77 (Apply $82 $71) (Just (NamedApply $84 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.606926Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.606 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.606964Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.606 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.607479Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 297us
2025-11-11T14:16:21.607509Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.607518Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.607556Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.607566Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.607605Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.607636Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.607682Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 36us
2025-11-11T14:16:21.607692Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.607724Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.607733Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.607766Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.607776Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.607841Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 55us
2025-11-11T14:16:21.607936Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.607 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 86us
2025-11-11T14:16:21.608185Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.608 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 239us
2025-11-11T14:16:21.608638Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.608 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (Member $60 'time)) (lambda '($61 $62) (IsKeySwitch $61 (AsStruct '('_yql_agg_0 $62)) $54 (lambda '($63) $53))) (lambda '($64 $65) (Member $64 'time))))
      (return (FlatMap (Map $59 (lambda '($66) (AsStruct '('_yql_agg_0 $66)))) (lambda '($67) (Just (AsStruct '('Last0 (Member $67 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($68 $69 $70) (> (Member (Lookup (ToIndexDict $68) $70) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($71) (block '(
    (let $72 (ResourceType '"Yson2.Node"))
    (let $73 '($72 '"" '1))
    (let $74 (ResourceType '"Yson2.Options"))
    (let $75 (OptionalType (DataType 'Bool)))
    (let $76 (CallableType '('"4") '((OptionalType (DataType 'Json))) $73 '((OptionalType $74)) '($75 '"SkipMapEntity") '($75 '"EncodeUtf8") '($75 '"WriteNanAsString")))
    (let $77 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $76 (VoidType) '"" '()))
    (let $78 (StructType '('"b_key" (OptionalType $12))))
    (let $79 (TupleType (TupleType $78) (StructType) (TupleType)))
    (let $80 (CallableType '() '($72) '($78)))
    (let $81 '('('"strict")))
    (let $82 (Udf '"Yson2.From" (Void) $79 '"" $80 (VoidType) '"" $81))
    (let $83 (CallableType '('"2") '($74) '($75 '"AutoConvert") '($75 '"Strict")))
    (let $84 (Udf '"Yson2.Options" (Void) (VoidType) '"" $83 (VoidType) '"" $81))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $77 (Apply $82 $71) (Just (NamedApply $84 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.608696Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 598000000 } }
2025-11-11T14:16:21.608717Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.608744Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:16:21.609366Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.609 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4259: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Canonize Map
2025-11-11T14:16:21.609918Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.609 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 283us
2025-11-11T14:16:21.609947Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.609 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.609957Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.609 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.609995Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.609 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.610010Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.610049Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.610066Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.610109Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 34us
2025-11-11T14:16:21.610123Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.610159Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.610174Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.610236Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:16:21.610337Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 86us
2025-11-11T14:16:21.610581Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.610 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 228us
2025-11-11T14:16:21.611024Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.611 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (Member $60 'time)) (lambda '($61 $62) (IsKeySwitch $61 (AsStruct '('_yql_agg_0 $62)) $54 (lambda '($63) $53))) (lambda '($64 $65) (Member $64 'time))))
      (return (FlatMap (FlatMap $59 (lambda '($66) (Just (AsStruct '('_yql_agg_0 $66))))) (lambda '($67) (Just (AsStruct '('Last0 (Member $67 '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($68 $69 $70) (> (Member (Lookup (ToIndexDict $68) $70) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($71) (block '(
    (let $72 (ResourceType '"Yson2.Node"))
    (let $73 '($72 '"" '1))
    (let $74 (ResourceType '"Yson2.Options"))
    (let $75 (OptionalType (DataType 'Bool)))
    (let $76 (CallableType '('"4") '((OptionalType (DataType 'Json))) $73 '((OptionalType $74)) '($75 '"SkipMapEntity") '($75 '"EncodeUtf8") '($75 '"WriteNanAsString")))
    (let $77 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $76 (VoidType) '"" '()))
    (let $78 (StructType '('"b_key" (OptionalType $12))))
    (let $79 (TupleType (TupleType $78) (StructType) (TupleType)))
    (let $80 (CallableType '() '($72) '($78)))
    (let $81 '('('"strict")))
    (let $82 (Udf '"Yson2.From" (Void) $79 '"" $80 (VoidType) '"" $81))
    (let $83 (CallableType '('"2") '($74) '($75 '"AutoConvert") '($75 '"Strict")))
    (let $84 (Udf '"Yson2.Options" (Void) (VoidType) '"" $83 (VoidType) '"" $81))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $77 (Apply $82 $71) (Just (NamedApply $84 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.612233Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow1.cpp:67: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Fuse FlatMap with FlatMap width 1
2025-11-11T14:16:21.612728Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 268us
2025-11-11T14:16:21.612765Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.612775Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.612810Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.612823Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.612860Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.612873Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.612919Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 32us
2025-11-11T14:16:21.612932Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.612964Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:16:21.612977Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.612 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.613036Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.613 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 51us
2025-11-11T14:16:21.613132Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.613 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 82us
2025-11-11T14:16:21.613362Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.613 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 215us
2025-11-11T14:16:21.613803Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.613 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (Member $60 'time)) (lambda '($61 $62) (IsKeySwitch $61 (AsStruct '('_yql_agg_0 $62)) $54 (lambda '($63) $53))) (lambda '($64 $65) (Member $64 'time))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 (Member (AsStruct '('_yql_agg_0 $66)) '_yql_agg_0)))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.614443Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.614 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.614934Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.614 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 267us
2025-11-11T14:16:21.614966Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.614 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.614980Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.614 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.615022Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.615035Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.615068Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.615081Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.615127Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 33us
2025-11-11T14:16:21.615141Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.615176Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.615189Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.615251Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 49us
2025-11-11T14:16:21.615347Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 83us
2025-11-11T14:16:21.615574Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 212us
2025-11-11T14:16:21.615966Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.615 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (let $54 (lambda '($57) $53))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $56)) 'time)))))) $54 (Void) (Void) (lambda '($58) (block '(
      (let $59 (Condense1 $58 (lambda '($60) (Member $60 'time)) (lambda '($61 $62) (IsKeySwitch $61 (AsStruct '('_yql_agg_0 $62)) $54 (lambda '($63) $53))) (lambda '($64 $65) (Member $64 'time))))
      (return (FlatMap $59 (lambda '($66) (Just (AsStruct '('Last0 $66))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($67 $68 $69) (> (Member (Lookup (ToIndexDict $67) $69) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($70) (block '(
    (let $71 (ResourceType '"Yson2.Node"))
    (let $72 '($71 '"" '1))
    (let $73 (ResourceType '"Yson2.Options"))
    (let $74 (OptionalType (DataType 'Bool)))
    (let $75 (CallableType '('"4") '((OptionalType (DataType 'Json))) $72 '((OptionalType $73)) '($74 '"SkipMapEntity") '($74 '"EncodeUtf8") '($74 '"WriteNanAsString")))
    (let $76 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $75 (VoidType) '"" '()))
    (let $77 (StructType '('"b_key" (OptionalType $12))))
    (let $78 (TupleType (TupleType $77) (StructType) (TupleType)))
    (let $79 (CallableType '() '($71) '($77)))
    (let $80 '('('"strict")))
    (let $81 (Udf '"Yson2.From" (Void) $78 '"" $79 (VoidType) '"" $80))
    (let $82 (CallableType '('"2") '($73) '($74 '"AutoConvert") '($74 '"Strict")))
    (let $83 (Udf '"Yson2.Options" (Void) (VoidType) '"" $82 (VoidType) '"" $80))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $76 (Apply $81 $70) (Just (NamedApply $83 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.617775Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.617 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:3120: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand IsKeySwitch
2025-11-11T14:16:21.618281Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 267us
2025-11-11T14:16:21.618309Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.618318Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.618365Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.618384Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.618416Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.618430Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.618475Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.618489Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.618519Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:16:21.618533Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.618594Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 50us
2025-11-11T14:16:21.618691Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 80us
2025-11-11T14:16:21.618914Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.618 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 207us
2025-11-11T14:16:21.619322Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.619 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($47) (SafeCast (Member $47 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (Uint32 '0))
    (return (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($54) (ListFromRange (Member $54 '"From") (+ (Member $54 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($55) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $51) $55)) 'time)))))) (lambda '($56) $53) (Void) (Void) (lambda '($57) (block '(
      (let $58 (Condense1 $57 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) (AggrNotEquals $53 $53)) (lambda '($62 $63) (Member $62 'time))))
      (return (FlatMap $58 (lambda '($64) (Just (AsStruct '('Last0 $64))))))
    ))))) 'Last0))
  )))))
  (let $44 (MatchRecognizeDefines $23 $42 $42 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $45 (MatchRecognizeParams $43 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $44))
  (let $46 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($48) (block '(
    (let $49 (AsStruct '($7 (Member $48 $7)) '($10 (Member $48 $10)) '('"_yql_sys_offset" (Member $48 '"_yql_sys_offset")) '($9 (Member $48 $9)) '('"_yql_sys_seq_no" (Member $48 '"_yql_sys_seq_no")) '($8 (Member $48 $8)) '('time (Member $48 'time))))
    (return (OptionalIf (Not (Member $48 '"_yql_OutOfOrder")) $49))
  )))) (lambda '($50) '()) '() $45 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $46 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.620127Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple2.cpp:999: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Unequal 'AggrNotEquals' with same args
2025-11-11T14:16:21.620568Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 254us
2025-11-11T14:16:21.620592Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.620602Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.620638Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.620648Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.620680Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 23us
2025-11-11T14:16:21.620689Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.620727Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.620735Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.620765Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:16:21.620774Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.620779Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 614000000 } }
2025-11-11T14:16:21.620819Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:16:21.620832Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 48us
2025-11-11T14:16:21.620923Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.620 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 81us
2025-11-11T14:16:21.621153Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.621 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 221us
2025-11-11T14:16:21.621583Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.621 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (Member (ToOptional (PartitionsByKeys (OrderedFlatMap (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($54) (ListFromRange (Member $54 '"From") (+ (Member $54 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($55) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $55)) 'time)))))) (lambda '($56) (Uint32 '0)) (Void) (Void) (lambda '($57) (block '(
    (let $58 (Condense1 $57 (lambda '($59) (Member $59 'time)) (lambda '($60 $61) $43) (lambda '($62 $63) (Member $62 'time))))
    (return (FlatMap $58 (lambda '($64) (Just (AsStruct '('Last0 $64))))))
  ))))) 'Last0))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.623237Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:3010: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand PartitionsByKeys
2025-11-11T14:16:21.623694Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 226us
2025-11-11T14:16:21.623726Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.623735Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.623773Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 28us
2025-11-11T14:16:21.623782Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.623814Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 24us
2025-11-11T14:16:21.623823Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.623890Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 58us
2025-11-11T14:16:21.623980Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.623 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 79us
2025-11-11T14:16:21.624215Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.624 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 211us
2025-11-11T14:16:21.624629Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.624 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (Condense1 (OrderedFlatMap (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Just (AsStruct '('time (Member (Unwrap (Lookup (ToIndexDict $52) $56)) 'time)))))) (lambda '($57) (Member $57 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member $60 'time))))
    (return (Member (ToOptional (FlatMap $54 (lambda '($62) (Just (AsStruct '('Last0 $62)))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.625711Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.625 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_flow1.cpp:1156: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Propagate OrderedFlatMap to Condense1
2025-11-11T14:16:21.626150Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 235us
2025-11-11T14:16:21.626183Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.626198Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.626238Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.626254Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.626287Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.626300Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.626339Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 31us
2025-11-11T14:16:21.626355Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.626414Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 49us
2025-11-11T14:16:21.626504Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 77us
2025-11-11T14:16:21.626722Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.626 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 202us
2025-11-11T14:16:21.627119Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.627 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (ToIndexDict $52))
    (let $55 (Condense1 (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Member (AsStruct '('time (Member (Unwrap (Lookup $54 $57)) 'time))) 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member (AsStruct '('time (Member (Unwrap (Lookup $54 $60)) 'time))) 'time))))
    (return (Member (ToOptional (FlatMap $55 (lambda '($62) (Just (AsStruct '('Last0 $62)))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.627772Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.627 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.627808Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.627 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core] yql_co_simple1.cpp:4942: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Member over AsStruct
2025-11-11T14:16:21.628216Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 231us
2025-11-11T14:16:21.628249Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 12us
2025-11-11T14:16:21.628264Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.628301Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 29us
2025-11-11T14:16:21.628314Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.628351Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 25us
2025-11-11T14:16:21.628367Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.628401Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 26us
2025-11-11T14:16:21.628414Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.628478Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 50us
2025-11-11T14:16:21.628577Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 81us
2025-11-11T14:16:21.628810Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.628 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 215us
2025-11-11T14:16:21.629249Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.629 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (ToIndexDict $52))
    (let $55 (Condense1 (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Member (Unwrap (Lookup $54 $57)) 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member (Unwrap (Lookup $54 $60)) 'time))))
    (return (Member (ToOptional (FlatMap $55 (lambda '($62) (Just (AsStruct '('Last0 $62)))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.631401Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.631 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 16us
2025-11-11T14:16:21.631445Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.631 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 16us
2025-11-11T14:16:21.631538Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.631 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 81us
2025-11-11T14:16:21.631826Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.631 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 266us
2025-11-11T14:16:21.632241Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.632 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (ToIndexDict $52))
    (let $55 (Condense1 (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Member (Unwrap (Lookup $54 $57)) 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member (Unwrap (Lookup $54 $60)) 'time))))
    (return (Member (ToOptional (FlatMap $55 (lambda '($62) (Just (AsStruct '('Last0 $62)))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (block '(
    (let $50 (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time))))
    (return (OptionalIf (Not (Member $49 '"_yql_OutOfOrder")) $50))
  )))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.632387Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.632 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:2966: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Expand OptionalIf
2025-11-11T14:16:21.632455Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.632 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:2510: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} FlatMap to Map
2025-11-11T14:16:21.632984Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.632 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 312us
2025-11-11T14:16:21.633022Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 15us
2025-11-11T14:16:21.633037Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.633080Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 30us
2025-11-11T14:16:21.633095Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.633289Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 180us
2025-11-11T14:16:21.633487Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 174us
2025-11-11T14:16:21.633535Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.633549Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.633600Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 42us
2025-11-11T14:16:21.633615Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.633691Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 66us
2025-11-11T14:16:21.633706Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.633764Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 47us
2025-11-11T14:16:21.633862Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.633 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 83us
2025-11-11T14:16:21.634103Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.634 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 223us
2025-11-11T14:16:21.634541Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.634 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($51 $52) (block '(
    (let $53 (ToIndexDict $51))
    (let $54 (Condense1 (Collect (OrderedFlatMap (Member $52 '"A") (lambda '($55) (ListFromRange (Member $55 '"From") (+ (Member $55 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($56) (Member (Unwrap (Lookup $53 $56)) 'time)) (lambda '($57 $58) $43) (lambda '($59 $60) (Member (Unwrap (Lookup $53 $59)) 'time))))
    (return (Member (ToOptional (Map $54 (lambda '($61) (AsStruct '('Last0 $61))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($62 $63 $64) (> (Member (Lookup (ToIndexDict $62) $64) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedFlatMap $41 (lambda '($49) (If (Not (Member $49 '"_yql_OutOfOrder")) (Just (AsStruct '($7 (Member $49 $7)) '($10 (Member $49 $10)) '('"_yql_sys_offset" (Member $49 '"_yql_sys_offset")) '($9 (Member $49 $9)) '('"_yql_sys_seq_no" (Member $49 '"_yql_sys_seq_no")) '($8 (Member $49 $8)) '('time (Member $49 'time)))) (Nothing (OptionalType $23))))) (lambda '($50) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($65) (block '(
    (let $66 (ResourceType '"Yson2.Node"))
    (let $67 '($66 '"" '1))
    (let $68 (ResourceType '"Yson2.Options"))
    (let $69 (OptionalType (DataType 'Bool)))
    (let $70 (CallableType '('"4") '((OptionalType (DataType 'Json))) $67 '((OptionalType $68)) '($69 '"SkipMapEntity") '($69 '"EncodeUtf8") '($69 '"WriteNanAsString")))
    (let $71 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $70 (VoidType) '"" '()))
    (let $72 (StructType '('"b_key" (OptionalType $12))))
    (let $73 (TupleType (TupleType $72) (StructType) (TupleType)))
    (let $74 (CallableType '() '($66) '($72)))
    (let $75 '('('"strict")))
    (let $76 (Udf '"Yson2.From" (Void) $73 '"" $74 (VoidType) '"" $75))
    (let $77 (CallableType '('"2") '($68) '($69 '"AutoConvert") '($69 '"Strict")))
    (let $78 (Udf '"Yson2.Options" (Void) (VoidType) '"" $77 (VoidType) '"" $75))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $71 (Apply $76 $65) (Just (NamedApply $78 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.634688Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.634 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:2549: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} OrderedFlatMap over If to OrderedFilter
2025-11-11T14:16:21.635086Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 183us
2025-11-11T14:16:21.635118Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 11us
2025-11-11T14:16:21.635129Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.635157Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 19us
2025-11-11T14:16:21.635167Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.635197Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 21us
2025-11-11T14:16:21.635212Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 0us
2025-11-11T14:16:21.635274Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 53us
2025-11-11T14:16:21.635367Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 74us
2025-11-11T14:16:21.635596Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.635 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 218us
2025-11-11T14:16:21.636014Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (ToIndexDict $52))
    (let $55 (Condense1 (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Member (Unwrap (Lookup $54 $57)) 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member (Unwrap (Lookup $54 $60)) 'time))))
    (return (Member (ToOptional (Map $55 (lambda '($62) (AsStruct '('Last0 $62))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedMap (OrderedFilter $41 (lambda '($49) (Not (Member $49 '"_yql_OutOfOrder")))) (lambda '($50) (AsStruct '($7 (Member $50 $7)) '($10 (Member $50 $10)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($9 (Member $50 $9)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($8 (Member $50 $8)) '('time (Member $50 'time))))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (FlatMap $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (Just (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true)))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.636220Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_opt_peephole_physical.cpp:2510: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} FlatMap to Map
2025-11-11T14:16:21.636505Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 163us
2025-11-11T14:16:21.636526Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 10us
2025-11-11T14:16:21.636536Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.636572Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 27us
2025-11-11T14:16:21.636581Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 1us
2025-11-11T14:16:21.636628Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.636714Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 76us
2025-11-11T14:16:21.636940Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.636 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 216us
2025-11-11T14:16:21.637361Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.637 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 (DqPhyStage '((DqSource $5 $24)) (lambda '($29) (block '(
  (let $30 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $31 '('('"format" '"json_each_row") '('"metadataColumns" $30) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $32 (DqSourceWideWrap $29 $5 $23 $31))
  (return (FromFlow (NarrowMap $32 (lambda '($33 $34 $35 $36 $37 $38 $39) (AsStruct '($7 $33) '($10 $34) '('"_yql_sys_offset" $35) '($9 $36) '('"_yql_sys_seq_no" $37) '($8 $38) '('time $39))))))
))) '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf"))))
(let $26 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $27 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $28 (DqPqTopicSink $27 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $25 '0))) (lambda '($40) (block '(
  (let $41 (TimeOrderRecover (ToFlow $40) (lambda '($48) (SafeCast (Member $48 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $42 '('"A"))
  (let $43 (Bool 'false))
  (let $44 (MatchRecognizeMeasures $23 $42 '('"b_key") (lambda '($52 $53) (block '(
    (let $54 (ToIndexDict $52))
    (let $55 (Condense1 (Collect (OrderedFlatMap (Member $53 '"A") (lambda '($56) (ListFromRange (Member $56 '"From") (+ (Member $56 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($57) (Member (Unwrap (Lookup $54 $57)) 'time)) (lambda '($58 $59) $43) (lambda '($60 $61) (Member (Unwrap (Lookup $54 $60)) 'time))))
    (return (Member (ToOptional (Map $55 (lambda '($62) (AsStruct '('Last0 $62))))) 'Last0))
  )))))
  (let $45 (MatchRecognizeDefines $23 $42 $42 (lambda '($63 $64 $65) (> (Member (Lookup (ToIndexDict $63) $65) 'time) (Int32 '"4")))))
  (let $46 (MatchRecognizeParams $44 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $45))
  (let $47 (MatchRecognizeCore (OrderedMap (OrderedFilter $41 (lambda '($49) (Not (Member $49 '"_yql_OutOfOrder")))) (lambda '($50) (AsStruct '($7 (Member $50 $7)) '($10 (Member $50 $10)) '('"_yql_sys_offset" (Member $50 '"_yql_sys_offset")) '($9 (Member $50 $9)) '('"_yql_sys_seq_no" (Member $50 '"_yql_sys_seq_no")) '($8 (Member $50 $8)) '('time (Member $50 'time))))) (lambda '($51) '()) '() $46 '('('"Streaming" '1))))
  (return (FromFlow (Map $47 (lambda '($66) (block '(
    (let $67 (ResourceType '"Yson2.Node"))
    (let $68 '($67 '"" '1))
    (let $69 (ResourceType '"Yson2.Options"))
    (let $70 (OptionalType (DataType 'Bool)))
    (let $71 (CallableType '('"4") '((OptionalType (DataType 'Json))) $68 '((OptionalType $69)) '($70 '"SkipMapEntity") '($70 '"EncodeUtf8") '($70 '"WriteNanAsString")))
    (let $72 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $71 (VoidType) '"" '()))
    (let $73 (StructType '('"b_key" (OptionalType $12))))
    (let $74 (TupleType (TupleType $73) (StructType) (TupleType)))
    (let $75 (CallableType '() '($67) '($73)))
    (let $76 '('('"strict")))
    (let $77 (Udf '"Yson2.From" (Void) $74 '"" $75 (VoidType) '"" $76))
    (let $78 (CallableType '('"2") '($69) '($70 '"AutoConvert") '($70 '"Strict")))
    (let $79 (Udf '"Yson2.Options" (Void) (VoidType) '"" $78 (VoidType) '"" $76))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $72 (Apply $77 $66) (Just (NamedApply $79 '() (AsStruct '('"AutoConvert" (Just $43)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $26 '((DqSink '0 (DataSink '"pq" '"yds") $28))))))
)

2025-11-11T14:16:21.637810Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.637 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] yql_dq_exectransformer.cpp:379: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Setting block status for stage #209957 to None
2025-11-11T14:16:21.637935Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.637 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 58us
2025-11-11T14:16:21.637989Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.637 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 38us
2025-11-11T14:16:21.638079Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.638 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 76us
2025-11-11T14:16:21.638309Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.638 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 213us
2025-11-11T14:16:21.638719Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.638 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") '('"_block_status" '"None")))
(let $26 (DqPhyStage '((DqSource $5 $24)) (lambda '($30) (block '(
  (let $31 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $32 '('('"format" '"json_each_row") '('"metadataColumns" $31) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $33 (DqSourceWideWrap $30 $5 $23 $32))
  (return (FromFlow (NarrowMap $33 (lambda '($34 $35 $36 $37 $38 $39 $40) (AsStruct '($7 $34) '($10 $35) '('"_yql_sys_offset" $36) '($9 $37) '('"_yql_sys_seq_no" $38) '($8 $39) '('time $40))))))
))) $25))
(let $27 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate")))
(let $28 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $29 (DqPqTopicSink $28 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $26 '0))) (lambda '($41) (block '(
  (let $42 (TimeOrderRecover (ToFlow $41) (lambda '($49) (SafeCast (Member $49 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $43 '('"A"))
  (let $44 (Bool 'false))
  (let $45 (MatchRecognizeMeasures $23 $43 '('"b_key") (lambda '($53 $54) (block '(
    (let $55 (ToIndexDict $53))
    (let $56 (Condense1 (Collect (OrderedFlatMap (Member $54 '"A") (lambda '($57) (ListFromRange (Member $57 '"From") (+ (Member $57 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($58) (Member (Unwrap (Lookup $55 $58)) 'time)) (lambda '($59 $60) $44) (lambda '($61 $62) (Member (Unwrap (Lookup $55 $61)) 'time))))
    (return (Member (ToOptional (Map $56 (lambda '($63) (AsStruct '('Last0 $63))))) 'Last0))
  )))))
  (let $46 (MatchRecognizeDefines $23 $43 $43 (lambda '($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) 'time) (Int32 '"4")))))
  (let $47 (MatchRecognizeParams $45 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $46))
  (let $48 (MatchRecognizeCore (OrderedMap (OrderedFilter $42 (lambda '($50) (Not (Member $50 '"_yql_OutOfOrder")))) (lambda '($51) (AsStruct '($7 (Member $51 $7)) '($10 (Member $51 $10)) '('"_yql_sys_offset" (Member $51 '"_yql_sys_offset")) '($9 (Member $51 $9)) '('"_yql_sys_seq_no" (Member $51 '"_yql_sys_seq_no")) '($8 (Member $51 $8)) '('time (Member $51 'time))))) (lambda '($52) '()) '() $47 '('('"Streaming" '1))))
  (return (FromFlow (Map $48 (lambda '($67) (block '(
    (let $68 (ResourceType '"Yson2.Node"))
    (let $69 '($68 '"" '1))
    (let $70 (ResourceType '"Yson2.Options"))
    (let $71 (OptionalType (DataType 'Bool)))
    (let $72 (CallableType '('"4") '((OptionalType (DataType 'Json))) $69 '((OptionalType $70)) '($71 '"SkipMapEntity") '($71 '"EncodeUtf8") '($71 '"WriteNanAsString")))
    (let $73 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $72 (VoidType) '"" '()))
    (let $74 (StructType '('"b_key" (OptionalType $12))))
    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))
    (let $76 (CallableType '() '($68) '($74)))
    (let $77 '('('"strict")))
    (let $78 (Udf '"Yson2.From" (Void) $75 '"" $76 (VoidType) '"" $77))
    (let $79 (CallableType '('"2") '($70) '($71 '"AutoConvert") '($71 '"Strict")))
    (let $80 (Udf '"Yson2.Options" (Void) (VoidType) '"" $79 (VoidType) '"" $77))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 '() (AsStruct '('"AutoConvert" (Just $44)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $27 '((DqSink '0 (DataSink '"pq" '"yds") $29))))))
)

2025-11-11T14:16:21.639014Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core dq] yql_dq_exectransformer.cpp:379: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Setting block status for stage #211062 to None
2025-11-11T14:16:21.639110Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] type_ann_expr.cpp:48: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [TypeAnnotationTransformer::DoTransform] took 47us
2025-11-11T14:16:21.639160Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_constraint.cpp:3312: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [ConstraintTransformer::DoTransform] took 33us
2025-11-11T14:16:21.639271Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:638: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [UpdateCompletness] took 96us
2025-11-11T14:16:21.639469Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_expr_csee.cpp:651: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Execution of [EliminateCommonSubExpressionsForSubGraph] took 184us
2025-11-11T14:16:21.639811Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.639 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [core peephole] yql_out_transformers.cpp:62: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 '('"_block_status" '"None"))
(let $26 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") $25))
(let $27 (DqPhyStage '((DqSource $5 $24)) (lambda '($31) (block '(
  (let $32 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $33 '('('"format" '"json_each_row") '('"metadataColumns" $32) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $34 (DqSourceWideWrap $31 $5 $23 $33))
  (return (FromFlow (NarrowMap $34 (lambda '($35 $36 $37 $38 $39 $40 $41) (AsStruct '($7 $35) '($10 $36) '('"_yql_sys_offset" $37) '($9 $38) '('"_yql_sys_seq_no" $39) '($8 $40) '('time $41))))))
))) $26))
(let $28 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate") $25))
(let $29 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $30 (DqPqTopicSink $29 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $27 '0))) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($50) (SafeCast (Member $50 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (Bool 'false))
  (let $46 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($54 $55) (block '(
    (let $56 (ToIndexDict $54))
    (let $57 (Condense1 (Collect (OrderedFlatMap (Member $55 '"A") (lambda '($58) (ListFromRange (Member $58 '"From") (+ (Member $58 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($59) (Member (Unwrap (Lookup $56 $59)) 'time)) (lambda '($60 $61) $45) (lambda '($62 $63) (Member (Unwrap (Lookup $56 $62)) 'time))))
    (return (Member (ToOptional (Map $57 (lambda '($64) (AsStruct '('Last0 $64))))) 'Last0))
  )))))
  (let $47 (MatchRecognizeDefines $23 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $48 (MatchRecognizeParams $46 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $47))
  (let $49 (MatchRecognizeCore (OrderedMap (OrderedFilter $43 (lambda '($51) (Not (Member $51 '"_yql_OutOfOrder")))) (lambda '($52) (AsStruct '($7 (Member $52 $7)) '($10 (Member $52 $10)) '('"_yql_sys_offset" (Member $52 '"_yql_sys_offset")) '($9 (Member $52 $9)) '('"_yql_sys_seq_no" (Member $52 '"_yql_sys_seq_no")) '($8 (Member $52 $8)) '('time (Member $52 'time))))) (lambda '($53) '()) '() $48 '('('"Streaming" '1))))
  (return (FromFlow (Map $49 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just $45)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $28 '((DqSink '0 (DataSink '"pq" '"yds") $30))))))
)

2025-11-11T14:16:21.640665Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.640 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:2143: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 '('"_block_status" '"None"))
(let $26 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") $25))
(let $27 (DqPhyStage '((DqSource $5 $24)) (lambda '($31) (block '(
  (let $32 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $33 '('('"format" '"json_each_row") '('"metadataColumns" $32) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $34 (DqSourceWideWrap $31 $5 $23 $33))
  (return (FromFlow (NarrowMap $34 (lambda '($35 $36 $37 $38 $39 $40 $41) (AsStruct '($7 $35) '($10 $36) '('"_yql_sys_offset" $37) '($9 $38) '('"_yql_sys_seq_no" $39) '($8 $40) '('time $41))))))
))) $26))
(let $28 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate") $25))
(let $29 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $30 (DqPqTopicSink $29 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $27 '0))) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($50) (SafeCast (Member $50 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (Bool 'false))
  (let $46 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($54 $55) (block '(
    (let $56 (ToIndexDict $54))
    (let $57 (Condense1 (Collect (OrderedFlatMap (Member $55 '"A") (lambda '($58) (ListFromRange (Member $58 '"From") (+ (Member $58 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($59) (Member (Unwrap (Lookup $56 $59)) 'time)) (lambda '($60 $61) $45) (lambda '($62 $63) (Member (Unwrap (Lookup $56 $62)) 'time))))
    (return (Member (ToOptional (Map $57 (lambda '($64) (AsStruct '('Last0 $64))))) 'Last0))
  )))))
  (let $47 (MatchRecognizeDefines $23 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $48 (MatchRecognizeParams $46 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $47))
  (let $49 (MatchRecognizeCore (OrderedMap (OrderedFilter $43 (lambda '($51) (Not (Member $51 '"_yql_OutOfOrder")))) (lambda '($52) (AsStruct '($7 (Member $52 $7)) '($10 (Member $52 $10)) '('"_yql_sys_offset" (Member $52 '"_yql_sys_offset")) '($9 (Member $52 $9)) '('"_yql_sys_seq_no" (Member $52 '"_yql_sys_seq_no")) '($8 (Member $52 $8)) '('time (Member $52 'time))))) (lambda '($53) '()) '() $48 '('('"Streaming" '1))))
  (return (FromFlow (Map $49 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just $45)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $28 '((DqSink '0 (DataSink '"pq" '"yds") $30))))))
)

2025-11-11T14:16:21.641585Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.641 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] execution_planner.cpp:152: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $4 $14 '('time) $18 $19 '"" $23 '""))
(let $25 '('"_block_status" '"None"))
(let $26 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") $25))
(let $27 (DqPhyStage '((DqSource $5 $24)) (lambda '($31) (block '(
  (let $32 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $33 '('('"format" '"json_each_row") '('"metadataColumns" $32) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $34 (DqSourceWideWrap $31 $5 $23 $33))
  (return (FromFlow (NarrowMap $34 (lambda '($35 $36 $37 $38 $39 $40 $41) (AsStruct '($7 $35) '($10 $36) '('"_yql_sys_offset" $37) '($9 $38) '('"_yql_sys_seq_no" $39) '($8 $40) '('time $41))))))
))) $26))
(let $28 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate") $25))
(let $29 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $30 (DqPqTopicSink $29 '($15 $17) $19))
(return (DqQuery! $4 '((DqPhyStage '((DqCnUnionAll (TDqOutput $27 '0))) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($50) (SafeCast (Member $50 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (Bool 'false))
  (let $46 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($54 $55) (block '(
    (let $56 (ToIndexDict $54))
    (let $57 (Condense1 (Collect (OrderedFlatMap (Member $55 '"A") (lambda '($58) (ListFromRange (Member $58 '"From") (+ (Member $58 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($59) (Member (Unwrap (Lookup $56 $59)) 'time)) (lambda '($60 $61) $45) (lambda '($62 $63) (Member (Unwrap (Lookup $56 $62)) 'time))))
    (return (Member (ToOptional (Map $57 (lambda '($64) (AsStruct '('Last0 $64))))) 'Last0))
  )))))
  (let $47 (MatchRecognizeDefines $23 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $48 (MatchRecognizeParams $46 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $47))
  (let $49 (MatchRecognizeCore (OrderedMap (OrderedFilter $43 (lambda '($51) (Not (Member $51 '"_yql_OutOfOrder")))) (lambda '($52) (AsStruct '($7 (Member $52 $7)) '($10 (Member $52 $10)) '('"_yql_sys_offset" (Member $52 '"_yql_sys_offset")) '($9 (Member $52 $9)) '('"_yql_sys_seq_no" (Member $52 '"_yql_sys_seq_no")) '($8 (Member $52 $8)) '('time (Member $52 'time))))) (lambda '($53) '()) '() $48 '('('"Streaming" '1))))
  (return (FromFlow (Map $49 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just $45)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $28 '((DqSink '0 (DataSink '"pq" '"yds") $30))))))
)

2025-11-11T14:16:21.642094Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.641 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [PQ] yql_pq_dq_integration.cpp:53: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Create DQ reading partition { PartitioningParams { TopicPartitionsCount: 1 DqPartitionsCount: 1 } }
2025-11-11T14:16:21.642632Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.642 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] execution_planner.cpp:164: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $7 '"_yql_sys_tsp_write_time")
(let $8 '"_yql_sys_partition_id")
(let $9 '"_yql_sys_message_group_id")
(let $10 '('('"system" $6) '('"system" $7) '('"system" $8) '('"system" '"_yql_sys_offset") '('"system" $9) '('"system" '"_yql_sys_seq_no")))
(let $11 '('time (DataType 'Int32)))
(let $12 (PqTopic '"yds" '"local" '"test_metadatafields_input" '('('"PartitionsCount" '1)) $10 (StructType $11)))
(let $13 '('"SharedReading" '1))
(let $14 '('('"Endpoint" '"localhost:11957") $13 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") '('"AddBearerToToken" '1)))
(let $15 (DataType 'Timestamp))
(let $16 (DataType 'Uint64))
(let $17 (StructType '($6 $15) '($9 (DataType 'String)) '('"_yql_sys_offset" $16) '($8 $16) '('"_yql_sys_seq_no" $16) '($7 $15) $11))
(let $18 (DqPqTopicSource $5 $12 '('time) $14 (SecureParam '"cluster:default_yds") '"" $17 '""))
(let $19 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") '('"_block_status" '"None")))
(return (DqPhyStage '((DqSource $1 $18)) (lambda '($20) (block '(
  (let $21 '($6 $7 $8 '"_yql_sys_offset" $9 '"_yql_sys_seq_no"))
  (let $22 '('('"format" '"json_each_row") '('"metadataColumns" $21) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($13))))
  (let $23 (DqSourceWideWrap $20 $1 $17 $22))
  (return (FromFlow (NarrowMap $23 (lambda '($24 $25 $26 $27 $28 $29 $30) (AsStruct '($6 $24) '($9 $25) '('"_yql_sys_offset" $26) '($8 $27) '('"_yql_sys_seq_no" $28) '($7 $29) '('time $30))))))
))) $19))
)

2025-11-11T14:16:21.643088Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.642 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] execution_planner.cpp:166: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} 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 '"_yql_sys_create_time")
(let $8 '"_yql_sys_tsp_write_time")
(let $9 '"_yql_sys_partition_id")
(let $10 '"_yql_sys_message_group_id")
(let $11 '('('"system" $7) '('"system" $8) '('"system" $9) '('"system" '"_yql_sys_offset") '('"system" $10) '('"system" '"_yql_sys_seq_no")))
(let $12 (DataType 'Int32))
(let $13 '('time $12))
(let $14 (PqTopic '"yds" '"local" '"test_metadatafields_input" $6 $11 (StructType $13)))
(let $15 '('"Endpoint" '"localhost:11957"))
(let $16 '('"SharedReading" '1))
(let $17 '('"AddBearerToToken" '1))
(let $18 '($15 $16 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"ptcudslmqk7kv9j5k4up") $17))
(let $19 (SecureParam '"cluster:default_yds"))
(let $20 (DataType 'Timestamp))
(let $21 (DataType 'String))
(let $22 (DataType 'Uint64))
(let $23 (StructType '($7 $20) '($10 $21) '('"_yql_sys_offset" $22) '($9 $22) '('"_yql_sys_seq_no" $22) '($8 $20) $13))
(let $24 (DqPqTopicSource $5 $14 '('time) $18 $19 '"" $23 '""))
(let $25 '('"_block_status" '"None"))
(let $26 '('('"_logical_id" '209957) '('"_id" '"82a6607b-3d1f5eae-337ea504-6e85cfdf") $25))
(let $27 (DqPhyStage '((DqSource $1 $24)) (lambda '($31) (block '(
  (let $32 '($7 $8 $9 '"_yql_sys_offset" $10 '"_yql_sys_seq_no"))
  (let $33 '('('"format" '"json_each_row") '('"metadataColumns" $32) '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($16))))
  (let $34 (DqSourceWideWrap $31 $1 $23 $33))
  (return (FromFlow (NarrowMap $34 (lambda '($35 $36 $37 $38 $39 $40 $41) (AsStruct '($7 $35) '($10 $36) '('"_yql_sys_offset" $37) '($9 $38) '('"_yql_sys_seq_no" $39) '($8 $40) '('time $41))))))
))) $26))
(let $28 '('('"_logical_id" '211062) '('"_id" '"2073e09-69ab55fb-b1f1d6d6-8524eec") '('"_partition_mode" '"aggregate") $25))
(let $29 (PqTopic '"yds" '"local" '"test_metadatafields_output" $6 '() (StructType '('"Data" $21))))
(let $30 (DqPqTopicSink $29 '($15 $17) $19))
(return (DqPhyStage '((DqCnUnionAll (TDqOutput $27 '0))) (lambda '($42) (block '(
  (let $43 (TimeOrderRecover (ToFlow $42) (lambda '($50) (SafeCast (Member $50 'time) (OptionalType $20))) (Interval '"-10") (Interval '"10") (Uint32 '"1000000")))
  (let $44 '('"A"))
  (let $45 (Bool 'false))
  (let $46 (MatchRecognizeMeasures $23 $44 '('"b_key") (lambda '($54 $55) (block '(
    (let $56 (ToIndexDict $54))
    (let $57 (Condense1 (Collect (OrderedFlatMap (Member $55 '"A") (lambda '($58) (ListFromRange (Member $58 '"From") (+ (Member $58 '"To") (Uint64 '1)) (Int64 '1))))) (lambda '($59) (Member (Unwrap (Lookup $56 $59)) 'time)) (lambda '($60 $61) $45) (lambda '($62 $63) (Member (Unwrap (Lookup $56 $62)) 'time))))
    (return (Member (ToOptional (Map $57 (lambda '($64) (AsStruct '('Last0 $64))))) 'Last0))
  )))))
  (let $47 (MatchRecognizeDefines $23 $44 $44 (lambda '($65 $66 $67) (> (Member (Lookup (ToIndexDict $65) $67) 'time) (Int32 '"4")))))
  (let $48 (MatchRecognizeParams $46 '"RowsPerMatch_OneRow" '('"AfterMatchSkip_PastLastRow" '"") (MatchRecognizePattern '('('"A" '1 '1 '1 '1 '0))) $47))
  (let $49 (MatchRecognizeCore (OrderedMap (OrderedFilter $43 (lambda '($51) (Not (Member $51 '"_yql_OutOfOrder")))) (lambda '($52) (AsStruct '($7 (Member $52 $7)) '($10 (Member $52 $10)) '('"_yql_sys_offset" (Member $52 '"_yql_sys_offset")) '($9 (Member $52 $9)) '('"_yql_sys_seq_no" (Member $52 '"_yql_sys_seq_no")) '($8 (Member $52 $8)) '('time (Member $52 'time))))) (lambda '($53) '()) '() $48 '('('"Streaming" '1))))
  (return (FromFlow (Map $49 (lambda '($68) (block '(
    (let $69 (ResourceType '"Yson2.Node"))
    (let $70 '($69 '"" '1))
    (let $71 (ResourceType '"Yson2.Options"))
    (let $72 (OptionalType (DataType 'Bool)))
    (let $73 (CallableType '('"4") '((OptionalType (DataType 'Json))) $70 '((OptionalType $71)) '($72 '"SkipMapEntity") '($72 '"EncodeUtf8") '($72 '"WriteNanAsString")))
    (let $74 (Udf '"Yson2.SerializeJson" (Void) (VoidType) '"" $73 (VoidType) '"" '()))
    (let $75 (StructType '('"b_key" (OptionalType $12))))
    (let $76 (TupleType (TupleType $75) (StructType) (TupleType)))
    (let $77 (CallableType '() '($69) '($75)))
    (let $78 '('('"strict")))
    (let $79 (Udf '"Yson2.From" (Void) $76 '"" $77 (VoidType) '"" $78))
    (let $80 (CallableType '('"2") '($71) '($72 '"AutoConvert") '($72 '"Strict")))
    (let $81 (Udf '"Yson2.Options" (Void) (VoidType) '"" $80 (VoidType) '"" $78))
    (return (AsStruct '('"column0" (ToBytes (Unwrap (Apply $74 (Apply $79 $68) (Just (NamedApply $81 '() (AsStruct '('"AutoConvert" (Just $45)) '('"Strict" (Just (Bool 'true))))))))))))
  ))))))
))) $28 '((DqSink '0 (DataSink '"pq" '"yds") $30))))
)

2025-11-11T14:16:21.644717Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Try to resolve Yson2
2025-11-11T14:16:21.644744Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 WARN  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Empty md5 for <static>::Yson2
2025-11-11T14:16:21.644755Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} File|Md5 <static>::Yson2|
2025-11-11T14:16:21.644765Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Try to resolve Yson2
2025-11-11T14:16:21.644772Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 WARN  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Empty md5 for <static>::Yson2
2025-11-11T14:16:21.644788Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} File|Md5 <static>::Yson2|
2025-11-11T14:16:21.644796Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:691: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Try to resolve Yson2
2025-11-11T14:16:21.644803Z :YQL_PROXY WARN: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 WARN  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:515: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} Empty md5 for <static>::Yson2
2025-11-11T14:16:21.644810Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.644 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] yql_dq_exectransformer.cpp:698: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud/#211124/#211136} File|Md5 <static>::Yson2|
2025-11-11T14:16:21.645199Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:928: QueryId: ptqudslmqjs79hp24ued Graph (execution) with tasks: 2
2025-11-11T14:16:21.645243Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:519: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Register async execution for node #211124
2025-11-11T14:16:21.645264Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:89: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Finish, output #211124, status: Async
2025-11-11T14:16:21.645278Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [perf] yql_graph_transformer.cpp:99: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Allocated 2548 nodes after Transform, stage: Execution
2025-11-11T14:16:21.645347Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:135: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Completed async execution for node #211124
2025-11-11T14:16:21.645366Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [core exec] yql_execution.cpp:155: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} State is Error after apply async changes for node #211124
2025-11-11T14:16:21.645381Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.645 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [default] yql_facade.cpp:1664: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Fallback skipped due to per query policy
2025-11-11T14:16:21.646132Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:911: QueryId: ptqudslmqjs79hp24ued Overall dq tasks: 2
2025-11-11T14:16:21.646139Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:758: QueryId: ptqudslmqjs79hp24ued Graph 0
2025-11-11T14:16:21.646180Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:776: QueryId: ptqudslmqjs79hp24ued Create consumer "ptqudslmqjs79hp24ued" for topic "test_metadatafields_input"
2025-11-11T14:16:21.646264Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 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 \'\"_yql_sys_create_time\")\n(let $8 \'\"_yql_sys_tsp_write_time\")\n(let $9 \'\"_yql_sys_partition_id\")\n(let $10 \'\"_yql_sys_message_group_id\")\n(let $11 \'(\'(\'\"system\" $7) \'(\'\"system\" $8) \'(\'\"system\" $9) \'(\'\"system\" \'\"_yql_sys_offset\") \'(\'\"system\" $10) \'(\'\"system\" \'\"_yql_sys_seq_no\")))\n(let $12 (DataType \'Int32))\n(let $13 \'(\'time $12))\n(let $14 (StructType $13))\n(let $15 (PqTopic \'\"yds\" \'\"local\" \'\"test_metadatafields_input\" $6 $11 $14))\n(let $16 \'(\'\"Endpoint\" \'\"localhost:11957\"))\n(let $17 \'(\'\"SharedReading\" \'1))\n(let $18 \'(\'\"AddBearerToToken\" \'1))\n(let $19 \'($16 $17 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"json_each_row\") \'(\'\"ReadGroup\" \'\"ptcudslmqk7kv9j5k4up\") $18))\n(let $20 (SecureParam \'\"cluster:default_yds\"))\n(let $21 (DataType \'Timestamp))\n(let $22 (DataType \'String))\n(let $23 (DataType \'Uint64))\n(let $24 (StructType \'($7 $21) \'($10 $22) \'(\'\"_yql_sys_offset\" $23) \'($9 $23) \'(\'\"_yql_sys_seq_no\" $23) \'($8 $21) $13))\n(let $25 (DqPqTopicSource $4 $15 \'(\'time) $19 $20 \'\"\" $24 \'\"\"))\n(let $26 (DqStage \'((DqSource $5 $25)) (lambda \'($30) (block \'(\n  (let $31 \'($7 $8 $9 \'\"_yql_sys_offset\" $10 \'\"_yql_sys_seq_no\"))\n  (let $32 \'(\'(\'\"format\" \'\"json_each_row\") \'(\'\"metadataColumns\" $31) \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($17))))\n  (let $33 (DqSourceWideWrap $30 $5 $24 $32))\n  (return (NarrowMap $33 (lambda \'($34 $35 $36 $37 $38 $39 $40) (AsStruct \'($7 $34) \'($10 $35) \'(\'\"_yql_sys_offset\" $36) \'($9 $37) \'(\'\"_yql_sys_seq_no\" $38) \'($8 $39) \'(\'time $40)))))\n))) \'(\'(\'\"_logical_id\" \'209957))))\n(let $27 (DataSink \'\"pq\" \'\"yds\"))\n(let $28 (PqTopic \'\"yds\" \'\"local\" \'\"test_metadatafields_output\" $6 \'() (StructType \'(\'\"Data\" $22))))\n(let $29 (DqPqTopicSink $28 \'($16 $18) $20))\n(return (Commit! (DqQuery! $4 \'((DqStage \'((DqCnUnionAll (TDqOutput $26 \'0))) (lambda \'($41) (block \'(\n  (let $42 (TimeOrderRecover $41 (lambda \'($48) (SafeCast (Member $48 \'time) (OptionalType $21))) (Interval \'\"-10\") (Interval \'\"10\") (Uint32 \'\"1000000\")))\n  (let $43 \'(\'\"A\"))\n  (let $44 (MatchRecognizeMeasures $24 $43 \'(\'\"b_key\") (lambda \'($52 $53) (block \'(\n    (let $54 (lambda \'($61) $61))\n    (let $55 (AggregationTraits $14 (lambda \'($58) (Member $58 \'time)) (lambda \'($59 $60) (Member $59 \'time)) $54 $54 (lambda \'($62 $63) $62) $54 (Null)))\n    (return (Member (Head (Aggregate (OrderedFlatMap (OrderedFlatMap (Member $53 \'\"A\") (lambda \'($56) (ListFromRange (Member $56 \'\"From\") (+ (Member $56 \'\"To\") (Uint64 \'1)) (Int64 \'1)))) (lambda \'($57) (Just (AsStruct \'(\'time (Member (Unwrap (Lookup (ToIndexDict $52) $57)) \'time)))))) \'() \'(\'(\'Last0 $55)) \'())) \'Last0))\n  )))))\n  (let $45 (MatchRecognizeDefines $24 $43 $43 (lambda \'($64 $65 $66) (> (Member (Lookup (ToIndexDict $64) $66) \'time) (Int32 \'\"4\")))))\n  (let $46 (MatchRecognizeParams $44 \'\"RowsPerMatch_OneRow\" \'(\'\"AfterMatchSkip_PastLastRow\" \'\"\") (MatchRecognizePattern \'(\'(\'\"A\" \'1 \'1 \'1 \'1 \'0))) $45))\n  (let $47 (MatchRecognizeCore (OrderedFlatMap $42 (lambda \'($49) (block \'(\n    (let $50 (AsStruct \'($7 (Member $49 $7)) \'($10 (Member $49 $10)) \'(\'\"_yql_sys_offset\" (Member $49 \'\"_yql_sys_offset\")) \'($9 (Member $49 $9)) \'(\'\"_yql_sys_seq_no\" (Member $49 \'\"_yql_sys_seq_no\")) \'($8 (Member $49 $8)) \'(\'time (Member $49 \'time))))\n    (return (OptionalIf (Not (Member $49 \'\"_yql_OutOfOrder\")) $50))\n  )))) (lambda \'($51) \'()) \'() $46 \'(\'(\'\"Streaming\" \'1))))\n  (return (FromFlow (FlatMap $47 (lambda \'($67) (block \'(\n    (let $68 (ResourceType \'\"Yson2.Node\"))\n    (let $69 \'($68 \'\"\" \'1))\n    (let $70 (ResourceType \'\"Yson2.Options\"))\n    (let $71 (OptionalType (DataType \'Bool)))\n    (let $72 (CallableType \'(\'\"4\") \'((OptionalType (DataType \'Json))) $69 \'((OptionalType $70)) \'($71 \'\"SkipMapEntity\") \'($71 \'\"EncodeUtf8\") \'($71 \'\"WriteNanAsString\")))\n    (let $73 (Udf \'\"Yson2.SerializeJson\" (Void) (VoidType) \'\"\" $72 (VoidType) \'\"\" \'()))\n    (let $74 (StructType \'(\'\"b_key\" (OptionalType $12))))\n    (let $75 (TupleType (TupleType $74) (StructType) (TupleType)))\n    (let $76 (CallableType \'() \'($68) \'($74)))\n    (let $77 \'(\'(\'\"strict\")))\n    (let $78 (Udf \'\"Yson2.From\" (Void) $75 \'\"\" $76 (VoidType) \'\"\" $77))\n    (let $79 (CallableType \'(\'\"2\") \'($70) \'($71 \'\"AutoConvert\") \'($71 \'\"Strict\")))\n    (let $80 (Udf \'\"Yson2.Options\" (Void) (VoidType) \'\"\" $79 (VoidType) \'\"\" $77))\n    (return (Just (AsStruct \'(\'\"column0\" (ToBytes (Unwrap (Apply $73 (Apply $78 $67) (Just (NamedApply $80 \'() (AsStruct \'(\'\"AutoConvert\" (Just (Bool \'false))) \'(\'\"Strict\" (Just (Bool \'true)))))))))))))\n  ))))))\n))) \'(\'(\'\"_logical_id\" \'211062) \'(\'\"_partition_mode\" \'\"aggregate\")) \'((DqSink \'0 $27 $29))))) $27))\n)\n" plan: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"TimeOrderRecover\"},{\"Name\":\"OrderedFlatMap\"},{\"Name\":\"MatchRecognizeCore\"},{\"Name\":\"FlatMap\"},{\"Name\":\"FromFlow\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}" }
2025-11-11T14:16:21.646273Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.646325Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { transient_issues { message: "Parse Sql" severity: 2 issues { position { row: 6 column: 41 } message: "Json UDF is deprecated. Please use JSON API instead" end_position { row: 6 column: 41 } issue_code: 4506 severity: 2 } } }
2025-11-11T14:16:21.646357Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { dq_graph: "\022\377\010\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*\211\006Z\206\006\n\010PqSource\022\367\005\n4type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSource\022\276\005\n\031test_metadatafields_input\022\024ptqudslmqjs79hp24ued\032\017localhost:11957\"\025\n\023cluster:default_yds*\005local0\002@\001R\024_yql_sys_create_timeR\027_yql_sys_tsp_write_timeR\025_yql_sys_partition_idR\017_yql_sys_offsetR\031_yql_sys_message_group_idR\017_yql_sys_seq_nob\004timej\024[\"DataType\";\"Int32\"]x\001\222\001\024ptcudslmqk7kv9j5k4up\232\001\rjson_each_row\242\001\315\002[\"StructType\";[[\"_yql_sys_create_time\";[\"DataType\";\"Timestamp\"]];[\"_yql_sys_message_group_id\";[\"DataType\";\"String\"]];[\"_yql_sys_offset\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_partition_id\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_seq_no\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_tsp_write_time\";[\"DataType\";\"Timestamp\"]];[\"time\";[\"DataType\";\"Int32\"]]]]\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\222\205\r`\246\205\rR\000:\203\001\n*type.googleapis.com/Yql.DqsProto.TTaskMeta\022U\010\222\205\r\022A\022(8d73c3b672aec01e659c446142c7a17d47fb7b86\032\023dq_vanilla_job.lite \002\"\014\n\002pq\022\006\n\004\010\001\030\001H\222\205\rRClocal/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiterZ)mock_cloud/my_folder/ptqudslmqjs79hp24ued`\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\222\205\r`\246\205\rR\0002\223\001z\220\001\n\006PqSink\022\205\001\n2type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSink\022O\n\032test_metadatafields_output\022\017localhost:11957\032\025\n\023cluster:default_yds\"\005local0\0018\002:u\n*type.googleapis.com/Yql.DqsProto.TTaskMeta\022G\010\246\205\r\022A\022(8d73c3b672aec01e659c446142c7a17d47fb7b86\032\023dq_vanilla_job.lite \002H\246\205\rRClocal/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiterZ)mock_cloud/my_folder/ptqudslmqjs79hp24ued`\200\200\200\200 \230\001\000\300\001\001\312\001\010/compute2qptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#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\326\004\010\222\205\r\022\317\004\037\022\006Arg(_yql_sys_create_time2_yql_sys_message_group_id\036_yql_sys_offset*_yql_sys_partition_id\036_yql_sys_seq_no._yql_sys_tsp_write_time\010time\014Member\005\205\006\213\002\204\205\016\203d\203\005@\203\010?\004?\004?\000\203\002\006\n\016\022\026\032\036\205\000\204\205\016?\000?\002?\004?\004?\004?\000?\006\006\n\016\022\026\032\036\030Inputs(Parameters\034Program\013?\014)\251\000?\n\002\000 \000)\251\000?\016\002\000*)\211\002?\022\215?\020 FromFlow\000)\211\022? \215\233\016?\000?\002?\004?\004?\004?\000?\006?\000?\002?\004?\004?\004?\000?\006?\020$NarrowMap\000)\211\022?&\215?\010?\010?\000?\002?\004?\004?\004?\000?\006$ExpandMap\000)\211\002?*?\n\030ToFlow\000?\030\000\")\251\000?\010\002\000\020)\211\004?\000?\010\203\004\"\000?4\003?6\000\002\036)\211\004?\002?\010\203\004\"\000?4\003?>\002\002\034)\211\004?\004?\010\203\004\"\000?4\003?F\004\002\032)\211\004?\004?\010\203\004\"\000?4\003?N\006\002\030)\211\004?\004?\010\203\004\"\000?4\003?V\010\002\026)\211\004?\000?\010\203\004\"\000?4\003?^\n\002\024)\211\004?\006?\010\203\004\"\000?4\003?f\014\002\022\000\000$)\251\000?\000\002\000\016)\251\000?\002\002\000\014)\251\000?\004\002\000\n)\251\000?\004\002\000\010)\251\000?\004\002\000\006)\251\000?\000\002\000\004)\251\000?\006\002\000\002\005?\020?r?v?z?~?\202?\206?\212\000\000\001&\000(\001/b\360\023\010\246\205\r\022\351\023\0374\nFlags\010Name\010Args\016Payload\000\006Udf\014Apply2\nb_key\006Arg\014Unwrap\nIndex\024SourceType(_yql_sys_create_time2_yql_sys_message_group_id\036_yql_sys_offset*_yql_sys_partition_id\036_yql_sys_seq_no._yql_sys_tsp_write_time\010time\026ToIndexDict\014Lookup\014Member\014Invoke\016Collect\014ToFlow\006Map\005\205\006\213\002\204\205\016\203d\203\005@\203\010?\004?\004?\000\203\00226:>BFJ\205\000\204\205\002\203\005@\034column0\030Inputs(Parameters\034Program\013?\014)\251\000?\n\"\000r\000)\251\000?\016\"\000\202)\211\002?\024\215?\022 FromFlow\000)\211\006?\"\215\205\002\207?\006\036?(?\022f\000)\211(?*\215\205\016?\000?\002?\004?\004?\004?\000?\00626:>BFJ?.\213\000\206\203\004\206\205\022\203\001H\203\010?\000?\002?\004?\004?\004?\000?\006<_yql_Classifier@_yql_MatchNumber26:>BFJ\206?4\203\004\205\002\206\205\004\203\010\203\010\020From\010To\004A\206?4?&\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?0\215\205\020\203\014?\000?\002?\004?\004?\004?\000?\006<_yql_OutOfOrder26:>BFJ?\202?.(OrderedMap\000)\211\006?\204?\204?\202?\2004OrderedFilter\000)\211\020?\204\215?\010?\010\207\203d\203\004\203\004\203f\203f\203\004@TimeOrderRecover\000)\211\002?\212?\nb\000?\032\000t)\251\000?\010\"\000l)\211\004?\216\203\005@?\006Z\000\003?\244\024ToIntegral)\211\004?\006?\010\203\004V\000?\242\003?\252\014\002n\001p\003?\220\016\003?\222\000\003?\224&\003?\226(\003?\230\003\022z\370v)\251\000?\202\"\000f)\211\002?\200?\200\014Not\000)\211\004?\200?\202\203\004V\000?\302\003?\306\000\002h\000j\000x)\251\000?\202\"\000V\005?.)\211\004?\000?\202\203\004V\000?\324\003?\326\002\002d)\211\004?\002?\202\203\004V\000?\324\003?\336\004\002b)\211\004?\004?\202\203\004V\000?\324\003?\346\006\002`)\211\004?\004?\202\203\004V\000?\324\003?\356\010\002^)\211\004?\004?\202\203\004V\000?\324\003?\366\n\002\\)\211\004?\000?\202\203\004V\000?\324\003?\376\014\002Z)\211\004?\006?\202\203\004V\000?\324\003?\r\002\016\002X\000\004z)\251\000?.\"\000T\013\213\000\006\000?6)\251\000?>\"\000$\006\004?@\003\203\004\000\003\203\004\002\003\003?B\016)\251\000?L\"\000@\006\002?N\003\203\004\000\001)\211\004?&\207\205\002?\006\024Last0\203\004V\000)\211\002?q\002\206?m\002\020Head\000)\211\006?}\002\206?\006?\006?m\002f\000)\211\002?\205\002\215?\006^\000)\211\014?\215\002\215?D?D?\006?\006\203\014?\006$Condense1\000)\211\002?\225\002\206?Db\000)\211\002?\241\002\206?D^\000)\211\006?\251\002?J?H\206?D8OrderedFlatMap\000)\211\004?J?L\203\004V\000?]\002\003?\271\002\000\002B)\251\000?H\"\0006)\211\006?\261\002?D\203\010\203\0064ListFromRange\000)\211\004?D?H\203\004V\000?\315\002\003?\335\002\000\002<)\211\006?\321\002\203\005@?F\203\010Z\000\003?\355\002\006Add)\211\004?F?H\203\004V\000?\315\002\003?\375\002\002\0028\003?\361\002\002\005:\003?\325\002\004\004>\000D\000F\000H)\251\000?D\"\000\")\211\004?\006?<\203\004V\000)\211\n?<\207?<\203\005@\203\005@\203\004\203\004&\000)\211\004?9\003\210\203\010?<?DR\000)\211\002?U\003?>N\000?=\002\000&?-\003\0000\003?=\003\000\003?A\003\000\003?E\003\024\003?I\003<\0362\003?1\003\020\0024)\251\000?\006\"\000.\003?\231\002\000)\211\004?\006?<\203\004V\000)\211\n?<\207?<\203\005@\203\005@\203\004\203\004&\000)\211\004?\231\003?U\003?DR\000?a\003?-\003\000(\003?\235\003\000\003?\241\003\000\003?\245\003\024\003?\251\003<\036*\003?\221\003\020\002,\020J\000L)\251\000?\006\"\000 \005?m\002?\341\003\000\004N\000P\003?u\002\000\002R\013?`\013?^\013?\\\003?P\002A\003?R\002\003?T\002\003?V\001\003?X\001\003?Z\000?\001\001)\251\000?b\"\000\024)\251\000?d\"\000\026\006\002?h\003\203\005@\002A\001)\211\006?l\203\005@\207?\006\203\002Z\000\003?9\004\016Greater)\211\004?=\004\207?.\203\004V\000)\211\004?M\004\210\203\010?.?bR\000)\211\002?]\004?dN\000?)\004\000\030?!\004\000\032\003?Q\004\014\002\034\003?A\004\020\005\036\003?n\001\003?p\004\003?r\000\003?t\000\006\002?|\005\205\004\203\010\203\002*.\003?\221\004\000\003?\225\004\004\003\001l\245\017|)\251\000?(\"\000\006\005?\022)\211\002?\020\203\tH\034ToBytes\000)\211\n?\271\004\207?\271\004\203\005@\203\005@\203\004\203\004&\000)\211\016?\301\004\311\n?\301\004\214(Yson2.Node\207\2144Yson2.Options\207\203\014?\351\004?\351\004\005\205\004\206\205\004\203\010\203\005@\002\006\203\005@\n\016\006\n?\371\004\005\205\004\203\010\203\005@\002\006\003?\005\005\002\003?\t\005\000\003\005\205\004\203\010\203\005@\002\006\003?\035\005\000\003?!\005\000\003\005\205\004\203\010\203\005@\002\006\003?5\005\000\003?9\005\032SkipMapEntity\003\005\205\004\203\010\203\005@\002\006\003?M\005\000\003?Q\005\024EncodeUtf8\003\005\205\004\203\010\203\005@\002\006\003?e\005\000\003?i\005 WriteNanAsString\003\037\003?\375\004\000\003\022\010\203\004\203\005@\203\004\203\004?\331\004\207?\335\004\032\000)\211\016?\211\005\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?\245\005&Yson2.SerializeJson\202\003?\251\005\000\002\003?\255\005\000\003?\261\005\014\003?\265\005R\177\014\003?\215\005\000\003?\221\005\000\003?\225\005\014\003?\231\005R)\211\014?\331\004\211\002?\331\004\205\002\207\203\002\036\022\000\203\004\203\005@\203\004\203\004?(\032\000)\211\016?\361\005\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?\t\006\024Yson2.From\213\006\213\002?\355\005?\016\213\000\003?\r\006\000\002\003?\021\006\000\003?\025\006\014\003?\031\006z\177\010\003?\365\005\000\003?\371\005\000\003?\375\005\014\003?\001\006z?\265\004\036\n\027?\235\005)\211\016?\335\004\311\004?\335\004?\351\004?\351\004\005\205\004\206\205\004\203\010\203\005@\002\006\203\005@\n\016\006\004?e\006\005\205\004\203\010\203\005@\002\006\003?q\006\000\003?u\006\026AutoConvert\003\005\205\004\203\010\203\005@\002\006\003?\211\006\000\003?\215\006\014Strict\003\003\003?i\006\000\003\022\004\203\004\203\005@\203\004\203\004\207?\231\002\207\203\014\032\000)\211\016?\255\006\203\005@\200\203\005@\202\203\005@\203\004\203\004\026\000\003?\321\006\032Yson2.Options\202\003?\325\006\000\002\003?\331\006\000\003?\335\006\014\003?\341\006R\177\002\003?\261\006\000\003?\265\006\000\003?\271\006\014\003?\275\006R7?\301\006?\215\0037?\311\006\003?\305\006\001~\004^\016\003?\305\004\000\003?\311\004\000\003?\315\004\014\003?\321\0048\036\020\000\022\000\004~\000\200\001/" }
2025-11-11T14:16:21.666974Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 654000000 } }
2025-11-11T14:16:21.667008Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.667043Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:16:21.681576Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 672000000 } }
2025-11-11T14:16:21.681604Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.681635Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 5
2025-11-11T14:16:21.695122Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 687000000 } }
2025-11-11T14:16:21.695160Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 1
2025-11-11T14:16:21.695217Z :STREAMS DEBUG: read_rule_creator.cpp:240: ptqudslmqjs79hp24ued: Create read rule creation actor for `test_metadatafields_input` [0]
2025-11-11T14:16:21.695248Z :STREAMS DEBUG: read_rule_creator.cpp:110: ptqudslmqjs79hp24ued: Make request for read rule creation for topic `test_metadatafields_input` [0]
2025-11-11T14:16:21.695252Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { owner_id: "94ce2b4a-c4fd22cd-5c6abde4-677eedff4" query_id { value: "ptqudslmqjs79hp24ued" } status: RUNNING resources { rate_limiter: READY compilation: READY topic_consumers_state: PREPARE rate_limiter_path: "local/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiter" topic_consumers { database: "local" topic_path: "test_metadatafields_input" consumer_name: "ptqudslmqjs79hp24ued" cluster_endpoint: "localhost:11957" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" }
2025-11-11T14:16:21.695257Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.710570Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 703000000 } }
2025-11-11T14:16:21.710612Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:16:21.722829Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1405: QueryId: ptqudslmqjs79hp24ued Read rules creation finished. Issues: 0
2025-11-11T14:16:21.722865Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:911: QueryId: ptqudslmqjs79hp24ued Overall dq tasks: 2
2025-11-11T14:16:21.722927Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { owner_id: "94ce2b4a-c4fd22cd-5c6abde4-677eedff4" query_id { value: "ptqudslmqjs79hp24ued" } status: RUNNING resources { rate_limiter: READY compilation: READY topic_consumers_state: READY rate_limiter_path: "local/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiter" topic_consumers { database: "local" topic_path: "test_metadatafields_input" consumer_name: "ptqudslmqjs79hp24ued" cluster_endpoint: "localhost:11957" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" }
2025-11-11T14:16:21.722936Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:21.723079Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1599: QueryId: ptqudslmqjs79hp24ued ResultWriter was NOT CREATED since ResultType is empty
2025-11-11T14:16:21.723202Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.723 DEBUG ydbd(pid=945090, tid=0x00007FC687633640) [DQ] task_controller_impl.h:86: _RowsLimitPerWrite = 0
2025-11-11T14:16:21.723284Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1653: QueryId: ptqudslmqjs79hp24ued Executer: [2:7571471493335860583:2147], Controller: [2:7571471493335860585:2149], ResultIdActor: [2:7571471493335860583:2147]
2025-11-11T14:16:21.723320Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.723 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:140: {ptqudslmqjs79hp24ued} TDqExecuter::OnGraph
2025-11-11T14:16:21.723345Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.723 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:157: {ptqudslmqjs79hp24ued} Trying to allocate 2 workers [EnableComputeActor=1]
2025-11-11T14:16:21.723498Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.723 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:247: {ptqudslmqjs79hp24ued} Dq timeouts are set to: 0.000000s (global), 600.000000s (workers allocation fail), 30.000000s (workers allocation warn) 
2025-11-11T14:16:21.724299Z :YQL_NODES_MANAGER DEBUG: nodes_manager.cpp:125: TEvAllocateWorkersResponse Nodes {
  ResourceId: 4294967298
  Worker {
    NodeId: 2
    Guid: "39d6451c-4c5f566a-4de861ac-7131a0d5,ghrun-vb3yoermsa"
  }
  Worker {
    NodeId: 1
    Guid: "8f970bed-4fee6c02-dff93cb6-f1c5900,ghrun-vb3yoermsa"
  }
}
2025-11-11T14:16:21.725196Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:134: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Start compute actor [2:7571471493335860587:2151], task: 1
2025-11-11T14:16:21.725231Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:113: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Use CPU quota: 1. Rate limiter resource: { "local/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiter", "mock_cloud/my_folder/ptqudslmqjs79hp24ued" }
2025-11-11T14:16:21.725238Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 94ce2b4a-c4fd22cd-5c6abde4-677eedff 2025-11-11 14:16:21.725 DEBUG ydbd(pid=945090, tid=0x00007FC686E32640) [DQ] resource_allocator.cpp:141: {ptqudslmqjs79hp24ued/[2:7571471493335860586:2150]} TEvAllocateWorkersResponse 2
2025-11-11T14:16:21.737839Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870601 nanos: 731000000 } }
2025-11-11T14:16:21.737877Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 0
2025-11-11T14:16:21.780555Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:358: {ptqudslmqjs79hp24ued} TDqExecuter::TEvAllocateWorkersResponse
2025-11-11T14:16:21.780577Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:384: {ptqudslmqjs79hp24ued} Allocated resource 4294967298
2025-11-11T14:16:21.780629Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:401: {ptqudslmqjs79hp24ued} WorkerInfo: Id:39d6451c-4c5f566a-4de861ac-7131a0d5,ghrun-vb3yoermsa,NodeId:2,StageId:213650
2025-11-11T14:16:21.780637Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:402: {ptqudslmqjs79hp24ued} TaskInfo: 0/1
2025-11-11T14:16:21.780644Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:404: {ptqudslmqjs79hp24ued}  ObjectId: 8d73c3b672aec01e659c446142c7a17d47fb7b86, dq_vanilla_job.lite, 
2025-11-11T14:16:21.780669Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:401: {ptqudslmqjs79hp24ued} WorkerInfo: Id:8f970bed-4fee6c02-dff93cb6-f1c5900,ghrun-vb3yoermsa,NodeId:1,StageId:213670
2025-11-11T14:16:21.780676Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:402: {ptqudslmqjs79hp24ued} TaskInfo: 1/2
2025-11-11T14:16:21.780682Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:404: {ptqudslmqjs79hp24ued}  ObjectId: 8d73c3b672aec01e659c446142c7a17d47fb7b86, dq_vanilla_job.lite, 
2025-11-11T14:16:21.780695Z :YQL_PROXY INFO: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:21.780 INFO  ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:415: {ptqudslmqjs79hp24ued} 2 workers allocated
2025-11-11T14:16:21.780825Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:21.780 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:21.780856Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:526: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Ready State: [2:7571471493335860585:2149]
2025-11-11T14:16:21.780865Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:21.780 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:537: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Forward: [2:7571471493335860585:2149] to [2:7571471493335860584:2148]
2025-11-11T14:16:21.780901Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:70: [ptqudslmqjs79hp24ued-0.1] TEvReadyState, streaming disposition { fresh { } }, state load mode EMPTY, checkpointing period 1.000000s
2025-11-11T14:16:21.780916Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:104: [ptqudslmqjs79hp24ued-0.1] AllActors count: 2, ActorsToTrigger count: 1, ActorsToNotify count: 2, ActorsToWaitFor count: 2
2025-11-11T14:16:21.780918Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:114: [ptqudslmqjs79hp24ued-0.1] Send TEvRegisterCoordinatorRequest
2025-11-11T14:16:21.780927Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:229: [ptqudslmqjs79hp24ued-0.1] Got TEvRegisterCoordinatorRequest
2025-11-11T14:16:21.815748Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1370: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Create source for input 0 { Source { Type: "PqSource" Settings { type_url: "type.googleapis.com/NYql.NPq.NProto.TDqPqTopicSource" value: "\n\031test_metadatafields_input\022\024ptqudslmqjs79hp24ued\032\017localhost:11957\"\025\n\023cluster:default_yds*\005local0\002@\001R\024_yql_sys_create_timeR\027_yql_sys_tsp_write_timeR\025_yql_sys_partition_idR\017_yql_sys_offsetR\031_yql_sys_message_group_idR\017_yql_sys_seq_nob\004timej\024[\"DataType\";\"Int32\"]x\001\222\001\024ptcudslmqk7kv9j5k4up\232\001\rjson_each_row\242\001\315\002[\"StructType\";[[\"_yql_sys_create_time\";[\"DataType\";\"Timestamp\"]];[\"_yql_sys_message_group_id\";[\"DataType\";\"String\"]];[\"_yql_sys_offset\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_partition_id\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_seq_no\";[\"DataType\";\"Uint64\"]];[\"_yql_sys_tsp_write_time\";[\"DataType\";\"Timestamp\"]];[\"time\";[\"DataType\";\"Int32\"]]]]\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:16:21.816044Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:544: SelfId: [0:0:0], TxId: ptqudslmqjs79hp24ued, task: 1. PQ source. Start read actor, local row dispatcher [0:5788050504107380562:5260383], metadatafields: _yql_sys_create_time,_yql_sys_tsp_write_time,_yql_sys_partition_id,_yql_sys_offset,_yql_sys_message_group_id,_yql_sys_seq_no, partitions: 0, skip json errors: 0
2025-11-11T14:16:21.816109Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:153: SelfId: [0:0:0], TxId: ptqudslmqjs79hp24ued, 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:16:21.816303Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:21.816 TRACE ydbd(pid=945090, tid=0x00007FC687633640) [DQ] task_controller_impl.h:160: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} [2:7571471493335860585:2149] EvState TaskId: 1 State: 2 PingCookie: 0 StatusCode: UNSPECIFIED
2025-11-11T14:16:21.816316Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:21.816 TRACE ydbd(pid=945090, tid=0x00007FC687633640) [DQ] task_controller_impl.h:201: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] Executing TaskId: 1
2025-11-11T14:16:21.837874Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:243: [ptqudslmqjs79hp24ued-0.1] Graph registered
2025-11-11T14:16:21.837885Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:245: [ptqudslmqjs79hp24ued-0.1] Send TEvRegisterCoordinatorResponse
2025-11-11T14:16:21.837991Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:131: [ptqudslmqjs79hp24ued-0.1] Got TEvRegisterCoordinatorResponse; issues: 
2025-11-11T14:16:21.837997Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:140: [ptqudslmqjs79hp24ued-0.1] Successfully registered in storage
2025-11-11T14:16:21.838000Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:141: [ptqudslmqjs79hp24ued-0.1] Send TEvNewCheckpointCoordinator to 2 actor(s)
2025-11-11T14:16:21.838018Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:1] Registering new checkpoint in storage
2025-11-11T14:16:21.838119Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvCreateCheckpointRequest
2025-11-11T14:16:21.838129Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:197: [] Task: 1. Got TEvNewCheckpointCoordinator event: generation 1, actorId: [2:7571471493335860584:2148]
2025-11-11T14:16:21.838131Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:208: [] Task: 1. Assign checkpoint coordinator (generation = 1)
2025-11-11T14:16:21.838715Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:622: [ptqudslmqjs79hp24ued-0.1] Handle connected node 1
2025-11-11T14:16:21.914164Z :INTERCONNECT ERROR: interconnect_nameserver_dynamic.cpp:61:  ICN06 Unknown nodeId: 3
2025-11-11T14:16:21.986144Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:1] Checkpoint created
2025-11-11T14:16:21.986157Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:1] Send TEvCreateCheckpointResponse
2025-11-11T14:16:21.986220Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvCreateCheckpointResponse
2025-11-11T14:16:22.009749Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:1] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:22.009756Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.009 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:160: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} [2:7571471493335860585:2149] EvState TaskId: 2 State: 2 PingCookie: 0 StatusCode: UNSPECIFIED
2025-11-11T14:16:22.009771Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.009 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:201: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] Executing TaskId: 2
2025-11-11T14:16:22.009778Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:445: [ptqudslmqjs79hp24ued-0.1] Send TEvRun to all actors
2025-11-11T14:16:22.009789Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.009 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:561: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} Update channels
2025-11-11T14:16:22.009804Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.1] TEvInjectCheckpoint
2025-11-11T14:16:22.009814Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1174: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Got TEvRun from actor [2:7571471493335860584:2148]
2025-11-11T14:16:22.009933Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.009945Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:22.009948Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:22.010000Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: 94ce2b4a-c4fd22cd-5c6abde4-677eedff 2025-11-11 14:16:22.009 DEBUG ydbd(pid=945090, tid=0x00007FC686E32640) [DQ] tasks_runner_local.cpp:267: {TODO/1} Run task: 1
2025-11-11T14:16:22.010050Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:22.010061Z :KQP_COMPUTE TRACE: dq_compute_memory_quota.h:97: TxId: ptqudslmqjs79hp24ued, task: 1. Peak memory usage: 131072
2025-11-11T14:16:22.010069Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.010097Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:22.010101Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.1] Performing task checkpoint
2025-11-11T14:16:22.010104Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:22.010111Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [0:0:0], TxId: ptqudslmqjs79hp24ued, task: 1. PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:22.010120Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.1] CA state saved
2025-11-11T14:16:22.010122Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.1] Injecting checkpoint barrier to outputs
2025-11-11T14:16:22.010133Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.1] Task checkpoint is done. Send to storage
2025-11-11T14:16:22.010136Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.010138Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:409: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Can not drain channelId: 1, no dst actor id
2025-11-11T14:16:22.010141Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1105: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Ask CPU quota: 91ms
2025-11-11T14:16:22.010156Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:1] Got TEvSaveTaskState: task 1
2025-11-11T14:16:22.010512Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.009 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:577: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} 1 Update { Id: 1 TransportVersion: DATA_TRANSPORT_UV_PICKLE_1_0 SrcTaskId: 1 DstTaskId: 2 SrcEndpoint { ActorId { RawX1: 7571471493335860587 RawX2: 4503608217307239 } } DstEndpoint { ActorId { RawX1: 7571471495577973543 RawX2: 4503603922339933 } } SrcStageId: 213650 DstStageId: 213670 }
2025-11-11T14:16:22.010551Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.010 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:577: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} 2 Update { Id: 1 TransportVersion: DATA_TRANSPORT_UV_PICKLE_1_0 SrcTaskId: 1 DstTaskId: 2 SrcEndpoint { ActorId { RawX1: 7571471493335860587 RawX2: 4503608217307239 } } DstEndpoint { ActorId { RawX1: 7571471495577973543 RawX2: 4503603922339933 } } SrcStageId: 213650 DstStageId: 213670 }
2025-11-11T14:16:22.010597Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1074: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Received channels info: Update { Id: 1 TransportVersion: DATA_TRANSPORT_UV_PICKLE_1_0 SrcTaskId: 1 DstTaskId: 2 SrcEndpoint { ActorId { RawX1: 7571471493335860587 RawX2: 4503608217307239 } } DstEndpoint { ActorId { RawX1: 7571471495577973543 RawX2: 4503603922339933 } } SrcStageId: 213650 DstStageId: 213670 }
2025-11-11T14:16:22.010606Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:1093: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Update output channelId: 1, peer: [1:7571471495577973543:2141]
2025-11-11T14:16:22.010610Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.010612Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:22.010617Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [0:0:0], TxId: ptqudslmqjs79hp24ued, task: 1. PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:22.010626Z :KQP_COMPUTE DEBUG: dq_pq_rd_read_actor.cpp:1489: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Switch to single-cluster mode
2025-11-11T14:16:22.010629Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:595: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvCoordinatorChangesSubscribe to local RD ([0:5788050504107380562:5260383])
2025-11-11T14:16:22.010638Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:622: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvCoordinatorChangesSubscribe to local row dispatcher, self id [2:7571471493335860590:2151]
2025-11-11T14:16:22.010645Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:22.010662Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:22.010671Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:627: RowDispatcher: TEvCoordinatorChangesSubscribe from [2:7571471493335860590:2151]
2025-11-11T14:16:22.010677Z :FQ_ROW_DISPATCHER DEBUG: row_dispatcher.cpp:627: RowDispatcher: TEvCoordinatorChangesSubscribe from [2:7571471493335860590:2151]
2025-11-11T14:16:22.010682Z :KQP_COMPUTE DEBUG: dq_pq_rd_read_actor.cpp:983: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. TEvCoordinatorChanged, new coordinator [1:7571471469808169584:2082]
2025-11-11T14:16:22.010687Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:642: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvCoordinatorRequest to coordinator [1:7571471469808169584:2082], partIds: 0 cookie 1
2025-11-11T14:16:22.010706Z :KQP_COMPUTE DEBUG: dq_pq_rd_read_actor.cpp:983: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. TEvCoordinatorChanged, new coordinator [1:7571471469808169584:2082]
2025-11-11T14:16:22.010782Z :KQP_COMPUTE DEBUG: dq_pq_rd_read_actor.cpp:1052: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. EvNodeConnected 1
2025-11-11T14:16:22.011009Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1027: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvCoordinatorResult from [1:7571471469808169584:2082], cookie 1
2025-11-11T14:16:22.011026Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1326: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. UpdateSessions, Sessions size 0
2025-11-11T14:16:22.011029Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1329: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Distribution is changed, remove sessions
2025-11-11T14:16:22.011037Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1348: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Create session to [1:7571471469808169544:2063], generation 1
2025-11-11T14:16:22.011047Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:706: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvStartSession to [1:7571471469808169544:2063], connection id 1 partitions offsets (0 / <empty>),
2025-11-11T14:16:22.011334Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:937: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvRetry, EventQueueId 1
2025-11-11T14:16:22.011368Z :KQP_COMPUTE DEBUG: dq_pq_rd_read_actor.cpp:1052: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. EvNodeConnected 1
2025-11-11T14:16:22.012589Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:848: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvStartSessionAck from [1:7571471469808169544:2063], seqNo 1, ConfirmedSeqNo 1, generation 1
2025-11-11T14:16:22.012653Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:1162: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. CPU quota delay: 2ms
2025-11-11T14:16:22.012692Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.012719Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:22.012729Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.012735Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:22.012751Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 1, finished: 0
2025-11-11T14:16:22.012763Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.012765Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:22.012767Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:22.012771Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:22.012787Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:22.012805Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.012815Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:22.012816Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.012819Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:22.013125Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 1, lastSentSeqNo: 1, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:22.013135Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 1, ackSeqNo: 1
2025-11-11T14:16:22.013136Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:22.013140Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.013141Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:22.013142Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:22.013144Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:22.013149Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:22.013163Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.013171Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:22.013172Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.013175Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:22.030314Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:1] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:22.030325Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:1] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:22.030377Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:22.030383Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:1] Task state saved, need 1 more acks
2025-11-11T14:16:22.030500Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:22.030507Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:1] Task state saved, need 0 more acks
2025-11-11T14:16:22.030510Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:1] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:22.030532Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:949: QueryId: ptqudslmqjs79hp24ued Coordinator saved zero checkpoint
2025-11-11T14:16:22.030535Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:22.030581Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { state_load_mode: FROM_LAST_CHECKPOINT disposition { from_last_checkpoint { } } }
2025-11-11T14:16:22.030595Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:22.044172Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870602 nanos: 38000000 } }
2025-11-11T14:16:22.044213Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 4
2025-11-11T14:16:22.044230Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:649: [ptqudslmqjs79hp24ued-0.1] Got TEvRunGraph
2025-11-11T14:16:22.102463Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:1] Status updated to 'PendingCommit'
2025-11-11T14:16:22.102476Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:1] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:22.102519Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:22.102525Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:1] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:22.102566Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:22.102612Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvStateCommitted; task: 1
2025-11-11T14:16:22.102623Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:1] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:22.102907Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvStateCommitted; task: 2
2025-11-11T14:16:22.102918Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:1] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:22.102920Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:1] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:22.102935Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:22.130460Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:1] Status updated to 'Completed'
2025-11-11T14:16:22.130473Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:1] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:22.130505Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:1] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:22.130512Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:1] Checkpoint completed
2025-11-11T14:16:22.217658Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:22.217682Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:22.217696Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff6, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:22.222451Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:22.229535Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:22.229546Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:22.781738Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:22.781 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:22.781946Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"TaskRunner\":{\"Stage=213650\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:22.781950Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:22.804217Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870602 nanos: 797000000 } }
2025-11-11T14:16:22.804247Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:22.838010Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:373: [ptqudslmqjs79hp24ued-0.1] Got TEvScheduleCheckpointing
2025-11-11T14:16:22.838029Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:2] Registering new checkpoint in storage
2025-11-11T14:16:22.838056Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvCreateCheckpointRequest
2025-11-11T14:16:22.895391Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:2] Checkpoint created
2025-11-11T14:16:22.895401Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:2] Send TEvCreateCheckpointResponse
2025-11-11T14:16:22.895430Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvCreateCheckpointResponse
2025-11-11T14:16:22.895436Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:2] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:22.895460Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.2] TEvInjectCheckpoint
2025-11-11T14:16:22.895471Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.895474Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:22.895475Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:22.895540Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:22.895563Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.895594Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:22.895597Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.2] Performing task checkpoint
2025-11-11T14:16:22.895599Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:22.895605Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:22.895614Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.2] CA state saved
2025-11-11T14:16:22.895617Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.2] Injecting checkpoint barrier to outputs
2025-11-11T14:16:22.895626Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.2] Task checkpoint is done. Send to storage
2025-11-11T14:16:22.895628Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.895634Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:22.895644Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:2] Got TEvSaveTaskState: task 1
2025-11-11T14:16:22.895651Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 2, finished: 0
2025-11-11T14:16:22.895665Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.895667Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:22.895674Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:22.895679Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:22.895687Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:22.895701Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.895711Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:22.895713Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.895715Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:22.896233Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 2, lastSentSeqNo: 2, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:22.896243Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 2, ackSeqNo: 2
2025-11-11T14:16:22.896254Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:22.896260Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:22.896262Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:22.896264Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:22.896267Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:22.896273Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:22.896296Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:22.896310Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:22.896312Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:22.896315Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:22.898109Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:2] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:22.898118Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:2] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:22.898152Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:22.898157Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:2] Task state saved, need 1 more acks
2025-11-11T14:16:22.899402Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:22.899410Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:2] Task state saved, need 0 more acks
2025-11-11T14:16:22.899412Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:2] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:22.899423Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:22.921735Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:2] Status updated to 'PendingCommit'
2025-11-11T14:16:22.921745Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:2] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:22.921818Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:22.921829Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:2] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:22.921872Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:22.921891Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvStateCommitted; task: 1
2025-11-11T14:16:22.921902Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:2] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:22.922202Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvStateCommitted; task: 2
2025-11-11T14:16:22.922210Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:2] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:22.922212Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:2] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:22.922225Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:22.946492Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:2] Status updated to 'Completed'
2025-11-11T14:16:22.946501Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:2] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:22.946551Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:2] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:22.946562Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:2] Checkpoint completed
2025-11-11T14:16:23.213826Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:16:23.218150Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff7, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:23.229775Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:23.229786Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:23.229825Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 2 to DynamicNameserver
2025-11-11T14:16:23.231080Z :INTERCONNECT WARN: interconnect_handshake.cpp:543: Handshake [2:7571471501925795190:2061] [node 3] ICH09 Neither CompatibilityInfo nor VersionTag of the peer can be validated, accepting by default
2025-11-11T14:16:23.472556Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:874: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvStatistics from [1:7571471469808169544:2063], seqNo 2, ConfirmedSeqNo 1 generation 1
2025-11-11T14:16:23.782198Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:23.782 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:23.782412Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"TaskRunner\":{\"Stage=213650\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:23.782424Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:23.794990Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870603 nanos: 790000000 } }
2025-11-11T14:16:23.795023Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:23.838453Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:373: [ptqudslmqjs79hp24ued-0.1] Got TEvScheduleCheckpointing
2025-11-11T14:16:23.838466Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:3] Registering new checkpoint in storage
2025-11-11T14:16:23.838486Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvCreateCheckpointRequest
2025-11-11T14:16:23.863526Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:3] Checkpoint created
2025-11-11T14:16:23.863537Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:3] Send TEvCreateCheckpointResponse
2025-11-11T14:16:23.863567Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvCreateCheckpointResponse
2025-11-11T14:16:23.863575Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:3] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:23.863602Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.3] TEvInjectCheckpoint
2025-11-11T14:16:23.863621Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:23.863629Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:23.863632Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:23.863719Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:23.863733Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:23.863766Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:23.863785Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.3] Performing task checkpoint
2025-11-11T14:16:23.863787Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:23.863794Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:23.863803Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.3] CA state saved
2025-11-11T14:16:23.863806Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.3] Injecting checkpoint barrier to outputs
2025-11-11T14:16:23.863820Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.3] Task checkpoint is done. Send to storage
2025-11-11T14:16:23.863823Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:23.863831Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:23.863839Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:3] Got TEvSaveTaskState: task 1
2025-11-11T14:16:23.863849Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 3, finished: 0
2025-11-11T14:16:23.863866Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:23.863874Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:23.863878Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:23.863884Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:23.863894Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:23.863924Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:23.863934Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:23.863936Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:23.863949Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:23.864366Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 3, lastSentSeqNo: 3, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:23.864379Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 3, ackSeqNo: 3
2025-11-11T14:16:23.864380Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:23.864388Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:23.864391Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:23.864404Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:23.864408Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:23.864418Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:23.864456Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:23.864475Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:23.864477Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:23.864481Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:23.866861Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:3] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:23.866870Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:3] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:23.866910Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:23.866914Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:3] Task state saved, need 1 more acks
2025-11-11T14:16:23.867083Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:23.867090Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:3] Task state saved, need 0 more acks
2025-11-11T14:16:23.867092Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:3] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:23.867106Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:23.891659Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:3] Status updated to 'PendingCommit'
2025-11-11T14:16:23.891668Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:3] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:23.892478Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:23.892489Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:3] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:23.892525Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:23.892553Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvStateCommitted; task: 1
2025-11-11T14:16:23.892563Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:3] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:23.892919Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvStateCommitted; task: 2
2025-11-11T14:16:23.892931Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:3] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:23.892934Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:3] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:23.892949Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:23.914012Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:3] Status updated to 'Completed'
2025-11-11T14:16:23.914022Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:3] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:23.914050Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:3] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:23.914058Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:3] Checkpoint completed
2025-11-11T14:16:24.012462Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:955: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. TEvRetryQueuePrivate::TEvEvHeartbeat
2025-11-11T14:16:24.012479Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:971: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvEvHeartbeat
2025-11-11T14:16:24.214380Z :FQ_QUOTA_SERVICE DEBUG: quota_manager.cpp:230: IC Peers[2]: [1, 3]
2025-11-11T14:16:24.218369Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:24.218379Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff8, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:24.218388Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:24.218717Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:24.221483Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:24.221507Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:24.783319Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:24.783 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:24.783554Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"TaskRunner\":{\"Stage=213650\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:24.783563Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:24.802987Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870604 nanos: 790000000 } }
2025-11-11T14:16:24.803028Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:24.839326Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:373: [ptqudslmqjs79hp24ued-0.1] Got TEvScheduleCheckpointing
2025-11-11T14:16:24.839343Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:4] Registering new checkpoint in storage
2025-11-11T14:16:24.839370Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvCreateCheckpointRequest
2025-11-11T14:16:24.868744Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:4] Checkpoint created
2025-11-11T14:16:24.868761Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:4] Send TEvCreateCheckpointResponse
2025-11-11T14:16:24.868803Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvCreateCheckpointResponse
2025-11-11T14:16:24.868810Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:4] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:24.868836Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.4] TEvInjectCheckpoint
2025-11-11T14:16:24.868856Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:24.868859Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:24.868861Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:24.868923Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:24.868935Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:24.868968Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:24.868975Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.4] Performing task checkpoint
2025-11-11T14:16:24.868978Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:24.868984Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:24.868993Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.4] CA state saved
2025-11-11T14:16:24.868995Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.4] Injecting checkpoint barrier to outputs
2025-11-11T14:16:24.869008Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.4] Task checkpoint is done. Send to storage
2025-11-11T14:16:24.869014Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:24.869021Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:24.869040Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 4, finished: 0
2025-11-11T14:16:24.869056Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:24.869062Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:24.869066Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:24.869072Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:24.869082Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:24.869101Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:24.869113Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:24.869115Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:24.869127Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:24.869136Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:4] Got TEvSaveTaskState: task 1
2025-11-11T14:16:24.869505Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 4, lastSentSeqNo: 4, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:24.869516Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 4, ackSeqNo: 4
2025-11-11T14:16:24.869517Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:24.869522Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:24.869524Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:24.869526Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:24.869529Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:24.869535Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:24.869560Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:24.869572Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:24.869573Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:24.869577Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:24.872407Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:4] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:24.872419Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:4] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:24.872457Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:24.872467Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:4] Task state saved, need 1 more acks
2025-11-11T14:16:24.872736Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:24.872744Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:4] Task state saved, need 0 more acks
2025-11-11T14:16:24.872746Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:4] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:24.872759Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:24.896231Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:4] Status updated to 'PendingCommit'
2025-11-11T14:16:24.896243Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:4] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:24.896259Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:24.896266Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:4] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:24.896303Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:24.896321Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvStateCommitted; task: 1
2025-11-11T14:16:24.896331Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:4] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:24.896696Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvStateCommitted; task: 2
2025-11-11T14:16:24.896706Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:4] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:24.896709Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:4] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:24.896724Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:24.920898Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:4] Status updated to 'Completed'
2025-11-11T14:16:24.920914Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:4] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:24.920960Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:4] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:24.920971Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:4] Checkpoint completed
2025-11-11T14:16:25.218821Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff9, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:25.222275Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:25.222287Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:25.473492Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:874: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvStatistics from [1:7571471469808169544:2063], seqNo 3, ConfirmedSeqNo 2 generation 1
2025-11-11T14:16:25.784551Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:25.784 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:25.784769Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"TaskRunner\":{\"Stage=213650\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:25.784777Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:25.795588Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870605 nanos: 790000000 } }
2025-11-11T14:16:25.795615Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:25.839344Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:373: [ptqudslmqjs79hp24ued-0.1] Got TEvScheduleCheckpointing
2025-11-11T14:16:25.839367Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:5] Registering new checkpoint in storage
2025-11-11T14:16:25.839391Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvCreateCheckpointRequest
2025-11-11T14:16:25.865050Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:5] Checkpoint created
2025-11-11T14:16:25.865060Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:5] Send TEvCreateCheckpointResponse
2025-11-11T14:16:25.865093Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvCreateCheckpointResponse
2025-11-11T14:16:25.865103Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:5] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:25.865139Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.5] TEvInjectCheckpoint
2025-11-11T14:16:25.865157Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:25.865164Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:25.865167Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:25.865233Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:25.865246Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:25.865280Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:25.865286Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.5] Performing task checkpoint
2025-11-11T14:16:25.865289Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:25.865306Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:25.865315Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.5] CA state saved
2025-11-11T14:16:25.865318Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.5] Injecting checkpoint barrier to outputs
2025-11-11T14:16:25.865329Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.5] Task checkpoint is done. Send to storage
2025-11-11T14:16:25.865331Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:25.865338Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:25.865353Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:5] Got TEvSaveTaskState: task 1
2025-11-11T14:16:25.865356Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 5, finished: 0
2025-11-11T14:16:25.865373Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:25.865376Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:25.865380Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:25.865385Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:25.865395Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:25.865425Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:25.865432Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:25.865434Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:25.865436Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:25.866342Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 5, lastSentSeqNo: 5, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:25.866355Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 5, ackSeqNo: 5
2025-11-11T14:16:25.866356Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:25.866364Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:25.866366Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:25.866369Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:25.866372Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:25.866383Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:25.866419Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:25.866437Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:25.866439Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:25.866443Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:25.868800Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:5] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:25.868813Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:5] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:25.868854Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:25.868859Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:5] Task state saved, need 1 more acks
2025-11-11T14:16:25.869061Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:25.869068Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:5] Task state saved, need 0 more acks
2025-11-11T14:16:25.869070Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:5] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:25.869086Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:25.891519Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:5] Status updated to 'PendingCommit'
2025-11-11T14:16:25.891535Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:5] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:25.891583Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:25.891594Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:5] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:25.891651Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:25.891683Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvStateCommitted; task: 1
2025-11-11T14:16:25.891695Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:5] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:25.892037Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvStateCommitted; task: 2
2025-11-11T14:16:25.892050Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:5] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:25.892051Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:5] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:25.892068Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:25.920815Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:5] Status updated to 'Completed'
2025-11-11T14:16:25.920829Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:5] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:25.920885Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:5] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:25.920906Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:5] Checkpoint completed
2025-11-11T14:16:26.013466Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:955: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. TEvRetryQueuePrivate::TEvEvHeartbeat
2025-11-11T14:16:26.013477Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:971: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send TEvEvHeartbeat
2025-11-11T14:16:26.219253Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:26.219270Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:26.219284Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff10, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:26.224706Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:26.225566Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:26.225576Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:26.338033Z :FQ_PINGER TRACE: pinger.cpp:400: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Request Private::PingTask
2025-11-11T14:16:26.407376Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870606 nanos: 373000000 } }
2025-11-11T14:16:26.789879Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:26.789 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:26.790071Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"TaskRunner\":{\"Stage=213650\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:26.790079Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:26.804464Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { expired_at { seconds: 1762870606 nanos: 796000000 } }
2025-11-11T14:16:26.804496Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:861: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:26.839793Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:373: [ptqudslmqjs79hp24ued-0.1] Got TEvScheduleCheckpointing
2025-11-11T14:16:26.839808Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:349: [ptqudslmqjs79hp24ued-0.1] [1:6] Registering new checkpoint in storage
2025-11-11T14:16:26.839834Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:253: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvCreateCheckpointRequest
2025-11-11T14:16:26.864129Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:295: [ptqudslmqjs79hp24ued-0.1] [1:6] Checkpoint created
2025-11-11T14:16:26.864140Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:297: [ptqudslmqjs79hp24ued-0.1] [1:6] Send TEvCreateCheckpointResponse
2025-11-11T14:16:26.864172Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:389: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvCreateCheckpointResponse
2025-11-11T14:16:26.864179Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:435: [ptqudslmqjs79hp24ued-0.1] [1:6] Checkpoint successfully created, going to inject barriers to 1 actor(s)
2025-11-11T14:16:26.864203Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:239: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.6] TEvInjectCheckpoint
2025-11-11T14:16:26.864215Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:26.864217Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1502: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Skip polling sources because of pending checkpoint
2025-11-11T14:16:26.864219Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:694: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. DoExecuteImpl: 1
2025-11-11T14:16:26.864282Z :DQ_TASK_RUNNER TRACE: task_runner_actor_local.cpp:510: SelfId: [2:7571471493335860589:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Pending 1 checkpoints to be sent
2025-11-11T14:16:26.864295Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:26.864335Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 1 watermark injected: (empty maybe)
2025-11-11T14:16:26.864343Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:447: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.6] Performing task checkpoint
2025-11-11T14:16:26.864346Z :KQP_COMPUTE DEBUG: dq_async_compute_actor.cpp:822: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Save state
2025-11-11T14:16:26.864353Z :KQP_COMPUTE DEBUG: dq_pq_read_actor_base.cpp:94: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SessionId: empty SaveState, offsets: 
2025-11-11T14:16:26.864361Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:474: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.6] CA state saved
2025-11-11T14:16:26.864363Z :KQP_COMPUTE TRACE: dq_compute_actor_checkpoints.cpp:449: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.6] Injecting checkpoint barrier to outputs
2025-11-11T14:16:26.864374Z :KQP_COMPUTE DEBUG: dq_compute_actor_checkpoints.cpp:536: [ptqudslmqjs79hp24ued-0] Task: 1. [Checkpoint 1.6] Task checkpoint is done. Send to storage
2025-11-11T14:16:26.864377Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:26.864383Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:26.864396Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:409: [ptqudslmqjs79hp24ued-0] [1:6] Got TEvSaveTaskState: task 1
2025-11-11T14:16:26.864400Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 0, bytes: 0, watermark: 0, checkpoint: 1, seqNo: 6, finished: 0
2025-11-11T14:16:26.864415Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:26.864416Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:26.864420Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:26.864424Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:26.864433Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:26.864449Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:26.864455Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:26.864456Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:26.864459Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:96;inFlightCount:1;)
2025-11-11T14:16:26.865317Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 6, lastSentSeqNo: 6, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:26.865329Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 6, ackSeqNo: 6
2025-11-11T14:16:26.865330Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:26.865336Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:26.865338Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:26.865341Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:26.865345Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:26.865365Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:26.865400Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:26.865434Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:26.865436Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:26.865440Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:26.867035Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:433: [ptqudslmqjs79hp24ued-0] [1:6] TEvSaveTaskState Apply: task: 1
2025-11-11T14:16:26.867045Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:448: [ptqudslmqjs79hp24ued-0] [1:6] Send TEvSaveTaskStateResult: task: 1
2025-11-11T14:16:26.867154Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvSaveTaskStateResult; task 1, status: OK, size: 113
2025-11-11T14:16:26.867165Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:6] Task state saved, need 1 more acks
2025-11-11T14:16:26.867320Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:466: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvSaveTaskStateResult; task 2, status: OK, size: 97
2025-11-11T14:16:26.867328Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:476: [ptqudslmqjs79hp24ued-0.1] [1:6] Task state saved, need 0 more acks
2025-11-11T14:16:26.867330Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:489: [ptqudslmqjs79hp24ued-0.1] [1:6] Got all acks, changing checkpoint status to 'PendingCommit'
2025-11-11T14:16:26.867340Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:305: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvSetCheckpointPendingCommitStatusRequest
2025-11-11T14:16:26.890881Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:320: [ptqudslmqjs79hp24ued-0.1] [1:6] Status updated to 'PendingCommit'
2025-11-11T14:16:26.890893Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:322: [ptqudslmqjs79hp24ued-0.1] [1:6] Send TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:26.890955Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:501: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvSetCheckpointPendingCommitStatusResponse
2025-11-11T14:16:26.890965Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:516: [ptqudslmqjs79hp24ued-0.1] [1:6] Checkpoint status changed to 'PendingCommit', committing states to 2 actor(s)
2025-11-11T14:16:26.890998Z :KQP_COMPUTE DEBUG: dq_compute_actor_impl.h:746: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Commit state
2025-11-11T14:16:26.891011Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvStateCommitted; task: 1
2025-11-11T14:16:26.891020Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:6] State committed [2:7571471493335860587:2151], need 1 more acks
2025-11-11T14:16:26.891378Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:532: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvStateCommitted; task: 2
2025-11-11T14:16:26.891387Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:541: [ptqudslmqjs79hp24ued-0.1] [1:6] State committed [1:7571471495577973543:2141], need 0 more acks
2025-11-11T14:16:26.891390Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:543: [ptqudslmqjs79hp24ued-0.1] [1:6] Got all acks, changing checkpoint status to 'Completed'
2025-11-11T14:16:26.891404Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:330: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvCompleteCheckpointRequest
2025-11-11T14:16:26.903342Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:26.903 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:229:  Ping TaskId: 1, Compute ActorId: [2:7571471493335860587:2151], PingCookie: 1
2025-11-11T14:16:26.903386Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:451: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Got TEvStateRequest from actor [2:7571471493335860585:2149] PingCookie: 1
2025-11-11T14:16:26.903397Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:26.903500Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:26.903 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:160: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} [2:7571471493335860585:2149] EvState TaskId: 1 State: 2 PingCookie: 1 StatusCode: SUCCESS
2025-11-11T14:16:26.903517Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:26.903 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:174: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] AddStats 1
2025-11-11T14:16:26.903584Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:26.903 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:201: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] Executing TaskId: 1
2025-11-11T14:16:26.910816Z :STREAMS_STORAGE_SERVICE INFO: storage_proxy.cpp:348: [ptqudslmqjs79hp24ued-0.1] [1:6] Status updated to 'Completed'
2025-11-11T14:16:26.910830Z :STREAMS_STORAGE_SERVICE DEBUG: storage_proxy.cpp:355: [ptqudslmqjs79hp24ued-0.1] [1:6] Send TEvCompleteCheckpointResponse
2025-11-11T14:16:26.910857Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:564: [ptqudslmqjs79hp24ued-0.1] [1:6] Got TEvCompleteCheckpointResponse
2025-11-11T14:16:26.910867Z :STREAMS_CHECKPOINT_COORDINATOR INFO: checkpoint_coordinator.cpp:579: [ptqudslmqjs79hp24ued-0.1] [1:6] Checkpoint completed
2025-11-11T14:16:27.036951Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:919: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvNewDataArrived from [1:7571471469808169544:2063], partition 0, seqNo 4, ConfirmedSeqNo 3 generation 1
2025-11-11T14:16:27.037505Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:1097: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvMessageBatch from [1:7571471469808169544:2063], seqNo 5, ConfirmedSeqNo 4 generation 1
2025-11-11T14:16:27.037523Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:1145: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. TEvMessageBatch NextOffset 3
2025-11-11T14:16:27.037543Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:27.037546Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:27.037550Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:27.037593Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:794: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. NextOffset 3
2025-11-11T14:16:27.037602Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:798: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Return 3 rows, watermark (empty maybe), buffer size 0, free space 999980, result size 20
2025-11-11T14:16:27.037608Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 20 bytes, 3 rows, finished: 0
2025-11-11T14:16:27.037629Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:27.037639Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:27.037641Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:27.037643Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 999980
2025-11-11T14:16:27.037645Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 999980, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:27.037728Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:27.037737Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:27.037771Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:27.037781Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:27.037788Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:27.037834Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:566: TxId: ptqudslmqjs79hp24ued, task: 1. SendChannelData, channelId: 1, peer: [1:7571471495577973543:2141], chunks: 3, bytes: 29, watermark: 0, checkpoint: 0, seqNo: 7, finished: 0
2025-11-11T14:16:27.037857Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:27.037870Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:27.037872Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:27.037875Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:125;inFlightCount:1;)
2025-11-11T14:16:27.037878Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:27.037880Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:27.037882Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:27.037885Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:27.037890Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:27.037906Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:27.037912Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:27.037913Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:27.037917Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:125;inFlightCount:1;)
2025-11-11T14:16:27.038238Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 7, lastSentSeqNo: 7, freeSpace: 999971, early finish: 0
2025-11-11T14:16:27.038248Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:999971;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 7, ackSeqNo: 7
2025-11-11T14:16:27.038249Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:27.038256Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:27.038258Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:27.038261Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:27.038264Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:27.038274Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:27.038310Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:27.038328Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:27.038330Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:27.038333Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:999971;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:27.039451Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:179: TxId: ptqudslmqjs79hp24ued, task: 1. Received channel data ack for channelId: 1, seqNo: 7, lastSentSeqNo: 7, freeSpace: 1000000, early finish: 0
2025-11-11T14:16:27.039461Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:207: TxId: ptqudslmqjs79hp24ued, task: 1. PeerState, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;), sentSeqNo: 7, ackSeqNo: 7
2025-11-11T14:16:27.039463Z :KQP_COMPUTE TRACE: dq_compute_actor_channels.cpp:220: TxId: ptqudslmqjs79hp24ued, task: 1. Resume compute actor
2025-11-11T14:16:27.039469Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll inputs
2025-11-11T14:16:27.039471Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:1506: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll sources
2025-11-11T14:16:27.039474Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:754: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. GetAsyncInputData freeSpace = 1000000
2025-11-11T14:16:27.039477Z :KQP_COMPUTE TRACE: dq_compute_actor_async_input_helper.h:77: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Poll async input 0. Buffer free space: 1000000, read from async input: 0 bytes, 0 rows, finished: 0
2025-11-11T14:16:27.039486Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:844: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Send TEvContinueRun on OnAsyncInputPushFinished
2025-11-11T14:16:27.039518Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:491: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. update task runner stats
2025-11-11T14:16:27.039534Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:758: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Resume execution, run status: PendingInput checkpoint: 0 watermark injected: (empty maybe)
2025-11-11T14:16:27.039536Z :KQP_COMPUTE TRACE: dq_compute_actor_impl.h:393: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. ProcessOutputsState.Inflight: 0
2025-11-11T14:16:27.039539Z :KQP_COMPUTE TRACE: dq_async_compute_actor.cpp:532: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. About to drain channelId: 1, hasPeer: 1, peerState:(freeSpace:1000000;inFlightBytes:0;inFlightCount:0;)
2025-11-11T14:16:27.104027Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.103 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:229:  Ping TaskId: 2, Compute ActorId: [1:7571471495577973543:2141], PingCookie: 2
2025-11-11T14:16:27.104508Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.104 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:160: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} [2:7571471493335860585:2149] EvState TaskId: 2 State: 2 PingCookie: 2 StatusCode: SUCCESS
2025-11-11T14:16:27.104531Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.104 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:174: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] AddStats 2
2025-11-11T14:16:27.104647Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.104 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:201: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud}  [2:7571471493335860585:2149] Executing TaskId: 2
2025-11-11T14:16:27.220352Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff11, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:27.224459Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:27.224470Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:27.474341Z :KQP_COMPUTE TRACE: dq_pq_rd_read_actor.cpp:874: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Received TEvStatistics from [1:7571471469808169544:2063], seqNo 6, ConfirmedSeqNo 4 generation 1
2025-11-11T14:16:27.790556Z :YQL_PROXY TRACE: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.790 TRACE ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:27.792865Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { statistics: "{\"Graph=0\":{\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"TaskRunner\":{\"Input=213650\":{\"Stage=213670\":{\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Input=Total\":{\"Stage=213670\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}},\"Stage=Total\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Output=213670\":{\"Stage=213650\":{\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Output=Total\":{\"Stage=213650\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}},\"Stage=Total\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Sink=0\":{\"Stage=213670\":{\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"EgressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PopBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PopChunks\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PushBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PushChunks\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitPeriods\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}},\"Stage=Total\":{\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"EgressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PopBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PopChunks\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PushBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PushChunks\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitPeriods\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Source=PqSource\":{\"Stage=213650\":{\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}},\"Stage=Total\":{\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Stage=213650\":{\"BuildCpuTimeUs\":{\"sum\":\"89ms\",\"count\":1,\"avg\":\"89ms\",\"max\":\"89ms\",\"min\":\"89ms\"},\"ComputeCpuTimeUs\":{\"sum\":\"53us\",\"count\":1,\"avg\":\"53us\",\"max\":\"53us\",\"min\":\"53us\"},\"CpuTimeUs\":{\"sum\":\"93ms\",\"count\":1,\"avg\":\"93ms\",\"max\":\"93ms\",\"min\":\"93ms\"},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MkqlMaxMemoryUsage\":{\"sum\":131072,\"count\":1,\"avg\":131072,\"max\":131072,\"min\":131072},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"BuildCpuTimeUs\":{\"sum\":\"0.22s\",\"count\":1,\"avg\":\"0.22s\",\"max\":\"0.22s\",\"min\":\"0.22s\"},\"ComputeCpuTimeUs\":{\"sum\":\"451us\",\"count\":1,\"avg\":\"451us\",\"max\":\"451us\",\"min\":\"451us\"},\"CpuTimeUs\":{\"sum\":\"0.23s\",\"count\":1,\"avg\":\"0.23s\",\"max\":\"0.23s\",\"min\":\"0.23s\"},\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"InputBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MkqlMaxMemoryUsage\":{\"sum\":2031616,\"count\":1,\"avg\":2031616,\"max\":2031616,\"min\":2031616},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"StartTimeMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"BuildCpuTimeUs\":{\"sum\":\"0.31s\",\"count\":2,\"avg\":\"0.15s\",\"max\":\"0.22s\",\"min\":\"89ms\"},\"ComputeCpuTimeUs\":{\"sum\":\"504us\",\"count\":2,\"avg\":\"252us\",\"max\":\"451us\",\"min\":\"53us\"},\"CpuTimeUs\":{\"sum\":\"0.32s\",\"count\":2,\"avg\":\"0.16s\",\"max\":\"0.23s\",\"min\":\"93ms\"},\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"InputBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MkqlMaxMemoryUsage\":{\"sum\":2162688,\"count\":2,\"avg\":1081344,\"max\":2031616,\"min\":131072},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"StartTimeMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}}}}" }
2025-11-11T14:16:27.792873Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:27.804199Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { action: ABORT expired_at { seconds: 1762870607 nanos: 799000000 } }
2025-11-11T14:16:27.804214Z :FQ_PINGER DEBUG: pinger.cpp:342: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Query action: ABORT
2025-11-11T14:16:27.804241Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:690: QueryId: ptqudslmqjs79hp24ued New query action received: ABORT
2025-11-11T14:16:27.804246Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1827: QueryId: ptqudslmqjs79hp24ued Is about to finish query with status ABORTED_BY_USER
2025-11-11T14:16:27.804250Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1820: QueryId: ptqudslmqjs79hp24ued Write finalizing status: ABORTING_BY_USER
2025-11-11T14:16:27.804262Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:528: QueryId: ptqudslmqjs79hp24ued Cancel running query
2025-11-11T14:16:27.804289Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:880: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 6
2025-11-11T14:16:27.804289Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { status: ABORTING_BY_USER }
2025-11-11T14:16:27.804296Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:27.804452Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.804 DEBUG ydbd(pid=945090, tid=0x00007FC686E32640) [DQ] task_controller_impl.h:130: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} AbortExecution from [2:7571471493335860572:2141]:ABORTED { <main>: Error: ABORTED_BY_USER }
2025-11-11T14:16:27.804483Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud 2025-11-11 14:16:27.804 DEBUG ydbd(pid=945090, tid=0x00007FC686E32640) [DQ] task_controller_impl.h:598: {ptqudslmqjs79hp24ued#ptrudslmqjdoca4bdra0#yandexcloud://my_folder#94ce2b4a-c4fd22cd-5c6abde4-677eedff4#mock_cloud} OnError { <main>: Error: ABORTED_BY_USER } ABORTED
2025-11-11T14:16:27.804964Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:27.804 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:304: {ptqudslmqjs79hp24ued} OnFailure, status=4, issues size=1, sender=[2:7571471493335860585:2149]
2025-11-11T14:16:27.805063Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:27.805 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:315: {ptqudslmqjs79hp24ued} Issues: <main>: Error: ABORTED_BY_USER

2025-11-11T14:16:27.805090Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:27.805 DEBUG ydbd(pid=945090, tid=0x00007FC688E36640) [DQ] executer_actor.cpp:284: {ptqudslmqjs79hp24ued} Finish with status=4 issues=<main>: Error: ABORTED_BY_USER

2025-11-11T14:16:27.805631Z :YQL_PROXY DEBUG: log.cpp:64: SessionId: ptqudslmqjs79hp24ued 2025-11-11 14:16:27.805 DEBUG ydbd(pid=945090, tid=0x00007FC687633640) [DQ] executer_actor.cpp:341: {ptqudslmqjs79hp24ued} OnQueryResponse status=4 issuses_size=1
2025-11-11T14:16:27.805657Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1397: QueryId: ptqudslmqjs79hp24ued TEvQueryResponse received on finish
2025-11-11T14:16:27.805662Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1234: QueryId: ptqudslmqjs79hp24ued Query response CANCELLED. Result set index: 0. Issues count: 1. Rows count: 0
2025-11-11T14:16:27.805900Z :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1215: SelfId: [2:7571471493335860587:2151], TxId: ptqudslmqjs79hp24ued, task: 1. Ctx: {}. Handle abort execution event from: [2:7571471480450958476:2064], status: UNAVAILABLE, reason: { <main>: Error: Aborted by LWM }
2025-11-11T14:16:27.805939Z :KQP_COMPUTE DEBUG: dq_compute_actor_channels.cpp:494: TxId: ptqudslmqjs79hp24ued, task: 1. pass away
2025-11-11T14:16:27.805958Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:731: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. PassAway
2025-11-11T14:16:27.805979Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:1216: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. State: used buffer size 0 ready buffer event size 0 state 5 InFlyAsyncInputData 0
Counters: CoordinatorChanged 2 CoordinatorResult 1 MessageBatch 1 StartSessionAck 1 NewDataArrived 1 SessionError 0 Statistics 3 NodeDisconnected 0 NodeConnected 2 Undelivered 0 Retry 1 PrivateHeartbeat 2 SessionClosed 0 Pong 0 Heartbeat 0 PrintState 0 ProcessState 0 GetAsyncInputData 18 NotifyCA 1
 [1:7571471469808169544:2063] status 2 is waiting ack 0 connection id 1 id 1, NextSeqNo 5, MyConfSeqNo 6, SeqNos 0, events size 0, connected 1, heartbeat shed 1, last received 2025-11-11T14:16:27.474350Z, last sent 2025-11-11T14:16:27.036970Z
 partitions 0 offsets 0=3 has pending data
2025-11-11T14:16:27.805986Z :KQP_COMPUTE INFO: dq_pq_rd_read_actor.cpp:723: SelfId: [2:7571471493335860590:2151], TxId: ptqudslmqjs79hp24ued, task: 1, Cluster: . PQ source. Send StopSession to [1:7571471469808169544:2063] generation 1
2025-11-11T14:16:27.806025Z :YQL_PROXY TRACE: log.cpp:64: SessionId: 94ce2b4a-c4fd22cd-5c6abde4-677eedff 2025-11-11 14:16:27.806 TRACE ydbd(pid=945090, tid=0x00007FC686E32640) [DQ] task_controller_impl.h:271:  [2:7571471493335860585:2149] ExportStats Summary
2025-11-11T14:16:27.807184Z :STREAMS_CHECKPOINT_COORDINATOR DEBUG: checkpoint_coordinator.cpp:657: [ptqudslmqjs79hp24ued-0.1] PassAway
2025-11-11T14:16:27.814297Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { action: ABORT expired_at { seconds: 1762870607 nanos: 809000000 } }
2025-11-11T14:16:27.814309Z :FQ_PINGER DEBUG: pinger.cpp:342: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Query action: ABORT
2025-11-11T14:16:27.814332Z :FQ_RUN_ACTOR TRACE: run_actor.cpp:880: QueryId: ptqudslmqjs79hp24ued Forward ping response. Success: 1. Cookie: 3
2025-11-11T14:16:27.814334Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:887: QueryId: ptqudslmqjs79hp24ued Finalizing status is saved
2025-11-11T14:16:27.814377Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1508: QueryId: ptqudslmqjs79hp24ued Start rate limiter resource deleter
2025-11-11T14:16:27.814387Z :STREAMS DEBUG: read_rule_deleter.cpp:214: ptqudslmqjs79hp24ued: Create read rule deleter actor for `test_metadatafields_input` [0]
2025-11-11T14:16:27.814419Z :STREAMS DEBUG: read_rule_deleter.cpp:106: ptqudslmqjs79hp24ued: Make request for read rule deletion for topic `test_metadatafields_input` [0]
2025-11-11T14:16:27.853610Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1499: QueryId: ptqudslmqjs79hp24ued Rate limiter resource deletion finished. Success: 1. Issues: 
2025-11-11T14:16:27.853625Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:1919: QueryId: ptqudslmqjs79hp24ued SendPingAndPassAway, FinalQueryStatus ABORTED_BY_USER
2025-11-11T14:16:27.853650Z :FQ_RUN_ACTOR DEBUG: run_actor.cpp:536: QueryId: ptqudslmqjs79hp24ued PassAway
2025-11-11T14:16:27.853895Z :FQ_PINGER TRACE: pinger.cpp:250: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward ping request: { owner_id: "94ce2b4a-c4fd22cd-5c6abde4-677eedff4" query_id { value: "ptqudslmqjs79hp24ued" } result_id { value: "ptrudslmqjdoca4bdra0" } status: ABORTED_BY_USER issues { message: "ABORTED_BY_USER" severity: 1 } statistics: "{\"Graph=0\":{\"Actor\":{\"ActorCreateTimeUs\":{\"sum\":\"56ms\",\"count\":2,\"avg\":\"28ms\",\"max\":\"56ms\",\"min\":\"859us\"}},\"AllocateWorkersUs\":{\"sum\":\"57ms\",\"count\":1,\"avg\":\"57ms\",\"max\":\"57ms\",\"min\":\"57ms\"},\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"ExecutionTimeUs\":{\"sum\":\"6.02s\",\"count\":1,\"avg\":\"6.02s\",\"max\":\"6.02s\",\"min\":\"6.02s\"},\"TaskRunner\":{\"Input=213650\":{\"Stage=213670\":{\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Input=Total\":{\"Stage=213670\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}},\"Stage=Total\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PopChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"PushChunks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:26.86s\",\"max\":\"14:16:26.86s\",\"min\":\"14:16:26.86s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"PushWaitPeriods\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Output=213670\":{\"Stage=213650\":{\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Output=Total\":{\"Stage=213650\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}},\"Stage=Total\":{\"ChannelCount\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Sink=0\":{\"Stage=213670\":{\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"EgressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PopBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PopChunks\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PushBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PushChunks\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitPeriods\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}},\"Stage=Total\":{\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"EgressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PopBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PopChunks\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"PopFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PopLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushActiveTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"},\"PushBytes\":{\"sum\":53,\"count\":1,\"avg\":53,\"max\":53,\"min\":53},\"PushChunks\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushFirstMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushLastMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushPauseMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:22.01s\",\"max\":\"14:16:22.01s\",\"min\":\"14:16:22.01s\"},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushResumeMessageMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"PushRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitPeriods\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"PushWaitTimeUs\":{\"sum\":\"5.02s\",\"count\":1,\"avg\":\"5.02s\",\"max\":\"5.02s\",\"min\":\"5.02s\"}}},\"Source=PqSource\":{\"Stage=213650\":{\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}},\"Stage=Total\":{\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PopQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"PushWaitTimeUs\":{\"sum\":\"4.85s\",\"count\":1,\"avg\":\"4.85s\",\"max\":\"4.85s\",\"min\":\"4.85s\"}}},\"Stage=213650\":{\"BuildCpuTimeUs\":{\"sum\":\"89ms\",\"count\":1,\"avg\":\"89ms\",\"max\":\"89ms\",\"min\":\"89ms\"},\"ComputeCpuTimeUs\":{\"sum\":\"53us\",\"count\":1,\"avg\":\"53us\",\"max\":\"53us\",\"min\":\"53us\"},\"CpuTimeUs\":{\"sum\":\"93ms\",\"count\":1,\"avg\":\"93ms\",\"max\":\"93ms\",\"min\":\"93ms\"},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MkqlMaxMemoryUsage\":{\"sum\":131072,\"count\":1,\"avg\":131072,\"max\":131072,\"min\":131072},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=213670\":{\"BuildCpuTimeUs\":{\"sum\":\"0.22s\",\"count\":1,\"avg\":\"0.22s\",\"max\":\"0.22s\",\"min\":\"0.22s\"},\"ComputeCpuTimeUs\":{\"sum\":\"451us\",\"count\":1,\"avg\":\"451us\",\"max\":\"451us\",\"min\":\"451us\"},\"CpuTimeUs\":{\"sum\":\"0.23s\",\"count\":1,\"avg\":\"0.23s\",\"max\":\"0.23s\",\"min\":\"0.23s\"},\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"InputBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MkqlMaxMemoryUsage\":{\"sum\":2031616,\"count\":1,\"avg\":2031616,\"max\":2031616,\"min\":2031616},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"StartTimeMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1}},\"Stage=Total\":{\"BuildCpuTimeUs\":{\"sum\":\"0.31s\",\"count\":2,\"avg\":\"0.15s\",\"max\":\"0.22s\",\"min\":\"89ms\"},\"ComputeCpuTimeUs\":{\"sum\":\"504us\",\"count\":2,\"avg\":\"252us\",\"max\":\"451us\",\"min\":\"53us\"},\"CpuTimeUs\":{\"sum\":\"0.32s\",\"count\":2,\"avg\":\"0.16s\",\"max\":\"0.23s\",\"min\":\"93ms\"},\"EgressBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"EgressRows\":{\"sum\":7,\"count\":1,\"avg\":7,\"max\":7,\"min\":7},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"InputBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MkqlMaxMemoryUsage\":{\"sum\":2162688,\"count\":2,\"avg\":1081344,\"max\":2031616,\"min\":131072},\"MultiHop_EarlyThrownEventsCount\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"MultiHop_LateThrownEventsCount\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"StartTimeMs\":{\"sum\":\"N/A\",\"count\":1,\"avg\":\"14:16:27.03s\",\"max\":\"14:16:27.03s\",\"min\":\"14:16:27.03s\"},\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1}}},\"UniqueWorkers\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2}}}" resources { rate_limiter: READY compilation: READY topic_consumers_state: READY rate_limiter_path: "local/RateLimiter_21e807b4-7e3f-4d8c-a5e6-0326e77d6bc9/rate_limiter" topic_consumers { database: "local" topic_path: "test_metadatafields_input" consumer_name: "ptqudslmqjs79hp24ued" cluster_endpoint: "localhost:11957" token_name: "cluster:default_yds" add_bearer_to_token: true } } scope: "yandexcloud://my_folder" finished_at { seconds: 1762870587 nanos: 804000000 } }
2025-11-11T14:16:27.853908Z :FQ_PINGER TRACE: pinger.cpp:393: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Forward request Private::PingTask
2025-11-11T14:16:27.931035Z :FQ_PINGER TRACE: pinger.cpp:338: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Ping response success: { action: ABORT }
2025-11-11T14:16:27.931060Z :FQ_PINGER DEBUG: pinger.cpp:379: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Query finished
2025-11-11T14:16:27.931063Z :FQ_PINGER TRACE: pinger.cpp:187: QueryId: ptqudslmqjs79hp24ued, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff4 Stop Pinger
2025-11-11T14:16:28.214037Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:16:28.220157Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:28.220180Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:28.220463Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:28.221164Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff12, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:28.224421Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:28.224434Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:266: Tasks count: 0
2025-11-11T14:16:28.225571Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:389: Send NodeInfo with size: 2 to DynamicNameserver
2025-11-11T14:16:29.221632Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff13, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:29.228912Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:29.228934Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:30.221048Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:30.221071Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:30.221323Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:30.222050Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff14, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:30.229961Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:30.229979Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:31.222533Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff15, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:31.227502Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:31.227522Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:32.221947Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:32.221984Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:32.222332Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:32.222917Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff16, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:32.227962Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:32.227980Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:33.214224Z :YQL_NODES_MANAGER TRACE: nodes_manager.cpp:318: TNodesManagerActor::NodesHealthCheck
2025-11-11T14:16:33.219530Z :YQL_NODES_MANAGER ERROR: nodes_manager.cpp:395: ydb/core/fq/libs/actors/nodes_manager.cpp:353: TRANSPORT_UNAVAILABLE
<main>: Error: GRpc error: (14): connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:33.223414Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff17, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:33.227645Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:33.227663Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:34.222796Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:617: RowDispatcher: Send ping to [1:7571471469808169584:2082]
2025-11-11T14:16:34.222822Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:1161: RowDispatcher: TEvPrivate::TEvSendStatistic
2025-11-11T14:16:34.223146Z :FQ_ROW_DISPATCHER TRACE: row_dispatcher.cpp:623: RowDispatcher: NActors::TEvents::TEvPong
2025-11-11T14:16:34.223861Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff18, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:34.228468Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:34.228490Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:35.224342Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:329: Request Private::GetTask, Owner: 94ce2b4a-c4fd22cd-5c6abde4-677eedff19, Host: ghrun-vb3yoermsa, Tenant: /compute
2025-11-11T14:16:35.229277Z :FQ_PENDING_FETCHER TRACE: pending_fetcher.cpp:254: Got GetTask response from PrivateApi
2025-11-11T14:16:35.229297Z :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:25213: Failed to connect to remote host: Connection refused
<main>: Error: Grpc error response on endpoint ghrun-vb3yoermsa.auto.internal:25213
2025-11-11T14:16:35.377873Z :INTERCONNECT_NETWORK NOTICE: interconnect_tcp_input_session.cpp:715: [2 <-> 1] connection closed by peer
2025-11-11T14:16:35.378638Z :INTERCONNECT_NETWORK NOTICE: interconnect_handshake.cpp:1581: [2 <-> 1] network-related error occured on handshake: outgoing handshake Peer# ghrun-vb3yoermsa(127.0.1.1:30073) Couldn't connect to any resolved address
2025-11-11T14:16:35.388583Z :INTERCONNECT_NETWORK NOTICE: interconnect_handshake.cpp:1581: [2 <-> 1] network-related error occured on handshake: outgoing handshake Peer# ghrun-vb3yoermsa(127.0.1.1:30073) Couldn't connect to any resolved address
