============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 12 items

test_result_limits.py ...
test_dc_local.py .
test_scheduling.py s
test_alloc_default.py ..F..

=================================== FAILURES ===================================
______________________ TestAlloc.test_node_limit[kikimr0] ______________________
ydb/tests/fq/mem_alloc/test_alloc_default.py:223: in test_node_limit
    assert wait_until(not_enough_memory), "Allocation was not failed"
ydb/tests/fq/mem_alloc/test_alloc_default.py:62: in wait_until
    if predicate():
ydb/tests/fq/mem_alloc/test_alloc_default.py:221: in not_enough_memory
    assert False, "Incorrect issues " + str(issues)
E   AssertionError: Incorrect issues [message: "Not enough memory to allocate tasks"
E     issue_code: 6001
E     severity: 1
E     , message: "Query failed with code OVERLOADED and will be restarted (RetryCount: 1) at 2025-11-12T12:31:47.721286Z"
E     severity: 1
E     ]
E   assert False
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_node_limit[kikimr0]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23380
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5317
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/5n9s/000b87/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/17298
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19155
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, f710ce20-1927-4343-b935-854eb4daa830, localhost:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, f710ce20-1927-4343-b935-854eb4daa830, localhost:26900): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, f710ce20-1927-4343-b935-854eb4daa830, localhost:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jsz6bs6lqq.auto.internal" port: 26900 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jsz6bs6lqq.auto.internal:26900, location 1, ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:26900
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x504001cbd6b0 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 29ce1fdb-2a8f-4fcf-8a01-5854a9892f11, ghrun-jsz6bs6lqq.auto.internal:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 29ce1fdb-2a8f-4fcf-8a01-5854a9892f11, ghrun-jsz6bs6lqq.auto.internal:26900): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 29ce1fdb-2a8f-4fcf-8a01-5854a9892f11, ghrun-jsz6bs6lqq.auto.internal:26900): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 29ce1fdb-2a8f-4fcf-8a01-5854a9892f11, ghrun-jsz6bs6lqq.auto.internal:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=MmYxYmIxZjktZGUzMDc4My00NGRiYzRkMC00NTI2ZGMxZA==" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 29ce1fdb-2a8f-4fcf-8a01-5854a9892f11, ghrun-jsz6bs6lqq.auto.internal:26900): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 681be2de-3860-4f2c-b2ea-fc288de55b00, ghrun-jsz6bs6lqq.auto.internal:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 681be2de-3860-4f2c-b2ea-fc288de55b00, ghrun-jsz6bs6lqq.auto.internal:26900): request = { session_id: "ydb://session/3?node_id=1&id=MmYxYmIxZjktZGUzMDc4My00NGRiYzRkMC00NTI2ZGMxZA==" path: "local/DbPoolStorage_23536be2-e668-4b35-b2b8-a8c2c0eaf71b/tenants" columns { name: "tenant" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "common" type { optional_type { item { type_id: BOOL } } } } columns { name: "state" type { optional_type { item { type_id: UINT32 } } } } columns { name: "state_time" type { optional_type { item { type_id: TIMESTAMP } } } } primary_key: "tenant" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 681be2de-3860-4f2c-b2ea-fc288de55b00, ghrun-jsz6bs6lqq.auto.internal:26900): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 8aea520f-12e1-45d3-8a48-d91bc3cc20c8, ghrun-jsz6bs6lqq.auto.internal:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 8aea520f-12e1-45d3-8a48-d91bc3cc20c8, ghrun-jsz6bs6lqq.auto.internal:26900): request = { session_id: "ydb://session/3?node_id=1&id=MmYxYmIxZjktZGUzMDc4My00NGRiYzRkMC00NTI2ZGMxZA==" path: "local/DbPoolStorage_23536be2-e668-4b35-b2b8-a8c2c0eaf71b/mappings" columns { name: "subject_type" type { optional_type { item { type_id: STRING } } } } columns { name: "subject_id" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } primary_key: "subject_type" primary_key: "subject_id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 8aea520f-12e1-45d3-8a48-d91bc3cc20c8, ghrun-jsz6bs6lqq.auto.internal:26900): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, e9793a73-1c4e-4206-943d-28c8eae96ce2, ghrun-jsz6bs6lqq.auto.internal:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, e9793a73-1c4e-4206-943d-28c8eae96ce2, ghrun-jsz6bs6lqq.auto.internal:26900): request = { session_id: "ydb://session/3?node_id=1&id=MmYxYmIxZjktZGUzMDc4My00NGRiYzRkMC00NTI2ZGMxZA==" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_23536be2-e668-4b35-b2b8-a8c2c0eaf71b\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/default\", \"/default\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, e9793a73-1c4e-4206-943d-28c8eae96ce2, ghrun-jsz6bs6lqq.auto.internal:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504001ccc970>
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/5n9s/000b87/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/3619
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/24764
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64244
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:243 CFG_DIR_PATH="/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_node_limit.kikimr0/default/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:244 Final command: /home/runner/.ya/build/build_root/5n9s/000b87/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_node_limit.kikimr0/default/node_1/logfile_2a50mi9i.log --grpc-port=19155 --mon-port=3619 --ic-port=17298
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/5n9s/000b87/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_node_limit.kikimr0/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_node_limit.kikimr0/default/node_1/logfile_2a50mi9i.log', '--grpc-port=19155', '--mon-port=3619', '--ic-port=17298')' in '/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_node_limit.kikimr0/default/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 2423942
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:279 Started node localhost:19155/1
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:458 Cluster started and initialized
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_alloc_default.py::TestAlloc, test_name: test_node_limit[kikimr0])
DEBUG    root:kikimr_runner.py:283 Wait for node 1 to bootstrap
DEBUG    root:kikimr_runner.py:294 Node 1 has been bootstrapped
DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 0
DEBUG    root:control_plane.py:61 Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/select_node_limit_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

