2025-11-10 09:35:23,580 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:35:23,581 - INFO - ya.test - pytest_runtest_setup: test_insert[v1-false-client0-parquet-dataset]
2025-11-10 09:35:23,581 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:35:23,581 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-10 09:35:23,793 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_insert[v1-false-client0-parquet-dataset])
2025-11-10 09:35:23,794 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f48f3219f10>
2025-11-10 09:35:23,797 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f48f333d6d0>
2025-11-10 09:35:23,798 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f48df846f90>
2025-11-10 09:35:23,798 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f48f333d3d0>
2025-11-10 09:35:23,802 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-10 09:35:23,805 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-10 09:35:23,806 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-10 09:35:23,807 - DEBUG - botocore.utils - register: Registering S3Express Identity Resolver
2025-11-10 09:35:23,808 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-10 09:35:23,809 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-10 09:35:23,810 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-10 09:35:23,812 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f48df847a10>
2025-11-10 09:35:23,812 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}
2025-11-10 09:35:23,815 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:35:23,816 - 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:35:23,816 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:23,816 - 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 0x7f48f30572b0>>
2025-11-10 09:35:23,816 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:35:23,817 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:35:23,817 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:23,818 - 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:35:23,819 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:35:23,931 - 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:35:23,931 - 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:35:23,932 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:35:23,932 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:23,932 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:35:23,933 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:35:23,933 - 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 0x7f48d5317170>, '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:35:23,934 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d5316220>>
2025-11-10 09:35:23,934 - 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 0x7f48f30572b0>>
2025-11-10 09:35:23,934 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:35:23,935 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:35:23,935 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:23,936 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:35:23,936 - 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:20251110T093523Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:35:23,946 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093523Z
20251110/yandex/s3/aws4_request
290850a8d2c4ff001ba32d84cb079ad2b416c5f14c77d77d81cf98f058c828f1
2025-11-10 09:35:23,946 - DEBUG - botocore.auth - add_auth: Signature:
14b28082cab6c816df42d3ddba54519b3e66665a4c781d61e066f15e2ca5271a
2025-11-10 09:35:23,947 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:35:23,947 - 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'20251110T093523Z', '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=14b28082cab6c816df42d3ddba54519b3e66665a4c781d61e066f15e2ca5271a', 'amz-sdk-invocation-id': b'14dea956-7abf-4d44-a72c-e11abc63c357', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-10 09:35:23,948 - DEBUG - botocore.hooks - _emit: Event before-send.s3.CreateBucket: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:35:24,078 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:35:24 GMT', 'x-amzn-requestid': 'Qzwaft33U5sABPVadc3ZgdxAsqNjRxUkgquF4r1KNcc6NQ4VzPc3', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '167', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:35:24,079 - 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:35:24,083 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d4e44830>
2025-11-10 09:35:24,106 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:35:24,106 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,107 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'Qzwaft33U5sABPVadc3ZgdxAsqNjRxUkgquF4r1KNcc6NQ4VzPc3', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:35:24 GMT', 'x-amzn-requestid': 'Qzwaft33U5sABPVadc3ZgdxAsqNjRxUkgquF4r1KNcc6NQ4VzPc3', 'content-type': 'text/html; charset=utf-8', 'content-length': '167', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-10 09:35:24,109 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'insert_bucket'}
2025-11-10 09:35:24,110 - 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:35:24,111 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:35:24,111 - 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:35:24,111 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,111 - 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 0x7f48f30572b0>>
2025-11-10 09:35:24,112 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:35:24,113 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:35:24,113 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,114 - 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:35:24,115 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:35:24,116 - 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:35:24,116 - 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:35:24,117 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:35:24,117 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:24,117 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:35:24,118 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:35:24,118 - 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 0x7f48d5317170>, '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:35:24,119 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d5316220>>
2025-11-10 09:35:24,120 - 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 0x7f48f30572b0>>
2025-11-10 09:35:24,120 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:35:24,120 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:35:24,121 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:24,121 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:35:24,127 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/insert_bucket
encoding-type=url
host:localhost:6023
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251110T093524Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:35:24,127 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093524Z
20251110/yandex/s3/aws4_request
b474ceecb4c3d835dadcb0dcaafd6e552ca4fc1cc64b6c798d76833fafff964b
2025-11-10 09:35:24,127 - DEBUG - botocore.auth - add_auth: Signature:
c8987d9549977b750d0e9064166c0fbf82fef8553b500daadc542e47fc2e595d
2025-11-10 09:35:24,128 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:35:24,173 - 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'20251110T093524Z', '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=c8987d9549977b750d0e9064166c0fbf82fef8553b500daadc542e47fc2e595d', 'amz-sdk-invocation-id': b'0cf46201-155d-4e63-b4e5-e7203e478af6', 'amz-sdk-request': b'attempt=1'}>
2025-11-10 09:35:24,174 - DEBUG - botocore.hooks - _emit: Event before-send.s3.ListObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:35:24,188 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:35:24 GMT', 'x-amzn-requestid': 'QkgiSFJCTuUhmHXl0XFi621DN8cRSLxCDHAkphJUdkUtrps4LeeS', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '650', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:35:24,188 - 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>data%E3%81%AB%E3%81%A1%E3%81%AF%25%20set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv</Key><LastModified>2025-11-10T09:35:22.000Z</LastModified><ETag>&#34;b11a078e95b84e19937572f9018e592d&#34;</ETag><Size>32</Size><StorageClass>STANDARD</StorageClass><Owner><ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID><DisplayName>webfile</DisplayName></Owner></Contents></ListBucketResult>'
2025-11-10 09:35:24,191 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d4e44830>
2025-11-10 09:35:24,191 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:35:24,191 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,192 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f48f3245790>
2025-11-10 09:35:24,192 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-11-10 09:35:24,193 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-11-10 09:35:24,194 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f48df847b90>
2025-11-10 09:35:24,195 - DEBUG - boto3.resources.action - __call__: Calling s3:delete_objects with {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'dataにちは% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv'}]}}
2025-11-10 09:35:24,197 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:35:24,198 - 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:35:24,198 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,198 - 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 0x7f48f30572b0>>
2025-11-10 09:35:24,198 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:35:24,198 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:35:24,199 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,199 - 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:35:24,199 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:35:24,199 - 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:35:24,200 - 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:35:24,202 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function escape_xml_payload at 0x7f48f321b7d0>
2025-11-10 09:35:24,202 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function conditionally_calculate_checksum at 0x7f48f344ba10>
2025-11-10 09:35:24,203 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:35:24,218 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:24,219 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:35:24,219 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:35:24,219 - 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': 'ueYo5fx87N+WzXIWuhsiyQ=='}, 'body': b'<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>data\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv</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 0x7f48d5317170>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'dataにちは% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv'}]}}}, 'input_params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'dataにちは% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv'}]}}, '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:35:24,221 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48d5316220>>
2025-11-10 09:35:24,222 - 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 0x7f48f30572b0>>
2025-11-10 09:35:24,222 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.DeleteObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:35:24,222 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:35:24,223 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d4e44380>>
2025-11-10 09:35:24,223 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:35:24,223 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
POST
/insert_bucket
delete=
content-md5:ueYo5fx87N+WzXIWuhsiyQ==
host:localhost:6023
x-amz-content-sha256:351ecc692ea82c8fd3512efc013bf4a7ad71861705ac07cc7a18f86c9ed2308b
x-amz-date:20251110T093524Z

