2025-11-10 09:38:04,036 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:38:04,036 - INFO - ya.test - pytest_runtest_setup: test_multipart_insert_with_compression[v1-client0-zstd-tsv_with_names]
2025-11-10 09:38:04,037 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:38:04,037 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-10 09:38:04,104 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_multipart_insert_with_compression[v1-client0-zstd-tsv_with_names])
2025-11-10 09:38:04,123 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f48f3219f10>
2025-11-10 09:38:04,141 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f48f333d6d0>
2025-11-10 09:38:04,145 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f48df846f90>
2025-11-10 09:38:04,145 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f48f333d3d0>
2025-11-10 09:38:04,152 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-10 09:38:04,157 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-10 09:38:04,180 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-10 09:38:04,181 - DEBUG - botocore.utils - register: Registering S3Express Identity Resolver
2025-11-10 09:38:04,196 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-10 09:38:04,198 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-10 09:38:04,203 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-10 09:38:04,205 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f48df847a10>
2025-11-10 09:38:04,219 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}
2025-11-10 09:38:04,226 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:38:04,226 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f48f3246690>
2025-11-10 09:38:04,226 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,227 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method ClientCreator._inject_s3_input_parameters of <botocore.client.ClientCreator object at 0x7f48d4e4c560>>
2025-11-10 09:38:04,227 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:38:04,227 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:38:04,227 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,228 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:6023', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True, 'UseS3ExpressControlEndpoint': True}
2025-11-10 09:38:04,229 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:38:04,230 - 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-11-10 09:38:04,230 - 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-11-10 09:38:04,276 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:38:04,276 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,277 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:38:04,277 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:38:04,277 - 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.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource'}, 'body': b'', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:6023/insert_bucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f48d50dcba0>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}}, 'input_params': {'Bucket': 'insert_bucket'}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'yandex'}]}}}
2025-11-10 09:38:04,278 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d50dee00>>
2025-11-10 09:38:04,279 - 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 0x7f48d4e4c560>>
2025-11-10 09:38:04,279 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:38:04,280 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:38:04,297 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,305 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:38:04,372 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/insert_bucket