DEBUG    root:control_plane.py:45 Response: operation {
  ready: true
  status: SUCCESS
}

DEBUG    root:control_plane.py:49 Result: 
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "1ddd18fb-e7a0-419d-a070-2dc376ab4a88"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc79mc34deom81"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc79mc34deom81"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950685
        nanos: 970224000
      }
      modified_at {
        seconds: 1762950685
        nanos: 970224000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc79mbpgtisa8i-ptqudsjc79mc34deom81"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950685
      nanos: 970224000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 10b6a12c-d440-4ea9-9148-3841abbaa651, localhost:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 10b6a12c-d440-4ea9-9148-3841abbaa651, localhost:26900): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 10b6a12c-d440-4ea9-9148-3841abbaa651, localhost:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jsz6bs6lqq.auto.internal" port: 26900 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jsz6bs6lqq.auto.internal:26900, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:26900
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc79mc34deom81"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950685
        nanos: 970224000
      }
      modified_at {
        seconds: 1762950685
        nanos: 970224000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950689
      nanos: 679000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc79mbpgtisa8i-ptqudsjc79mc34deom81"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950685
      nanos: 970224000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 4194304
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "640a13bf-2398-40e9-94e5-b47583d457eb"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc72kut0i5bbh6"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc72kut0i5bbh6"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950693
        nanos: 356604000
      }
      modified_at {
        seconds: 1762950693
        nanos: 356604000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc72kuim8t4699-ptqudsjc72kut0i5bbh6"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950693
      nanos: 356604000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc72kut0i5bbh6"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950693
        nanos: 356604000
      }
      modified_at {
        seconds: 1762950693
        nanos: 356604000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950693
      nanos: 636000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc72kuim8t4699-ptqudsjc72kut0i5bbh6"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762950693
      nanos: 356604000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":4,\"count\":4,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":4,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 8388608
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "96c99960-4e43-4baf-b407-aedf0823edef"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc70ahons1v5cu"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc70ahons1v5cu"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950695
        nanos: 794895000
      }
      modified_at {
        seconds: 1762950695
        nanos: 794895000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc70ahij3p5h3e-ptqudsjc70ahons1v5cu"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950695
      nanos: 794895000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc70ahons1v5cu"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950695
        nanos: 794895000
      }
      modified_at {
        seconds: 1762950695
        nanos: 794895000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950696
      nanos: 650000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc70ahij3p5h3e-ptqudsjc70ahons1v5cu"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950695
      nanos: 794895000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 12582912
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "6497ad6e-8c08-432a-a779-18d0f0d0246c"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc6trq9scfn5tv"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6trq9scfn5tv"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950698
        nanos: 374819000
      }
      modified_at {
        seconds: 1762950698
        nanos: 374819000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6trq3cl8t1hq-ptqudsjc6trq9scfn5tv"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950698
      nanos: 374819000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6trq9scfn5tv"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950698
        nanos: 374819000
      }
      modified_at {
        seconds: 1762950698
        nanos: 374819000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950698
      nanos: 634000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6trq3cl8t1hq-ptqudsjc6trq9scfn5tv"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762950698
      nanos: 374819000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":4,\"count\":4,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":4,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 16777216
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "2eb75939-bb2f-4a9a-b08c-a36eb8269f1b"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc6rgt2i35mqfm"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6rgt2i35mqfm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950700
        nanos: 829589000
      }
      modified_at {
        seconds: 1762950700
        nanos: 829589000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6rgsrv3nitfd-ptqudsjc6rgt2i35mqfm"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950700
      nanos: 829589000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 891e484d-36b5-4a26-ae0d-16ae74772ab3, localhost:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 891e484d-36b5-4a26-ae0d-16ae74772ab3, localhost:26900): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 891e484d-36b5-4a26-ae0d-16ae74772ab3, localhost:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jsz6bs6lqq.auto.internal" port: 26900 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jsz6bs6lqq.auto.internal:26900, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:26900
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6rgt2i35mqfm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950700
        nanos: 829589000
      }
      modified_at {
        seconds: 1762950700
        nanos: 829589000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950701
      nanos: 628000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6rgsrv3nitfd-ptqudsjc6rgt2i35mqfm"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950700
      nanos: 829589000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 290c5ef1-94f9-4dfe-b94c-5630d836bc99, localhost:26900): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 290c5ef1-94f9-4dfe-b94c-5630d836bc99, localhost:26900): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 290c5ef1-94f9-4dfe-b94c-5630d836bc99, localhost:26900): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jsz6bs6lqq.auto.internal" port: 26900 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jsz6bs6lqq.auto.internal:26900, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:26900
DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 20971520
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "3350ac2a-ccc9-456f-b5d8-aaea369a4137"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc6orgje4gtk89"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6orgje4gtk89"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950703
        nanos: 627644000
      }
      modified_at {
        seconds: 1762950703
        nanos: 627644000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6orgdf3gcakv-ptqudsjc6orgje4gtk89"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950703
      nanos: 627644000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6orgje4gtk89"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950703
        nanos: 627644000
      }
      modified_at {
        seconds: 1762950703
        nanos: 627644000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950704
      nanos: 757000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6orgdf3gcakv-ptqudsjc6orgje4gtk89"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950703
      nanos: 627644000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 25165824
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "f551819e-5d89-48eb-b67f-7486d3beebd2"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsjc6m74ir1ql449"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6m74ir1ql449"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950706
        nanos: 392461000
      }
      modified_at {
        seconds: 1762950706
        nanos: 392461000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6m74cgsafctq-ptqudsjc6m74ir1ql449"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950706
      nanos: 392461000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsjc6m74ir1ql449"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762950706
        nanos: 392461000
      }
      modified_at {
        seconds: 1762950706
        nanos: 392461000
      }
      revision: 1
    }
    started_at {
      seconds: 1762950707
      nanos: 25000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsjc6m74cgsafctq-ptqudsjc6m74ir1ql449"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762950706
      nanos: 392461000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_node_limit_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  transient_issue {
    message: "Not enough memory to allocate tasks"
    issue_code: 6001
    severity: 1
  }
  transient_issue {
    message: "Query failed with code OVERLOADED and will be restarted (RetryCount: 1) at 2025-11-12T12:31:47.721286Z"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_node_limit_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:26900\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsjc7cth2r3vuant\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200463))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:251 Stopped node localhost:19155/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64244
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24764
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3619
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19155
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17298
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5317
============================== slowest durations ===============================
183.11s teardown test_result_limits.py::TestResultLimits::test_many_rows
68.57s call     test_result_limits.py::TestResultLimits::test_many_rows
66.99s call     test_result_limits.py::TestResultLimits::test_large_row
32.94s call     test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
31.93s call     test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
31.78s call     test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
27.04s call     test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
23.34s call     test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
20.07s call     test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
19.61s call     test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
12.02s teardown test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
12.01s teardown test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
12.01s teardown test_result_limits.py::TestResultLimits::test_large_row
7.10s teardown test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
7.03s teardown test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
7.01s teardown test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
3.02s teardown test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
3.01s teardown test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
1.74s setup    test_result_limits.py::TestResultLimits::test_many_rows
1.08s setup    test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
1.00s setup    test_result_limits.py::TestResultLimits::test_large_row
0.78s setup    test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
0.75s setup    test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
0.75s setup    test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
0.74s setup    test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
0.57s setup    test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
0.56s setup    test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
0.51s setup    test_result_limits.py::TestResultLimits::test_quotas[kikimr0]

