2025-12-12 13:26:25,628 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-12 13:26:25,629 - INFO - ya.test - pytest_runtest_setup: test_part_split[v1-client0]
2025-12-12 13:26:25,629 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-12 13:26:25,629 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-12-12 13:26:25,687 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_part_split[v1-client0])
2025-12-12 13:26:25,688 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f51af1290d0>
2025-12-12 13:26:25,691 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f51af238dd0>
2025-12-12 13:26:25,691 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8050>
2025-12-12 13:26:25,691 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f51af238ad0>
2025-12-12 13:26:25,694 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-12-12 13:26:25,698 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-12-12 13:26:25,699 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-12-12 13:26:25,701 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-12-12 13:26:25,702 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-12-12 13:26:25,703 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-12-12 13:26:25,704 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8ad0>
2025-12-12 13:26:25,704 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'split_bucket', 'ACL': 'public-read-write'}
2025-12-12 13:26:25,706 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f51af12af90>
2025-12-12 13:26:25,706 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f51af151850>
2025-12-12 13:26:25,706 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,706 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f51af12ad50>
2025-12-12 13:26:25,708 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f51af151a90>
2025-12-12 13:26:25,708 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,708 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'split_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:12075', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-12-12 13:26:25,710 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:12075/split_bucket
2025-12-12 13:26:25,712 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None"
2025-12-12 13:26:25,713 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selected auth type "v4" as "v4" with signing context params: {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}
2025-12-12 13:26:25,714 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f51af12b410>
2025-12-12 13:26:25,714 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f51af129310>
2025-12-12 13:26:25,714 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f51af150e90>
2025-12-12 13:26:25,714 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=CreateBucket) with params: {'url_path': '', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-acl': 'public-read-write', 'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/split_bucket/', 'url': 'http://localhost:12075/split_bucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f51940d1140>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'split_bucket', 'params': {'Bucket': 'split_bucket', 'ACL': 'public-read-write'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-12-12 13:26:25,715 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f51940d11e0>>
2025-12-12 13:26:25,716 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f519335f5d0>>
2025-12-12 13:26:25,716 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f51af12abd0>
2025-12-12 13:26:25,716 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f51af1519d0>
2025-12-12 13:26:25,717 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-12-12 13:26:25,717 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/split_bucket

host:localhost:12075
x-amz-acl:public-read-write
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251212T132625Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-12-12 13:26:25,717 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251212T132625Z
20251212/yandex/s3/aws4_request
c5ed6f95dffc9e9bb14682d532fa03f2c94bb5923d8df498c44ebabcb4e2d954
2025-12-12 13:26:25,718 - DEBUG - botocore.auth - add_auth: Signature:
9fc525068f568b20a88fd715a66b7dc20d4b9bd371338665b839a926791cff45
2025-12-12 13:26:25,718 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f51af151790>
2025-12-12 13:26:25,718 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:12075/split_bucket, headers={'x-amz-acl': b'public-read-write', 'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251212T132625Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251212/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=9fc525068f568b20a88fd715a66b7dc20d4b9bd371338665b839a926791cff45', 'amz-sdk-invocation-id': b'06e26c9f-9885-41a8-8d23-f6268a3fb1d0', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-12-12 13:26:25,726 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 12 Dec 2025 13:26:25 GMT', 'x-amzn-requestid': '2j00DmmqVSnMRSl28iKCVxmg10RUQsUOjPtvfJvwdIMoYmLAEZ6v', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '166', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-12-12 13:26:25,726 - DEBUG - botocore.parsers - parse: Response body:
b'<CreateBucketResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01"><CreateBucketResponse><Bucket>split_bucket</Bucket></CreateBucketResponse></CreateBucketResponse>'
2025-12-12 13:26:25,727 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f51933c2860>
2025-12-12 13:26:25,728 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-12-12 13:26:25,728 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,728 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': '2j00DmmqVSnMRSl28iKCVxmg10RUQsUOjPtvfJvwdIMoYmLAEZ6v', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.9', 'date': 'Fri, 12 Dec 2025 13:26:25 GMT', 'x-amzn-requestid': '2j00DmmqVSnMRSl28iKCVxmg10RUQsUOjPtvfJvwdIMoYmLAEZ6v', 'content-type': 'text/html; charset=utf-8', 'content-length': '166', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-12-12 13:26:25,729 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'split_bucket'}
2025-12-12 13:26:25,730 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function set_list_objects_encoding_type_url at 0x7f51af150890>
2025-12-12 13:26:25,730 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f51af12af90>
2025-12-12 13:26:25,730 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f51af151850>
2025-12-12 13:26:25,730 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,730 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f51af12ad50>
2025-12-12 13:26:25,731 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f51af151a90>
2025-12-12 13:26:25,731 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,732 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'split_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:12075', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-12-12 13:26:25,733 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:12075/split_bucket
2025-12-12 13:26:25,733 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None"
2025-12-12 13:26:25,733 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selected auth type "v4" as "v4" with signing context params: {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}
2025-12-12 13:26:25,734 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f51af12b410>
2025-12-12 13:26:25,735 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f51af129310>
2025-12-12 13:26:25,735 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f51af150e90>
2025-12-12 13:26:25,735 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=ListObjects) with params: {'url_path': '', 'query_string': {'encoding-type': 'url'}, 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/split_bucket/', 'url': 'http://localhost:12075/split_bucket?encoding-type=url', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f51940d1140>, 'has_streaming_input': False, 'auth_type': 'v4', 'encoding_type_auto_set': True, 's3_redirect': {'redirected': False, 'bucket': 'split_bucket', 'params': {'Bucket': 'split_bucket', 'EncodingType': 'url'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-12-12 13:26:25,736 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f51940d11e0>>
2025-12-12 13:26:25,737 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f519335f5d0>>
2025-12-12 13:26:25,737 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f51af12abd0>
2025-12-12 13:26:25,737 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f51af1519d0>
2025-12-12 13:26:25,738 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-12-12 13:26:25,738 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/split_bucket
encoding-type=url
host:localhost:12075
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251212T132625Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-12-12 13:26:25,738 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251212T132625Z
20251212/yandex/s3/aws4_request
206ed9bc5061e53831ec1ea7cb7ec07e92d43f1898e17529996d073db028d271
2025-12-12 13:26:25,739 - DEBUG - botocore.auth - add_auth: Signature:
108298ceb9e323b28e5a63877201a863c4057fe8316c8f8b914d5a40a885a2bb
2025-12-12 13:26:25,739 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f51af151790>
2025-12-12 13:26:25,739 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=http://localhost:12075/split_bucket?encoding-type=url, headers={'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251212T132625Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251212/yandex/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=108298ceb9e323b28e5a63877201a863c4057fe8316c8f8b914d5a40a885a2bb', 'amz-sdk-invocation-id': b'9e6895d5-6262-47ea-b542-2f1e3a6f8e52', 'amz-sdk-request': b'attempt=1'}>
2025-12-12 13:26:25,746 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 12 Dec 2025 13:26:25 GMT', 'x-amzn-requestid': 'B3Wa9XdvASQkLwKmGfeWpadvDT3HlIRBYPGyvpZ4ImKWOWYUcdOu', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '235', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-12-12 13:26:25,747 - DEBUG - botocore.parsers - parse: Response body:
b'<?xml version="1.0" encoding="UTF-8"?><ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>split_bucket</Name><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>'
2025-12-12 13:26:25,748 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f51933c2860>
2025-12-12 13:26:25,748 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-12-12 13:26:25,748 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f51933c0dd0>>
2025-12-12 13:26:25,749 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f51af150950>
2025-12-12 13:26:25,749 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-12-12 13:26:25,749 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-12-12 13:26:25,751 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8c50>
2025-12-12 13:26:25,780 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            insert into `h6848802375242865779_test_part_splitsbucket`.`part/` with (format=json_each_row, partitioned_by=(foo, bar))\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u, data:3.14|>,<|foo:456, bar:\"yyy\"u, data:2.72|>,<|foo:123, bar:\"xxx\"u, data:1.41|>]);\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "47770277-fae3-4d39-8ef0-eecb48e592d6"

2025-12-12 13:26:25,802 - DEBUG - root - create_query_impl: Result: query_id: "ptqudq7r5atfmkl2d09i"

2025-12-12 13:26:25,814 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r5atfmkl2d09i"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765545985
        nanos: 786145000
      }
      modified_at {
        seconds: 1765545985
        nanos: 786145000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudq7r5atfkq3ga2e1-ptqudq7r5atfmkl2d09i"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765545985
      nanos: 786145000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h6848802375242865779_test_part_splitsbucket`.`part/` with (format=json_each_row, partitioned_by=(foo, bar))\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u, data:3.14|>,<|foo:456, bar:\"yyy\"u, data:2.72|>,<|foo:123, bar:\"xxx\"u, data:1.41|>]);\n            "
    syntax: YQL_V1
  }
}

2025-12-12 13:26:26,329 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r5atfmkl2d09i"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765545985
        nanos: 786145000
      }
      modified_at {
        seconds: 1765545985
        nanos: 786145000
      }
      revision: 1
    }
    started_at {
      seconds: 1765545985
      nanos: 961000000
    }
    finished_at {
      seconds: 1765545986
      nanos: 124000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudq7r5atfkq3ga2e1-ptqudq7r5atfmkl2d09i"
    result_expire_at {
      seconds: 1765632385
      nanos: 952561000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765545985
      nanos: 786145000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h6848802375242865779_test_part_splitsbucket`.`part/` with (format=json_each_row, partitioned_by=(foo, bar))\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u, data:3.14|>,<|foo:456, bar:\"yyy\"u, data:2.72|>,<|foo:123, bar:\"xxx\"u, data:1.41|>]);\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsStruct\"},{\"Name\":\"AsList\"},{\"Name\":\"ToFlow\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"S3SinkOutput\"}]},\"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\":\"72ms\",\"count\":2,\"avg\":\"36ms\",\"max\":\"69ms\",\"min\":\"2ms\"},\"InputBytes\":{\"sum\":47,\"count\":1,\"avg\":47,\"max\":47,\"min\":47},\"InputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"OutputBytes\":{\"sum\":47,\"count\":1,\"avg\":47,\"max\":47,\"min\":47},\"OutputRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"EgressBytes\":{\"sum\":42,\"count\":1,\"avg\":42,\"max\":42,\"min\":42},\"EgressRows\":{\"sum\":4,\"count\":1,\"avg\":4,\"max\":4,\"min\":4},\"MaxMemoryUsage\":{\"sum\":327680,\"count\":2,\"avg\":163840,\"max\":196608,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DqStage \'() (lambda \'() (block \'(\n  (let $8 \'(\'\"bar\" (Utf8 \'\"xxx\")))\n  (let $9 \'(\'\"foo\" (Int32 \'\"123\")))\n  (let $10 (AsStruct $8 \'(\'\"data\" (Double \'\"3.14\")) $9))\n  (let $11 (AsStruct \'(\'\"bar\" (Utf8 \'\"yyy\")) \'(\'\"data\" (Double \'\"2.72\")) \'(\'\"foo\" (Int32 \'\"456\"))))\n  (let $12 (AsStruct $8 \'(\'\"data\" (Double \'\"1.41\")) $9))\n  (return (ToFlow (AsList $10 $11 $12)))\n))) \'()))\n(let $3 \'(\'\"foo\" \'\"bar\"))\n(let $4 (DataSink \'\"s3\" \'\"h6848802375242865779_test_part_splitsbucket\"))\n(let $5 \'(\'\"partitionedby\" \'\"foo\" \'\"bar\"))\n(let $6 (StructType \'(\'\"bar\" (DataType \'Utf8)) \'(\'\"data\" (DataType \'Double)) \'(\'\"foo\" (DataType \'Int32))))\n(let $7 (S3SinkSettings \'\"part/\" \'($5 \'(\'\"multipart\" \'\"true\")) (SecureParam \'\"cluster:default_h6848802375242865779_test_part_splitsbucket\") \'\".json\" $6))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $2 \'0) $3)) (lambda \'($13) (block \'(\n  (let $14 \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\") \'(\'\"file_size_limit\" \'\"52428800\")))\n  (return (S3SinkOutput $13 \'\"json_each_row\" $3 $14))\n))) \'() \'((DqSink \'0 $4 $7))))) $4))\n)\n"
  }
}