host:localhost:6023
x-amz-acl:public-read-write
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251110T093804Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:38:04,373 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093804Z
20251110/yandex/s3/aws4_request
41f3349e17fd3047070cf678d529c1abcfbb5601f2e0bd7bf83282d026e0fd26
2025-11-10 09:38:04,373 - DEBUG - botocore.auth - add_auth: Signature:
a1437e9605239d775414b7ec39884faaac978ec8532bf3c4c38b9e49bcdadb88
2025-11-10 09:38:04,374 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:38:04,374 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:6023/insert_bucket, headers={'x-amz-acl': b'public-read-write', 'User-Agent': b'Boto3/1.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource', 'X-Amz-Date': b'20251110T093804Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=a1437e9605239d775414b7ec39884faaac978ec8532bf3c4c38b9e49bcdadb88', 'amz-sdk-invocation-id': b'4ea934f0-d272-40bb-9f00-e8848808fe4f', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-10 09:38:04,375 - DEBUG - botocore.hooks - _emit: Event before-send.s3.CreateBucket: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:38:04,416 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:38:04 GMT', 'x-amzn-requestid': 'yHGx91nzapQR8DCETyqGuaI2U0j71E4fpF15K4RNHr6VSz2Arszh', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '167', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:38:04,416 - DEBUG - botocore.parsers - parse: Response body:
b'<CreateBucketResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01"><CreateBucketResponse><Bucket>insert_bucket</Bucket></CreateBucketResponse></CreateBucketResponse>'
2025-11-10 09:38:04,419 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48f30081a0>
2025-11-10 09:38:04,420 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:38:04,420 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,421 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'yHGx91nzapQR8DCETyqGuaI2U0j71E4fpF15K4RNHr6VSz2Arszh', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:38:04 GMT', 'x-amzn-requestid': 'yHGx91nzapQR8DCETyqGuaI2U0j71E4fpF15K4RNHr6VSz2Arszh', 'content-type': 'text/html; charset=utf-8', 'content-length': '167', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-10 09:38:04,421 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'insert_bucket'}
2025-11-10 09:38:04,422 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function set_list_objects_encoding_type_url at 0x7f48f32456d0>
2025-11-10 09:38:04,422 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:38:04,423 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f48f3246690>
2025-11-10 09:38:04,423 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,423 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method ClientCreator._inject_s3_input_parameters of <botocore.client.ClientCreator object at 0x7f48d4e4c560>>
2025-11-10 09:38:04,423 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:38:04,424 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:38:04,424 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,424 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:6023', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-10 09:38:04,426 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:38:04,426 - 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-11-10 09:38:04,426 - 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-11-10 09:38:04,428 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:38:04,428 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,428 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:38:04,428 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:38:04,429 - 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.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource'}, 'body': b'', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:6023/insert_bucket?encoding-type=url', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f48d50dcba0>, 'has_streaming_input': False, 'auth_type': 'v4', 'encoding_type_auto_set': True, 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'EncodingType': 'url'}}, 'input_params': {'Bucket': 'insert_bucket'}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'yandex'}]}}}
2025-11-10 09:38:04,430 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d50dee00>>
2025-11-10 09:38:04,430 - 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 0x7f48d4e4c560>>
2025-11-10 09:38:04,430 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:38:04,431 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:38:04,431 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,431 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:38:04,432 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/insert_bucket
encoding-type=url
host:localhost:6023
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251110T093804Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:38:04,432 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093804Z
20251110/yandex/s3/aws4_request
7b003adc2f4dabc6344380b62ff0ab919edf005523a1789a473820024b3a31f1
2025-11-10 09:38:04,432 - DEBUG - botocore.auth - add_auth: Signature:
0eb57bd5f033bfcacbdd259af27536536df406bd782ea04594b2848e436212ae
2025-11-10 09:38:04,432 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:38:04,433 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=http://localhost:6023/insert_bucket?encoding-type=url, headers={'User-Agent': b'Boto3/1.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource', 'X-Amz-Date': b'20251110T093804Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=0eb57bd5f033bfcacbdd259af27536536df406bd782ea04594b2848e436212ae', 'amz-sdk-invocation-id': b'a173b3b6-5e91-4278-a842-0ca704e644be', 'amz-sdk-request': b'attempt=1'}>
2025-11-10 09:38:04,433 - DEBUG - botocore.hooks - _emit: Event before-send.s3.ListObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:38:04,483 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:38:04 GMT', 'x-amzn-requestid': 'rarmBfqzX9Tk5ZmNo42F58E9ssQhaNtveAUm1Wf8KeuzerudzTY1', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '622', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:38:04,484 - 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>insert_bucket</Name><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst</Key><LastModified>2025-11-10T09:38:01.000Z</LastModified><ETag>&#34;5220af451a42f88b7dcc572ca41001a3-1&#34;</ETag><Size>1308</Size><StorageClass>STANDARD</StorageClass><Owner><ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID><DisplayName>webfile</DisplayName></Owner></Contents></ListBucketResult>'
2025-11-10 09:38:04,486 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48f30081a0>
2025-11-10 09:38:04,492 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:38:04,492 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,493 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f48f3245790>
2025-11-10 09:38:04,493 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-11-10 09:38:04,501 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-11-10 09:38:04,505 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f48df847b90>
2025-11-10 09:38:04,506 - DEBUG - boto3.resources.action - __call__: Calling s3:delete_objects with {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst'}]}}
2025-11-10 09:38:04,507 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:38:04,507 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f48f3246690>
2025-11-10 09:38:04,507 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,508 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <bound method ClientCreator._inject_s3_input_parameters of <botocore.client.ClientCreator object at 0x7f48d4e4c560>>
2025-11-10 09:38:04,508 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:38:04,508 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:38:04,508 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,509 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:6023', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-10 09:38:04,509 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:38:04,509 - 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-11-10 09:38:04,509 - 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-11-10 09:38:04,511 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function escape_xml_payload at 0x7f48f321b7d0>
2025-11-10 09:38:04,553 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function conditionally_calculate_checksum at 0x7f48f344ba10>
2025-11-10 09:38:04,553 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:38:04,554 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,554 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:38:04,554 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:38:04,554 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=DeleteObjects) with params: {'url_path': '?delete', 'query_string': {}, 'method': 'POST', 'headers': {'User-Agent': 'Boto3/1.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource', 'Content-MD5': 'v2eZesGYJ6VuGT5Sj73XSw=='}, 'body': b'<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst</Key></Object></Delete>', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:6023/insert_bucket?delete', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f48d50dcba0>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst'}]}}}, 'input_params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst'}]}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'yandex'}]}, 'checksum': {'request_algorithm': 'conditional-md5'}}}
2025-11-10 09:38:04,556 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d50dee00>>
2025-11-10 09:38:04,556 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.DeleteObjects: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f48d4e4c560>>
2025-11-10 09:38:04,556 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.DeleteObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:38:04,557 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:38:04,557 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48f3008c90>>
2025-11-10 09:38:04,558 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:38:04,558 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
POST
/insert_bucket
delete=
content-md5:v2eZesGYJ6VuGT5Sj73XSw==
host:localhost:6023
x-amz-content-sha256:b5e7d52fcab87b5138c550070fc6a53299d54726806a3b1bfe0821ba9f49e4fb
x-amz-date:20251110T093804Z