content-md5;host;x-amz-content-sha256;x-amz-date
351ecc692ea82c8fd3512efc013bf4a7ad71861705ac07cc7a18f86c9ed2308b
2025-11-10 09:35:24,224 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093524Z
20251110/yandex/s3/aws4_request
7f927a56ba524b808cde6b69437041c67147e88612a0c37e4ed026cfd0c1eb29
2025-11-10 09:35:24,224 - DEBUG - botocore.auth - add_auth: Signature:
7326f6eb4c1339f673f0978a1fda8f22340d943f705f7763f649d8dc3fa85960
2025-11-10 09:35:24,229 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:35:24,230 - 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'ueYo5fx87N+WzXIWuhsiyQ==', 'X-Amz-Date': b'20251110T093524Z', 'X-Amz-Content-SHA256': b'351ecc692ea82c8fd3512efc013bf4a7ad71861705ac07cc7a18f86c9ed2308b', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=7326f6eb4c1339f673f0978a1fda8f22340d943f705f7763f649d8dc3fa85960', 'amz-sdk-invocation-id': b'ca284a1d-9d56-4689-9999-11c7f16c1c23', 'amz-sdk-request': b'attempt=1', 'Content-Length': '171'}>
2025-11-10 09:35:24,231 - DEBUG - botocore.hooks - _emit: Event before-send.s3.DeleteObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:35:24,245 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:35:24 GMT', 'x-amzn-requestid': 'PZ4E0R1H2PIPqZ9aODgCN9IgNzWgRBoOL8eFqmSPc9wlxmBA2y2k', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '222', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:35:24,246 - 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>data\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv</Key></Deleted></DeleteResult>'
2025-11-10 09:35:24,247 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d4e44830>
2025-11-10 09:35:24,262 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:35:24,263 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48d4e449c0>>
2025-11-10 09:35:24,263 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'PZ4E0R1H2PIPqZ9aODgCN9IgNzWgRBoOL8eFqmSPc9wlxmBA2y2k', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:35:24 GMT', 'x-amzn-requestid': 'PZ4E0R1H2PIPqZ9aODgCN9IgNzWgRBoOL8eFqmSPc9wlxmBA2y2k', 'content-type': 'text/html; charset=utf-8', 'content-length': '222', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}, 'Deleted': [{'Key': 'dataにちは% set/ptjudsomvvcdn65kgppu_0_i3OSpBKAM0SjpWPwRFiWgMN6JqR3gx7l.csv'}]}
2025-11-10 09:35:24,288 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h2437543445319224158_test_insertibucket`.`dataset/` with (format=parquet)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "f34ec65e-0294-46a2-8571-605b10875fa5"

2025-11-10 09:35:24,307 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomvt0nmpki561g"

2025-11-10 09:35:24,315 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomvt0nmpki561g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767324
        nanos: 291291000
      }
      modified_at {
        seconds: 1762767324
        nanos: 291291000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomvt0nmkk99gtg-ptqudsomvt0nmpki561g"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767324
      nanos: 291291000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h2437543445319224158_test_insertibucket`.`dataset/` with (format=parquet)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
}

