2025-10-26 19:34:25,502 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-26 19:34:25,502 - INFO - ya.test - pytest_runtest_setup: test_up_down[kikimr0]
2025-10-26 19:34:25,502 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-26 19:34:25,503 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-26 19:34:25,504 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/13295
2025-10-26 19:34:25,510 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/19302
2025-10-26 19:34:25,615 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/30517
2025-10-26 19:34:25,616 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/19555
2025-10-26 19:34:25,617 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:25,619 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-26 19:34:25,620 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:25,635 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-10-26 19:34:25,636 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, ce7cb3db-bc40-4e55-9b35-b8c5ace196ce, localhost:18386): creating call state
2025-10-26 19:34:25,636 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, ce7cb3db-bc40-4e55-9b35-b8c5ace196ce, localhost:18386): request = { database: "local" }
2025-10-26 19:34:25,645 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, ce7cb3db-bc40-4e55-9b35-b8c5ace196ce, localhost:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-pqq4nwlsgu.auto.internal" port: 18386 service: "legacy" 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-10-26 19:34:25,647 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-pqq4nwlsgu.auto.internal:18386, location 1, ssl: False>]>
2025-10-26 19:34:25,647 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:25,653 - INFO - ydb.connection - close: Closing channel for endpoint localhost:18386
2025-10-26 19:34:25,654 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-26 19:34:25,655 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x604001ad18f0 state=pending>
2025-10-26 19:34:25,655 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-10-26 19:34:25,656 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,656 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,657 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 9977d134-8d34-47c4-9013-820d7e1460f0, ghrun-pqq4nwlsgu.auto.internal:18386): creating call state
2025-10-26 19:34:25,658 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 9977d134-8d34-47c4-9013-820d7e1460f0, ghrun-pqq4nwlsgu.auto.internal:18386): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-26 19:34:25,664 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 9977d134-8d34-47c4-9013-820d7e1460f0, ghrun-pqq4nwlsgu.auto.internal:18386): on response callback started
2025-10-26 19:34:25,665 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 9977d134-8d34-47c4-9013-820d7e1460f0, ghrun-pqq4nwlsgu.auto.internal:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=MTRhMGFlMDYtZDA2YTJmOGEtYTZhMmVkYmEtZWZmMWZmMjg=" } } } }
2025-10-26 19:34:25,666 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,667 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,668 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 9977d134-8d34-47c4-9013-820d7e1460f0, ghrun-pqq4nwlsgu.auto.internal:18386): on response callback success
2025-10-26 19:34:25,668 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, d50183f7-15c6-4630-ae1f-d6afc464e752, ghrun-pqq4nwlsgu.auto.internal:18386): creating call state
2025-10-26 19:34:25,673 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, d50183f7-15c6-4630-ae1f-d6afc464e752, ghrun-pqq4nwlsgu.auto.internal:18386): request = { session_id: "ydb://session/3?node_id=1&id=MTRhMGFlMDYtZDA2YTJmOGEtYTZhMmVkYmEtZWZmMWZmMjg=" path: "local/DbPoolStorage_5666f724-55b6-4a76-bd15-daefa9915f12/tenants" columns { name: "tenant" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "common" type { optional_type { item { type_id: BOOL } } } } columns { name: "state" type { optional_type { item { type_id: UINT32 } } } } columns { name: "state_time" type { optional_type { item { type_id: TIMESTAMP } } } } primary_key: "tenant" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-26 19:34:25,756 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, d50183f7-15c6-4630-ae1f-d6afc464e752, ghrun-pqq4nwlsgu.auto.internal:18386): response = { operation { ready: true status: SUCCESS } }
2025-10-26 19:34:25,757 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,759 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, be54eaf3-3788-418a-95f9-310e558e9936, ghrun-pqq4nwlsgu.auto.internal:18386): creating call state
2025-10-26 19:34:25,760 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, be54eaf3-3788-418a-95f9-310e558e9936, ghrun-pqq4nwlsgu.auto.internal:18386): request = { session_id: "ydb://session/3?node_id=1&id=MTRhMGFlMDYtZDA2YTJmOGEtYTZhMmVkYmEtZWZmMWZmMjg=" path: "local/DbPoolStorage_5666f724-55b6-4a76-bd15-daefa9915f12/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 } } }
2025-10-26 19:34:25,837 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, be54eaf3-3788-418a-95f9-310e558e9936, ghrun-pqq4nwlsgu.auto.internal:18386): response = { operation { ready: true status: SUCCESS } }
2025-10-26 19:34:25,839 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:25,840 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 162c5afe-0d8a-4d20-8297-ab069c7a78f9, ghrun-pqq4nwlsgu.auto.internal:18386): creating call state
2025-10-26 19:34:25,842 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 162c5afe-0d8a-4d20-8297-ab069c7a78f9, ghrun-pqq4nwlsgu.auto.internal:18386): request = { session_id: "ydb://session/3?node_id=1&id=MTRhMGFlMDYtZDA2YTJmOGEtYTZhMmVkYmEtZWZmMWZmMjg=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_5666f724-55b6-4a76-bd15-daefa9915f12\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/default\", \"/default\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-26 19:34:25,992 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 162c5afe-0d8a-4d20-8297-ab069c7a78f9, ghrun-pqq4nwlsgu.auto.internal:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-10-26 19:34:25,994 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x604001abd0f0>
2025-10-26 19:34:26,125 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/25349
2025-10-26 19:34:26,127 - DEBUG - library.python.filelock - acquire: Acquiring filelock (blocking=False): /home/runner/.ya/build/port_sync_dir/10092
2025-10-26 19:34:26,129 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/70hy/0001e4/ydb/apps/ydbd/ydbd
2025-10-26 19:34:26,130 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py__TestAlloc__test_up_down[kikimr0]/default/kikimr_configs"
2025-10-26 19:34:26,131 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/70hy/0001e4/ydb/apps/ydbd/ydbd server --suppress-version-check --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py__TestAlloc__test_up_down[kikimr0]/default/node_1/logfile_jqrcq29r.log --yaml-config=$CFG_DIR_PATH/config.yaml --grpc-port=19555 --mon-port=25349 --ic-port=30517
2025-10-26 19:34:26,134 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/70hy/0001e4/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py__TestAlloc__test_up_down[kikimr0]/default/node_1/logfile_jqrcq29r.log', '--yaml-config=/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py__TestAlloc__test_up_down[kikimr0]/default/kikimr_configs/config.yaml', '--grpc-port=19555', '--mon-port=25349', '--ic-port=30517')' with input '/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/stdin' in '/home/runner/.ya/build/build_root/70hy/0001e4/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py__TestAlloc__test_up_down[kikimr0]/default/node_1' (no wait)
2025-10-26 19:34:26,139 - DEBUG - ya.test - execute: Command pid: 1960373
2025-10-26 19:34:26,140 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:19555/1
2025-10-26 19:34:26,141 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-10-26 19:34:26,147 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_alloc_default.py::TestAlloc, test_name: test_up_down[kikimr0])
2025-10-26 19:34:26,148 - DEBUG - root - wait_bootstrap: Wait for node 1 to bootstrap
2025-10-26 19:34:30,649 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-26 19:34:30,650 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:30,683 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-10-26 19:34:30,684 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 4bc26c9f-5eb6-4778-96f7-9e3077b5558e, localhost:18386): creating call state
2025-10-26 19:34:30,685 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 4bc26c9f-5eb6-4778-96f7-9e3077b5558e, localhost:18386): request = { database: "local" }
2025-10-26 19:34:30,695 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 4bc26c9f-5eb6-4778-96f7-9e3077b5558e, localhost:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-pqq4nwlsgu.auto.internal" port: 18386 service: "legacy" 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-10-26 19:34:30,697 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-pqq4nwlsgu.auto.internal:18386, location 1, ssl: False>]>
2025-10-26 19:34:30,698 - INFO - ydb.connection - close: Closing channel for endpoint localhost:18386
2025-10-26 19:34:31,108 - DEBUG - root - wait_bootstrap: Node 1 has been bootstrapped
2025-10-26 19:34:31,181 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 0
2025-10-26 19:34:31,184 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/select_up_down_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-10-26 19:34:31,281 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-10-26 19:34:31,282 - DEBUG - root - _get_and_check_result: Result: 
2025-10-26 19:34:31,286 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/select_up_down_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-10-26 19:34:31,373 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-10-26 19:34:31,374 - DEBUG - root - _get_and_check_result: Result: 
2025-10-26 19:34:31,442 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-10-26 19:34:31,443 - DEBUG - root - _get_and_check_result: Result: 
2025-10-26 19:34:35,168 - DEBUG - root - create_query_impl: Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            INSERT INTO myyds.`select_up_down_output`\n            SELECT Data\n            FROM myyds.`select_up_down_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "1044abaf-06d5-4ca6-b1b6-86f6200da38f"

2025-10-26 19:34:35,901 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-26 19:34:35,902 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:35,917 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-10-26 19:34:35,918 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 53ecd83d-9881-45db-92a4-ca0c5e106dcd, localhost:18386): creating call state
2025-10-26 19:34:35,918 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 53ecd83d-9881-45db-92a4-ca0c5e106dcd, localhost:18386): request = { database: "local" }
2025-10-26 19:34:35,924 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 53ecd83d-9881-45db-92a4-ca0c5e106dcd, localhost:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-pqq4nwlsgu.auto.internal" port: 18386 service: "legacy" 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-10-26 19:34:35,926 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-pqq4nwlsgu.auto.internal:18386, location 1, ssl: False>]>
2025-10-26 19:34:35,926 - INFO - ydb.connection - close: Closing channel for endpoint localhost:18386
2025-10-26 19:34:37,269 - DEBUG - root - create_query_impl: Result: query_id: "ptqudttcg9f9iopn49cm"

2025-10-26 19:34:37,798 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudttcg9f9iopn49cm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1761507275
        nanos: 200850000
      }
      modified_at {
        seconds: 1761507275
        nanos: 200850000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudttcg9f9b9p4ij64-ptqudttcg9f9iopn49cm"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1761507275
      nanos: 200850000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`select_up_down_output`\n            SELECT Data\n            FROM myyds.`select_up_down_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
}