content-md5;host;x-amz-content-sha256;x-amz-date
b5e7d52fcab87b5138c550070fc6a53299d54726806a3b1bfe0821ba9f49e4fb
2025-11-10 09:38:04,558 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093804Z
20251110/yandex/s3/aws4_request
be6d070455bdc607e5c2093160c04ada8c4ff8cb9ff51875b605de2c06421bdf
2025-11-10 09:38:04,559 - DEBUG - botocore.auth - add_auth: Signature:
324ccde91bee24624e75e1c8a7fed72e04f43c14ca2008c37266e652611552f5
2025-11-10 09:38:04,559 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:38:04,559 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=http://localhost:6023/insert_bucket?delete, headers={'User-Agent': b'Boto3/1.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource', 'Content-MD5': b'v2eZesGYJ6VuGT5Sj73XSw==', 'X-Amz-Date': b'20251110T093804Z', 'X-Amz-Content-SHA256': b'b5e7d52fcab87b5138c550070fc6a53299d54726806a3b1bfe0821ba9f49e4fb', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=324ccde91bee24624e75e1c8a7fed72e04f43c14ca2008c37266e652611552f5', 'amz-sdk-invocation-id': b'46f2877f-4bec-4d33-9a49-9b897033eed9', 'amz-sdk-request': b'attempt=1', 'Content-Length': '161'}>
2025-11-10 09:38:04,560 - DEBUG - botocore.hooks - _emit: Event before-send.s3.DeleteObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:38:04,577 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:38:04 GMT', 'x-amzn-requestid': 'vx749bacCtSHXP62P4DzOW9lA8e9UNY75okXlvQHC1piXh6ZnvGL', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '212', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:38:04,577 - DEBUG - botocore.parsers - parse: Response body:
b'<?xml version="1.0" encoding="UTF-8"?><DeleteResult xmlns="http://s3.amazonaws.com/doc/2006-03-01"><Deleted><Key>test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst</Key></Deleted></DeleteResult>'
2025-11-10 09:38:04,579 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48f30081a0>
2025-11-10 09:38:04,579 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:38:04,579 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f24a6f90>>
2025-11-10 09:38:04,580 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'vx749bacCtSHXP62P4DzOW9lA8e9UNY75okXlvQHC1piXh6ZnvGL', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:38:04 GMT', 'x-amzn-requestid': 'vx749bacCtSHXP62P4DzOW9lA8e9UNY75okXlvQHC1piXh6ZnvGL', 'content-type': 'text/html; charset=utf-8', 'content-length': '212', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}, 'Deleted': [{'Key': 'test/ptjudsomr7sp98bjivbl_0_z30wf3V_TUWrCg8foOIwAzj-FoTiPVMe.csv.zst'}]}
2025-11-10 09:38:04,610 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            PRAGMA s3.AtomicUploadCommit = \"true\";\n\n            INSERT INTO `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\"\n            ) SELECT * FROM AS_TABLE(ListReplicate(\n                <|data: \"hello world\"|>,\n                1000000\n            ))\n        "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "21f897d3-1707-42fe-a3a4-820b8f427bc2"

2025-11-10 09:38:04,627 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomr442rsikqvfk"

2025-11-10 09:38:04,706 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr442rsikqvfk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767484
        nanos: 613703000
      }
      modified_at {
        seconds: 1762767484
        nanos: 613703000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomr442rno7s9d3-ptqudsomr442rsikqvfk"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767484
      nanos: 613703000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA s3.AtomicUploadCommit = \"true\";\n\n            INSERT INTO `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\"\n            ) SELECT * FROM AS_TABLE(ListReplicate(\n                <|data: \"hello world\"|>,\n                1000000\n            ))\n        "
    syntax: YQL_V1
  }
}