(2 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test_alloc_default.py::TestAlloc::test_node_limit[kikimr0] - AssertionError: Incorrect issues [message: "Not enough memory to allocate tasks"
  issue_code: 6001
  severity: 1
  , message: "Query failed with code OVERLOADED and will be restarted (RetryCount: 1) at 2025-11-12T12:31:47.721286Z"
  severity: 1
  ]
assert False
!!!!!!!!!!!!!! _pytest.outcomes.Exit: Graceful shutdown requested !!!!!!!!!!!!!!
============== 1 failed, 8 passed, 1 skipped in 604.96s (0:10:04) ==============

Traceback (most recent call last):
  File "library/python/testing/yatest_common/yatest/common/process.py", line 384, in wait
    wait_for(
  File "library/python/testing/yatest_common/yatest/common/process.py", line 764, in wait_for
    raise TimeoutError(truncate(message, MAX_MESSAGE_LEN))
yatest.common.process.TimeoutError: ...d '['/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/ydb-tests-fq-mem_alloc', '--basetemp', '/home/runner/.ya/build/build_root/5n9s/000b87/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/5n9s/000b87', '--source-root', '/home/runner/.ya/build/build_root/5n9s/000b87/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/mem_alloc', '--test-tool-bin', '/home/runner/.ya/tools/v4/8067063302/test_tool', '--ya-version', '2', '--collect-cores', '--sanitizer-extra-checks', '--build-type', 'release', '--tb', 'short', '--dep-root', 'ydb/tests/fq/mem_alloc', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'SANITIZER_TYPE=address', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no', '--sanitize', 'address']' stopped by 600 seconds timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "devtools/ya/test/programs/test_tool/run_test/run_test.py", line 1749, in main
    res.wait(check_exit_code=False, timeout=run_timeout, on_timeout=timeout_callback)
  File "library/python/testing/yatest_common/yatest/common/process.py", line 398, in wait
    raise ExecutionTimeoutError(self, str(e))
yatest.common.process.ExecutionTimeoutError: (("...d '['/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/ydb-tests-fq-mem_alloc', '--basetemp', '/home/runner/.ya/build/build_root/5n9s/000b87/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/5n9s/000b87', '--source-root', '/home/runner/.ya/build/build_root/5n9s/000b87/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/5n9s/000b87/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/mem_alloc', '--test-tool-bin', '/home/runner/.ya/tools/v4/8067063302/test_tool', '--ya-version', '2', '--collect-cores', '--sanitizer-extra-checks', '--build-type', 'release', '--tb', 'short', '--dep-root', 'ydb/tests/fq/mem_alloc', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'SANITIZER_TYPE=address', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no', '--sanitize', 'address']' stopped by 600 seconds timeout",), {})