2025-10-26 19:34:39,863 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-10-26 19:34:41,914 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudttcg9f9iopn49cm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1761507275
        nanos: 200850000
      }
      modified_at {
        seconds: 1761507275
        nanos: 200850000
      }
      revision: 1
    }
    started_at {
      seconds: 1761507279
      nanos: 194000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudttcg9f9b9p4ij64-ptqudttcg9f9iopn49cm"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1761507275
      nanos: 200850000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`select_up_down_output`\n            SELECT Data\n            FROM myyds.`select_up_down_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'(\'\"Endpoint\" \'\"localhost:18386\") \'(\'\"AddBearerToToken\" \'\"1\")))\n(let $8 (SecureParam \'\"cluster:default_myyds\"))\n(let $9 (DqPqTopicSource $5 $6 $7 $8))\n(let $10 (DqStage \'((DqSource $2 $9)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $2 $4 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))))))\n  (return (NarrowMap $15 (lambda \'($16) (AsStruct \'(\'\"Data\" $16)))))\n))) \'(\'(\'\"_logical_id\" \'199446))))\n(let $11 (DataSink \'\"pq\" \'\"myyds\"))\n(let $12 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_output\" $3 \'() $4))\n(let $13 (DqPqTopicSink $12 $7 $8))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($17) (block \'(\n  (let $18 (Interval \'10000000))\n  (let $19 (lambda \'($26) (AsStruct)))\n  (let $20 (MultiHoppingCore (FromFlow $17) (lambda \'($21) (Member $21 \'\"Data\")) (lambda \'($22) (Just (CurrentUtcTimestamp))) $18 $18 $18 \'true (lambda \'($23) (AsStruct)) (lambda \'($24 $25) (AsStruct)) $19 $19 (lambda \'($27 $28) (AsStruct)) (lambda \'($29 $30 $31) (AsStruct \'(\'\"Data\" $29) \'(\'\"_yql_time\" $31))) \'0))\n  (return (ExtractMembers $20 $6))\n))) \'(\'(\'\"_logical_id\" \'199596)) \'((DqSink \'0 $11 $13))))) $11))\n)\n"
  }
}

2025-10-26 19:34:44,192 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,250 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0010*\014shard-000000"
  }
}

2025-10-26 19:34:44,251 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000000']
2025-10-26 19:34:44,295 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,314 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0011*\014shard-000000"
  }
}

2025-10-26 19:34:44,314 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000001']
2025-10-26 19:34:44,361 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,379 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0012*\014shard-000000"
  }
}

2025-10-26 19:34:44,380 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000002']
2025-10-26 19:34:44,425 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,493 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0013*\014shard-000000"
  }
}

2025-10-26 19:34:44,494 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000003']
2025-10-26 19:34:44,545 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,621 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0014*\014shard-000000"
  }
}

2025-10-26 19:34:44,621 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000004']
2025-10-26 19:34:44,666 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,734 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0015*\014shard-000000"
  }
}

2025-10-26 19:34:44,735 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000005']
2025-10-26 19:34:44,784 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,800 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0016*\014shard-000000"
  }
}

2025-10-26 19:34:44,800 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000006']
2025-10-26 19:34:44,849 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:44,865 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0017*\014shard-000000"
  }
}

2025-10-26 19:34:44,866 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000007']
2025-10-26 19:34:45,008 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,025 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0018*\014shard-000000"
  }
}

2025-10-26 19:34:45,026 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000008']
2025-10-26 19:34:45,075 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,092 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0019*\014shard-000000"
  }
}

2025-10-26 19:34:45,093 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000009']
2025-10-26 19:34:45,140 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,244 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00210*\014shard-000000"
  }
}

2025-10-26 19:34:45,245 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000a']
2025-10-26 19:34:45,303 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,319 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00211*\014shard-000000"
  }
}

2025-10-26 19:34:45,320 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000b']
2025-10-26 19:34:45,379 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,393 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00212*\014shard-000000"
  }
}

2025-10-26 19:34:45,394 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000c']
2025-10-26 19:34:45,454 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,507 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00213*\014shard-000000"
  }
}

2025-10-26 19:34:45,508 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000d']
2025-10-26 19:34:45,566 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,645 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00214*\014shard-000000"
  }
}

2025-10-26 19:34:45,646 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000e']
2025-10-26 19:34:45,704 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,724 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00215*\014shard-000000"
  }
}

2025-10-26 19:34:45,724 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000000f']
2025-10-26 19:34:45,781 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,796 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00216*\014shard-000000"
  }
}

2025-10-26 19:34:45,797 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000010']
2025-10-26 19:34:45,855 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:45,884 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00217*\014shard-000000"
  }
}

2025-10-26 19:34:45,885 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000011']
2025-10-26 19:34:46,017 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:46,040 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00218*\014shard-000000"
  }
}

2025-10-26 19:34:46,041 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000012']
2025-10-26 19:34:46,096 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:46,163 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00219*\014shard-000000"
  }
}

2025-10-26 19:34:46,164 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000013']
2025-10-26 19:34:46,226 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:46,243 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00220*\014shard-000000"
  }
}

2025-10-26 19:34:46,244 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000014']
2025-10-26 19:34:46,296 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:46,313 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00221*\014shard-000000"
  }
}

2025-10-26 19:34:46,313 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000015']
2025-10-26 19:34:46,373 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 2097152
2025-10-26 19:34:46,388 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00222*\014shard-000000"
  }
}

2025-10-26 19:34:46,389 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000016']
2025-10-26 19:34:46,449 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:46,510 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00223*\014shard-000000"
  }
}

2025-10-26 19:34:46,511 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000017']
2025-10-26 19:34:46,569 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:46,645 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00224*\014shard-000000"
  }
}

2025-10-26 19:34:46,645 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000018']
2025-10-26 19:34:46,714 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:46,729 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00225*\014shard-000000"
  }
}

2025-10-26 19:34:46,729 - INFO - root - write_stream: Data was written to select_up_down_input: ['000000019']
2025-10-26 19:34:46,789 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:46,847 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00226*\014shard-000000"
  }
}

2025-10-26 19:34:46,848 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000001a']
2025-10-26 19:34:46,997 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:47,014 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00227*\014shard-000000"
  }
}

2025-10-26 19:34:47,014 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000001b']
2025-10-26 19:34:47,081 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 3145728
2025-10-26 19:34:47,157 - DEBUG - root - write_stream: Write topic select_up_down_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00228*\014shard-000000"
  }
}

2025-10-26 19:34:47,158 - INFO - root - write_stream: Data was written to select_up_down_input: ['00000001c']
2025-10-26 19:34:47,221 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 4194304
2025-10-26 19:34:49,012 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-26 19:34:49,012 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:34:49,021 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-10-26 19:34:49,022 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, f973acf9-3e24-440f-bef5-b680c7ea4289, localhost:18386): creating call state
2025-10-26 19:34:49,023 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, f973acf9-3e24-440f-bef5-b680c7ea4289, localhost:18386): request = { database: "local" }
2025-10-26 19:34:49,031 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, f973acf9-3e24-440f-bef5-b680c7ea4289, localhost:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-pqq4nwlsgu.auto.internal" port: 18386 service: "legacy" 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-10-26 19:34:49,032 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-pqq4nwlsgu.auto.internal:18386, location 1, ssl: False>]>
2025-10-26 19:34:49,034 - INFO - ydb.connection - close: Closing channel for endpoint localhost:18386
2025-10-26 19:34:49,047 - DEBUG - root - control_query: Result: 
2025-10-26 19:34:49,095 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudttcg9f9iopn49cm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1761507275
        nanos: 200850000
      }
      modified_at {
        seconds: 1761507289
        nanos: 15716000
      }
      revision: 2
    }
    started_at {
      seconds: 1761507279
      nanos: 194000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudttcg9f9b9p4ij64-ptqudttcg9f9iopn49cm"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1761507275
      nanos: 200850000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`select_up_down_output`\n            SELECT Data\n            FROM myyds.`select_up_down_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.80s\",\"count\":2,\"avg\":\"0.40s\",\"max\":\"0.55s\",\"min\":\"0.24s\"},\"IngressBytes\":{\"sum\":261,\"count\":1,\"avg\":261,\"max\":261,\"min\":261},\"IngressRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputBytes\":{\"sum\":435,\"count\":1,\"avg\":435,\"max\":435,\"min\":435},\"InputRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"OutputBytes\":{\"sum\":435,\"count\":1,\"avg\":435,\"max\":435,\"min\":435},\"OutputRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"EgressRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MaxMemoryUsage\":{\"sum\":1638400,\"count\":2,\"avg\":819200,\"max\":1376256,\"min\":262144}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'(\'\"Endpoint\" \'\"localhost:18386\") \'(\'\"AddBearerToToken\" \'\"1\")))\n(let $8 (SecureParam \'\"cluster:default_myyds\"))\n(let $9 (DqPqTopicSource $5 $6 $7 $8))\n(let $10 (DqStage \'((DqSource $2 $9)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $2 $4 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))))))\n  (return (NarrowMap $15 (lambda \'($16) (AsStruct \'(\'\"Data\" $16)))))\n))) \'(\'(\'\"_logical_id\" \'199446))))\n(let $11 (DataSink \'\"pq\" \'\"myyds\"))\n(let $12 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_output\" $3 \'() $4))\n(let $13 (DqPqTopicSink $12 $7 $8))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($17) (block \'(\n  (let $18 (Interval \'10000000))\n  (let $19 (lambda \'($26) (AsStruct)))\n  (let $20 (MultiHoppingCore (FromFlow $17) (lambda \'($21) (Member $21 \'\"Data\")) (lambda \'($22) (Just (CurrentUtcTimestamp))) $18 $18 $18 \'true (lambda \'($23) (AsStruct)) (lambda \'($24 $25) (AsStruct)) $19 $19 (lambda \'($27 $28) (AsStruct)) (lambda \'($29 $30 $31) (AsStruct \'(\'\"Data\" $29) \'(\'\"_yql_time\" $31))) \'0))\n  (return (ExtractMembers $20 $6))\n))) \'(\'(\'\"_logical_id\" \'199596)) \'((DqSink \'0 $11 $13))))) $11))\n)\n"
  }
}