2025-11-10 09:38:05,213 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr442rsikqvfk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767484
        nanos: 613703000
      }
      modified_at {
        seconds: 1762767484
        nanos: 613703000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767484
      nanos: 982000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsomr442rno7s9d3-ptqudsomr442rsikqvfk"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767484
      nanos: 613703000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA s3.AtomicUploadCommit = \"true\";\n\n            INSERT INTO `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\"\n            ) SELECT * FROM AS_TABLE(ListReplicate(\n                <|data: \"hello world\"|>,\n                1000000\n            ))\n        "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsStruct\"},{\"Name\":\"Replicate\"},{\"Name\":\"ToFlow\"},{\"Name\":\"S3SinkOutput\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (Configure! $1 (DataSource \'\"s3\" \'\"$all\") \'\"Attr\" \'\"atomicuploadcommit\" \'\"true\"))\n(let $3 \'\"h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $4 (DataSink \'\"s3\" $3))\n(let $5 \'\"cluster:default_h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $6 (S3SinkSettings \'\"test/\" \'(\'(\'\"compression\" \'\"zstd\") \'(\'\"multipart\" \'\"true\")) (SecureParam $5) \'\".tsv.zst\" (StructType \'(\'\"data\" (DataType \'String)))))\n(return (Commit! (DqQuery! $2 \'((DqStage \'() (lambda \'() (block \'(\n  (let $7 \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\") \'(\'\"file_size_limit\" \'\"52428800\")))\n  (return (S3SinkOutput (ToFlow (Replicate (AsStruct \'(\'\"data\" (String \'\"hello world\"))) (Uint64 \'1000000))) \'\"tsv_with_names\" \'() $7))\n))) \'() \'((DqSink \'0 $4 $6))))) $4))\n)\n"
  }
}

2025-11-10 09:38:05,720 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-10 09:38:06,279 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr442rsikqvfk"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767484
        nanos: 613703000
      }
      modified_at {
        seconds: 1762767484
        nanos: 613703000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767484
      nanos: 982000000
    }
    finished_at {
      seconds: 1762767485
      nanos: 868000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomr442rno7s9d3-ptqudsomr442rsikqvfk"
    result_expire_at {
      seconds: 1762853884
      nanos: 975203000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767484
      nanos: 613703000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            PRAGMA s3.AtomicUploadCommit = \"true\";\n\n            INSERT INTO `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\"\n            ) SELECT * FROM AS_TABLE(ListReplicate(\n                <|data: \"hello world\"|>,\n                1000000\n            ))\n        "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsStruct\"},{\"Name\":\"Replicate\"},{\"Name\":\"ToFlow\"},{\"Name\":\"S3SinkOutput\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.78s\",\"count\":1,\"avg\":\"0.78s\",\"max\":\"0.78s\",\"min\":\"0.78s\"},\"EgressBytes\":{\"sum\":1125,\"count\":1,\"avg\":1125,\"max\":1125,\"min\":1125},\"EgressRows\":{\"sum\":21,\"count\":1,\"avg\":21,\"max\":21,\"min\":21},\"MaxMemoryUsage\":{\"sum\":1454976,\"count\":1,\"avg\":1454976,\"max\":1454976,\"min\":1454976},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (Configure! $1 (DataSource \'\"s3\" \'\"$all\") \'\"Attr\" \'\"atomicuploadcommit\" \'\"true\"))\n(let $3 \'\"h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $4 (DataSink \'\"s3\" $3))\n(let $5 \'\"cluster:default_h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $6 (S3SinkSettings \'\"test/\" \'(\'(\'\"compression\" \'\"zstd\") \'(\'\"multipart\" \'\"true\")) (SecureParam $5) \'\".tsv.zst\" (StructType \'(\'\"data\" (DataType \'String)))))\n(return (Commit! (DqQuery! $2 \'((DqStage \'() (lambda \'() (block \'(\n  (let $7 \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\") \'(\'\"file_size_limit\" \'\"52428800\")))\n  (return (S3SinkOutput (ToFlow (Replicate (AsStruct \'(\'\"data\" (String \'\"hello world\"))) (Uint64 \'1000000))) \'\"tsv_with_names\" \'() $7))\n))) \'() \'((DqSink \'0 $4 $6))))) $4))\n)\n"
  }
}