2025-12-12 13:26:26,330 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            select data from `h6848802375242865779_test_part_splitsbucket`.`part/foo=123/bar=xxx/` with (format=json_each_row, schema(\n                data Float NOT NULL,\n            ))\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "4939cb75-0710-4a16-a264-dc46432c8caa"

2025-12-12 13:26:26,356 - DEBUG - root - create_query_impl: Result: query_id: "ptqudq7r5acisa4eej31"

2025-12-12 13:26:26,371 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r5acisa4eej31"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765545986
        nanos: 339945000
      }
      modified_at {
        seconds: 1765545986
        nanos: 339945000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudq7r5aciq85ed9cs-ptqudq7r5acisa4eej31"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765545986
      nanos: 339945000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select data from `h6848802375242865779_test_part_splitsbucket`.`part/foo=123/bar=xxx/` with (format=json_each_row, schema(\n                data Float NOT NULL,\n            ))\n            "
    syntax: YQL_V1
  }
}

2025-12-12 13:26:26,874 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 13:26:26,874 - 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-12-12 13:26:26,879 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-12-12 13:26:26,880 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, a88fb420-8c6a-4c76-91c9-98d6ba83c067, localhost:20303): creating call state
2025-12-12 13:26:26,880 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, a88fb420-8c6a-4c76-91c9-98d6ba83c067, localhost:20303): request = { database: "local" }
2025-12-12 13:26:26,883 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, a88fb420-8c6a-4c76-91c9-98d6ba83c067, localhost:20303): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-qsiocfpt6q.auto.internal" port: 20303 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
2025-12-12 13:26:26,884 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-qsiocfpt6q.auto.internal:20303, location 1, ssl: False>]>
2025-12-12 13:26:26,884 - INFO - ydb.connection - close: Closing channel for endpoint localhost:20303
2025-12-12 13:26:26,891 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:27,401 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r5acisa4eej31"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765545986
        nanos: 339945000
      }
      modified_at {
        seconds: 1765545986
        nanos: 339945000
      }
      revision: 1
    }
    started_at {
      seconds: 1765545986
      nanos: 965000000
    }
    finished_at {
      seconds: 1765545987
      nanos: 96000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudq7r5aciq85ed9cs-ptqudq7r5acisa4eej31"
    result_expire_at {
      seconds: 1765632386
      nanos: 957197000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765545986
      nanos: 339945000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select data from `h6848802375242865779_test_part_splitsbucket`.`part/foo=123/bar=xxx/` with (format=json_each_row, schema(\n                data Float NOT NULL,\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"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\":2,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":8,\"level\":1,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":2,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":3,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"39ms\",\"count\":2,\"avg\":\"19ms\",\"max\":\"37ms\",\"min\":\"2ms\"},\"IngressBytes\":{\"sum\":28,\"count\":1,\"avg\":28,\"max\":28,\"min\":28},\"IngressRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"InputBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"InputRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"OutputBytes\":{\"sum\":26,\"count\":2,\"avg\":13,\"max\":13,\"min\":13},\"OutputRows\":{\"sum\":4,\"count\":2,\"avg\":2,\"max\":2,\"min\":2},\"ResultBytes\":{\"sum\":13,\"count\":1,\"avg\":13,\"max\":13,\"min\":13},\"ResultRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"MaxMemoryUsage\":{\"sum\":262144,\"count\":2,\"avg\":131072,\"max\":131072,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  result_set_meta {
    column {
      name: "data"
      type {
        type_id: FLOAT
      }
    }
    rows_count: 2
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h6848802375242865779_test_part_splitsbucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"part\\\"\\n  Children {\\n    Name: \\\"foo=123\\\"\\n    Children {\\n      Name: \\\"bar=xxx\\\"\\n      Children {\\n        Name: \\\"ptjudq7r5atfkq3ga2e1_0_ntmcoQNbvU6KtU5y5efGv7XTVDcxpiSO.json\\\"\\n        Size: 28\\n        Read: true\\n      }\\n      IsDirectory: true\\n    }\\n    IsDirectory: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 (StructType \'(\'\"data\" (DataType \'Float))))\n(let $8 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam \'\"cluster:default_h6848802375242865779_test_part_splitsbucket\") \'\"\" \'\"part/foo=123/bar=xxx/ \" \'\"json_each_row\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $4 $7 \'(\'(\'format \'\"json_each_row\"))))\n  (return (NarrowMap $15 (lambda \'($16) (AsStruct \'(\'\"data\" $16)))))\n))) \'(\'(\'\"_logical_id\" \'200010))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($17) $17) \'(\'(\'\"_logical_id\" \'200047))))\n(let $11 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"data\"))))\n(let $12 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $10 \'\"0\") \'()) $11 \'\"dq\"))\n(return (Commit! (Commit! $12 $2) (DataSink \'\"s3\" $3)))\n)\n"
  }
}

2025-12-12 13:26:27,415 - DEBUG - root - test_part_split: columns {
  name: "data"
  type {
    type_id: FLOAT
  }
}
rows {
  items {
    float_value: 3.140000104904175
  }
}
rows {
  items {
    float_value: 1.409999966621399
  }
}

2025-12-12 13:26:27,417 - INFO - ya.test - pytest_runtest_teardown: Test teardown