2025-11-10 09:35:24,833 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-10 09:35:25,411 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomvt0nmpki561g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767324
        nanos: 291291000
      }
      modified_at {
        seconds: 1762767324
        nanos: 291291000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767324
      nanos: 878000000
    }
    finished_at {
      seconds: 1762767325
      nanos: 85000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomvt0nmkk99gtg-ptqudsomvt0nmpki561g"
    result_expire_at {
      seconds: 1762853724
      nanos: 870867000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767324
      nanos: 291291000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h2437543445319224158_test_insertibucket`.`dataset/` with (format=parquet)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsStruct\"},{\"Name\":\"AsList\"},{\"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.10s\",\"count\":1,\"avg\":\"0.10s\",\"max\":\"0.10s\",\"min\":\"0.10s\"},\"EgressBytes\":{\"sum\":533,\"count\":1,\"avg\":533,\"max\":533,\"min\":533},\"EgressRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"MaxMemoryUsage\":{\"sum\":196608,\"count\":1,\"avg\":196608,\"max\":196608,\"min\":196608},\"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\" \'\"useblockssink\" \'\"false\"))\n(let $3 (DataSink \'\"s3\" \'\"h2437543445319224158_test_insertibucket\"))\n(let $4 (S3SinkSettings \'\"dataset/\" \'(\'(\'\"multipart\" \'\"true\")) (SecureParam \'\"cluster:default_h2437543445319224158_test_insertibucket\") \'\".parquet\" (StructType \'(\'\"bar\" (DataType \'Utf8)) \'(\'\"foo\" (DataType \'Int32)))))\n(return (Commit! (DqQuery! $2 \'((DqStage \'() (lambda \'() (block \'(\n  (let $5 \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\") \'(\'\"file_size_limit\" \'\"52428800\")))\n  (return (S3SinkOutput (ToFlow (AsList (AsStruct \'(\'\"bar\" (Utf8 \'\"xxx\")) \'(\'\"foo\" (Int32 \'\"123\"))) (AsStruct \'(\'\"bar\" (Utf8 \'\"yyy\")) \'(\'\"foo\" (Int32 \'\"456\"))))) \'\"parquet\" \'() $5))\n))) \'() \'((DqSink \'0 $3 $4))))) $3))\n)\n"
  }
}

2025-11-10 09:35:25,419 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-10 09:35:25,431 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            select foo, bar from h2437543445319224158_test_insertibucket.`dataset/ptjudsomvt0nmkk99gtg*` with (format=parquet, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "03598264-8607-4181-b78b-9704817d6a24"

2025-11-10 09:35:25,456 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomvrtmvdmebopd"

2025-11-10 09:35:25,478 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomvrtmvdmebopd"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767325
        nanos: 438919000
      }
      modified_at {
        seconds: 1762767325
        nanos: 438919000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomvrtmv8fs8k5k-ptqudsomvrtmvdmebopd"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767325
      nanos: 438919000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h2437543445319224158_test_insertibucket.`dataset/ptjudsomvt0nmkk99gtg*` with (format=parquet, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
}

2025-11-10 09:35:25,997 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomvrtmvdmebopd"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767325
        nanos: 438919000
      }
      modified_at {
        seconds: 1762767325
        nanos: 438919000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767325
      nanos: 884000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsomvrtmv8fs8k5k-ptqudsomvrtmvdmebopd"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767325
      nanos: 438919000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h2437543445319224158_test_insertibucket.`dataset/ptjudsomvt0nmkk99gtg*` with (format=parquet, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideBlockWrap\"},{\"Name\":\"FromFlow\"},{\"Name\":\"WideFromBlocks\"},{\"Name\":\"ToFlow\"},{\"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}]}}"
  }
  result_set_meta {
    column {
      name: "foo"
      type {
        type_id: INT32
      }
    }
    column {
      name: "bar"
      type {
        type_id: STRING
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h2437543445319224158_test_insertibucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"dataset\\\"\\n  Children {\\n    Name: \\\"ptjudsomvt0nmkk99gtg_0_ynhi0rm3WEiW1Ltn-Y0wlhlkG2OAgs0s.parquet\\\"\\n    Size: 533\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 (StructType \'(\'\"bar\" (DataType \'String)) \'(\'\"foo\" (DataType \'Int32))))\n(let $8 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam \'\"cluster:default_h2437543445319224158_test_insertibucket\") \'\"\" \'\"dataset/ptjudsomvt0nmkk99gtg* \" \'\"parquet\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (NarrowMap (ToFlow (WideFromBlocks (FromFlow (DqSourceWideBlockWrap $14 $4 $7 \'(\'(\'format \'\"parquet\")))))) (lambda \'($15 $16) (AsStruct \'(\'\"bar\" $15) \'(\'\"foo\" $16))))) \'(\'(\'\"_logical_id\" \'209304))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($17) $17) \'(\'(\'\"_logical_id\" \'209346))))\n(let $11 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"foo\" \'\"bar\"))))\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-11-10 09:35:26,505 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomvrtmvdmebopd"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767325
        nanos: 438919000
      }
      modified_at {
        seconds: 1762767325
        nanos: 438919000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767325
      nanos: 884000000
    }
    finished_at {
      seconds: 1762767326
      nanos: 233000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomvrtmv8fs8k5k-ptqudsomvrtmvdmebopd"
    result_expire_at {
      seconds: 1762853725
      nanos: 869862000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767325
      nanos: 438919000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h2437543445319224158_test_insertibucket.`dataset/ptjudsomvt0nmkk99gtg*` with (format=parquet, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideBlockWrap\"},{\"Name\":\"FromFlow\"},{\"Name\":\"WideFromBlocks\"},{\"Name\":\"ToFlow\"},{\"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\":\"0.18s\",\"count\":2,\"avg\":\"92ms\",\"max\":\"0.18s\",\"min\":\"2ms\"},\"IngressBytes\":{\"sum\":735,\"count\":1,\"avg\":735,\"max\":735,\"min\":735},\"IngressRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"InputBytes\":{\"sum\":17,\"count\":1,\"avg\":17,\"max\":17,\"min\":17},\"InputRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"OutputBytes\":{\"sum\":34,\"count\":2,\"avg\":17,\"max\":17,\"min\":17},\"OutputRows\":{\"sum\":4,\"count\":2,\"avg\":2,\"max\":2,\"min\":2},\"ResultBytes\":{\"sum\":17,\"count\":1,\"avg\":17,\"max\":17,\"min\":17},\"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: "foo"
      type {
        type_id: INT32
      }
    }
    column {
      name: "bar"
      type {
        type_id: STRING
      }
    }
    rows_count: 2
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h2437543445319224158_test_insertibucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"dataset\\\"\\n  Children {\\n    Name: \\\"ptjudsomvt0nmkk99gtg_0_ynhi0rm3WEiW1Ltn-Y0wlhlkG2OAgs0s.parquet\\\"\\n    Size: 533\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 (StructType \'(\'\"bar\" (DataType \'String)) \'(\'\"foo\" (DataType \'Int32))))\n(let $8 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam \'\"cluster:default_h2437543445319224158_test_insertibucket\") \'\"\" \'\"dataset/ptjudsomvt0nmkk99gtg* \" \'\"parquet\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (NarrowMap (ToFlow (WideFromBlocks (FromFlow (DqSourceWideBlockWrap $14 $4 $7 \'(\'(\'format \'\"parquet\")))))) (lambda \'($15 $16) (AsStruct \'(\'\"bar\" $15) \'(\'\"foo\" $16))))) \'(\'(\'\"_logical_id\" \'209304))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($17) $17) \'(\'(\'\"_logical_id\" \'209346))))\n(let $11 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"foo\" \'\"bar\"))))\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-11-10 09:35:26,531 - DEBUG - root - test_insert: columns {
  name: "foo"
  type {
    type_id: INT32
  }
}
columns {
  name: "bar"
  type {
    type_id: STRING
  }
}
rows {
  items {
    int32_value: 123
  }
  items {
    bytes_value: "xxx"
  }
}
rows {
  items {
    int32_value: 456
  }
  items {
    bytes_value: "yyy"
  }
}

2025-11-10 09:35:26,590 - INFO - ya.test - pytest_runtest_teardown: Test teardown