2025-10-26 19:34:51,135 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudttcg9f9iopn49cm"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1761507275
        nanos: 200850000
      }
      modified_at {
        seconds: 1761507289
        nanos: 15716000
      }
      revision: 2
    }
    started_at {
      seconds: 1761507279
      nanos: 194000000
    }
    finished_at {
      seconds: 1761507289
      nanos: 307000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudttcg9f9b9p4ij64-ptqudttcg9f9iopn49cm"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1761507275
      nanos: 200850000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`select_up_down_output`\n            SELECT Data\n            FROM myyds.`select_up_down_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  issue {
    message: "ABORTED_BY_USER"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.80s\",\"count\":2,\"avg\":\"0.40s\",\"max\":\"0.55s\",\"min\":\"0.24s\"},\"IngressBytes\":{\"sum\":261,\"count\":1,\"avg\":261,\"max\":261,\"min\":261},\"IngressRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputBytes\":{\"sum\":435,\"count\":1,\"avg\":435,\"max\":435,\"min\":435},\"InputRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"OutputBytes\":{\"sum\":435,\"count\":1,\"avg\":435,\"max\":435,\"min\":435},\"OutputRows\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"EgressRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MaxMemoryUsage\":{\"sum\":1638400,\"count\":2,\"avg\":819200,\"max\":1376256,\"min\":262144}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'(\'\"Endpoint\" \'\"localhost:18386\") \'(\'\"AddBearerToToken\" \'\"1\")))\n(let $8 (SecureParam \'\"cluster:default_myyds\"))\n(let $9 (DqPqTopicSource $5 $6 $7 $8))\n(let $10 (DqStage \'((DqSource $2 $9)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $2 $4 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))))))\n  (return (NarrowMap $15 (lambda \'($16) (AsStruct \'(\'\"Data\" $16)))))\n))) \'(\'(\'\"_logical_id\" \'199446))))\n(let $11 (DataSink \'\"pq\" \'\"myyds\"))\n(let $12 (PqTopic \'\"myyds\" \'\"local\" \'\"select_up_down_output\" $3 \'() $4))\n(let $13 (DqPqTopicSink $12 $7 $8))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($17) (block \'(\n  (let $18 (Interval \'10000000))\n  (let $19 (lambda \'($26) (AsStruct)))\n  (let $20 (MultiHoppingCore (FromFlow $17) (lambda \'($21) (Member $21 \'\"Data\")) (lambda \'($22) (Just (CurrentUtcTimestamp))) $18 $18 $18 \'true (lambda \'($23) (AsStruct)) (lambda \'($24 $25) (AsStruct)) $19 $19 (lambda \'($27 $28) (AsStruct)) (lambda \'($29 $30 $31) (AsStruct \'(\'\"Data\" $29) \'(\'\"_yql_time\" $31))) \'0))\n  (return (ExtractMembers $20 $6))\n))) \'(\'(\'\"_logical_id\" \'199596)) \'((DqSink \'0 $11 $13))))) $11))\n)\n"
  }
}

2025-10-26 19:34:51,199 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 0
2025-10-26 19:34:51,202 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-10-26 19:35:11,897 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-26 19:35:11,897 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-10-26 19:35:11,906 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-10-26 19:35:11,907 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 80b102eb-2e54-4d15-b467-24a3466b72aa, localhost:18386): creating call state
2025-10-26 19:35:11,907 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 80b102eb-2e54-4d15-b467-24a3466b72aa, localhost:18386): request = { database: "local" }
2025-10-26 19:35:11,913 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 80b102eb-2e54-4d15-b467-24a3466b72aa, localhost:18386): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-pqq4nwlsgu.auto.internal" port: 18386 service: "legacy" 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-10-26 19:35:11,914 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-pqq4nwlsgu.auto.internal:18386, location 1, ssl: False>]>
2025-10-26 19:35:11,915 - INFO - ydb.connection - close: Closing channel for endpoint localhost:18386
2025-10-26 19:35:28,205 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:19555/1
2025-10-26 19:35:28,206 - DEBUG - library.python.filelock - release: Ensuring filelock released: /home/runner/.ya/build/port_sync_dir/10092
2025-10-26 19:35:28,206 - DEBUG - library.python.filelock - release: Ensuring filelock released: /home/runner/.ya/build/port_sync_dir/25349
2025-10-26 19:35:28,206 - DEBUG - library.python.filelock - release: Ensuring filelock released: /home/runner/.ya/build/port_sync_dir/19555
2025-10-26 19:35:28,207 - DEBUG - library.python.filelock - release: Ensuring filelock released: /home/runner/.ya/build/port_sync_dir/30517
2025-10-26 19:35:28,207 - DEBUG - library.python.filelock - release: Ensuring filelock released: /home/runner/.ya/build/port_sync_dir/19302