2025-11-10 09:38:06,280 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT\n                MIN(data) AS min_data,\n                MAX(data) AS max_data\n            FROM `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\",\n                SCHEMA (\n                    data Utf8 NOT NULL\n                )\n            )\n        "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "4a722099-6ed1-4d0b-93bf-bbe652d5c97f"

2025-11-10 09:38:06,305 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomr2h41h9rongl"

2025-11-10 09:38:06,338 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr2h41h9rongl"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767486
        nanos: 283647000
      }
      modified_at {
        seconds: 1762767486
        nanos: 283647000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomr2h41c150km2-ptqudsomr2h41h9rongl"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767486
      nanos: 283647000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT\n                MIN(data) AS min_data,\n                MAX(data) AS max_data\n            FROM `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\",\n                SCHEMA (\n                    data Utf8 NOT NULL\n                )\n            )\n        "
    syntax: YQL_V1
  }
}

2025-11-10 09:38:06,864 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-10 09:38:07,375 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr2h41h9rongl"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767486
        nanos: 283647000
      }
      modified_at {
        seconds: 1762767486
        nanos: 283647000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767486
      nanos: 984000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsomr2h41c150km2-ptqudsomr2h41h9rongl"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767486
      nanos: 283647000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT\n                MIN(data) AS min_data,\n                MAX(data) AS max_data\n            FROM `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\",\n                SCHEMA (\n                    data Utf8 NOT NULL\n                )\n            )\n        "
    syntax: YQL_V1
  }
}

2025-11-10 09:38:07,883 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomr2h41h9rongl"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767486
        nanos: 283647000
      }
      modified_at {
        seconds: 1762767486
        nanos: 283647000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767486
      nanos: 984000000
    }
    finished_at {
      seconds: 1762767487
      nanos: 713000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomr2h41c150km2-ptqudsomr2h41h9rongl"
    result_expire_at {
      seconds: 1762853886
      nanos: 976891000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767486
      nanos: 283647000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT\n                MIN(data) AS min_data,\n                MAX(data) AS max_data\n            FROM `h8895098100049246251_test_multipart_insert_with_compressionibucket_compression`.`test/` WITH (\n                FORMAT = \"tsv_with_names\",\n                COMPRESSION = \"zstd\",\n                SCHEMA (\n                    data Utf8 NOT NULL\n                )\n            )\n        "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":13,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"CombineByKey\"}]}},{\"Id\":11,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"PartitionsByKeys\"},{\"Name\":\"Take\"},{\"Name\":\"Condense\"}]},\"DependsOn\":[13]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsList\"},{\"Name\":\"Iterator\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[11]},{\"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\":13,\"level\":1,\"name\":\"DqStage #13\",\"type\":\"op\"},{\"id\":11,\"level\":2,\"name\":\"DqStage #11\",\"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\":13,\"target\":11},{\"source\":11,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Precompute=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.71s\",\"count\":2,\"avg\":\"0.35s\",\"max\":\"0.50s\",\"min\":\"0.20s\"},\"IngressBytes\":{\"sum\":1125,\"count\":1,\"avg\":1125,\"max\":1125,\"min\":1125},\"IngressRows\":{\"sum\":1000000,\"count\":1,\"avg\":1000000,\"max\":1000000,\"min\":1000000},\"InputBytes\":{\"sum\":29,\"count\":1,\"avg\":29,\"max\":29,\"min\":29},\"InputRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"OutputBytes\":{\"sum\":59,\"count\":2,\"avg\":29,\"max\":30,\"min\":29},\"OutputRows\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"ResultBytes\":{\"sum\":30,\"count\":1,\"avg\":30,\"max\":30,\"min\":30},\"ResultRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"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}},\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"44ms\",\"count\":2,\"avg\":\"22ms\",\"max\":\"42ms\",\"min\":\"2ms\"},\"InputBytes\":{\"sum\":30,\"count\":1,\"avg\":30,\"max\":30,\"min\":30},\"InputRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"OutputBytes\":{\"sum\":60,\"count\":2,\"avg\":30,\"max\":30,\"min\":30},\"OutputRows\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"ResultBytes\":{\"sum\":30,\"count\":1,\"avg\":30,\"max\":30,\"min\":30},\"ResultRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"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}}}"
  }
  result_set_meta {
    column {
      name: "min_data"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    column {
      name: "max_data"
      type {
        optional_type {
          item {
            type_id: UTF8
          }
        }
      }
    }
    rows_count: 1
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"test\\\"\\n  Children {\\n    Name: \\\"ptjudsomr442rno7s9d3_0_bEFJzTq8kkyYoLWYNyjtTQQ3urDn6AT1.tsv.zst\\\"\\n    Size: 1125\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 \'\"cluster:default_h8895098100049246251_test_multipart_insert_with_compressionibucket_compression\")\n(let $8 (DataType \'Utf8))\n(let $9 (StructType \'(\'\"data\" $8)))\n(let $10 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam $7) \'\"\" \'\"test/ \" \'\"tsv_with_names\" $9 (lambda \'($18) $6) \'(\'(\'\"compression\" \'\"zstd\"))))\n(let $11 (Uint32 \'0))\n(let $12 (DqStage \'((DqSource $4 $10)) (lambda \'($19) (block \'(\n  (let $20 (DqSourceWideWrap $19 $4 $9 \'(\'(\'format \'\"tsv_with_names\"))))\n  (return (CombineByKey (NarrowMap $20 (lambda \'($21) (AsStruct \'(\'\"data\" $21)))) (lambda \'($22) (Just $22)) (lambda \'($23) $11) (lambda \'($24 $25) (block \'(\n    (let $26 (Member $25 \'\"data\"))\n    (return (AsStruct \'(\'_yql_agg_0 $26) \'(\'_yql_agg_1 $26)))\n  ))) (lambda \'($27 $28 $29) (block \'(\n    (let $30 (Member $28 \'\"data\"))\n    (return (AsStruct \'(\'_yql_agg_0 (AggrMax $30 (Member $29 \'_yql_agg_0))) \'(\'_yql_agg_1 (AggrMin $30 (Member $29 \'_yql_agg_1)))))\n  ))) (lambda \'($31 $32) (Just $32))))\n))) \'(\'(\'\"_logical_id\" \'210160))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($33) (block \'(\n  (let $34 (lambda \'($36) $11))\n  (let $35 (PartitionsByKeys $33 $34 (Void) (Void) (lambda \'($37) (block \'(\n    (let $38 (Condense1 $37 (lambda \'($39) $39) (lambda \'($40 $41) (IsKeySwitch $40 $41 $34 $34)) (lambda \'($42 $43) (AsStruct \'(\'_yql_agg_0 (AggrMax (Member $42 \'_yql_agg_0) (Member $43 \'_yql_agg_0))) \'(\'_yql_agg_1 (AggrMin (Member $42 \'_yql_agg_1) (Member $43 \'_yql_agg_1)))))))\n    (return (FlatMap $38 (lambda \'($44) (Just (AsStruct \'(\'Max0 (Member $44 \'_yql_agg_0)) \'(\'Min0 (Member $44 \'_yql_agg_1)))))))\n  )))))\n  (return (Condense (Take $35 (Uint64 \'\"1\")) (Nothing (OptionalType (StructType \'(\'Max0 $8) \'(\'Min0 $8)))) (lambda \'($45 $46) (Bool \'false)) (lambda \'($47 $48) (Just $47))))\n))) \'(\'(\'\"_logical_id\" \'210447))))\n(let $14 (DqStage \'((DqPhyPrecompute (DqCnValue (TDqOutput $13 \'0)))) (lambda \'($49) (FlatMap (Iterator (AsList $49)) (lambda \'($50) (Just (AsStruct \'(\'\"max_data\" (Member $50 \'Max0)) \'(\'\"min_data\" (Member $50 \'Min0))))))) \'(\'(\'\"_logical_id\" \'210508))))\n(let $15 (DqStage \'((DqCnUnionAll (TDqOutput $14 \'0))) (lambda \'($51) $51) \'(\'(\'\"_logical_id\" \'210597))))\n(let $16 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"min_data\" \'\"max_data\"))))\n(let $17 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $15 \'0) \'()) $16 \'\"dq\"))\n(return (Commit! (Commit! $17 $2) (DataSink \'\"s3\" $3)))\n)\n"
  }
}

2025-11-10 09:38:07,900 - DEBUG - root - test_multipart_insert_with_compression: columns {
  name: "min_data"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
columns {
  name: "max_data"
  type {
    optional_type {
      item {
        type_id: UTF8
      }
    }
  }
}
rows {
  items {
    text_value: "hello world"
  }
  items {
    text_value: "hello world"
  }
}

2025-11-10 09:38:07,920 - INFO - ya.test - pytest_runtest_teardown: Test teardown
