2025-11-10 09:39:27,220 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:39:27,221 - INFO - ya.test - pytest_runtest_setup: test_insert_csv_delimiter[v1-client0]
2025-11-10 09:39:27,221 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 09:39:27,221 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-10 09:39:27,307 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_insert_csv_delimiter[v1-client0])
2025-11-10 09:39:27,339 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f48f3219f10>
2025-11-10 09:39:27,343 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f48f333d6d0>
2025-11-10 09:39:27,347 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f48df846f90>
2025-11-10 09:39:27,347 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f48f333d3d0>
2025-11-10 09:39:27,352 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-10 09:39:27,357 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-10 09:39:27,359 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-10 09:39:27,399 - DEBUG - botocore.utils - register: Registering S3Express Identity Resolver
2025-11-10 09:39:27,400 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-10 09:39:27,402 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-10 09:39:27,419 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-10 09:39:27,425 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f48df847a10>
2025-11-10 09:39:27,443 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}
2025-11-10 09:39:27,447 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:39:27,473 - 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:39:27,480 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,480 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,499 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:39:27,500 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:39:27,500 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,500 - 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:39:27,502 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:39:27,502 - 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:39:27,502 - 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:39:27,503 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:39:27,504 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,504 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:39:27,504 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:39:27,504 - 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 0x7f48ddd66540>, '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:39:27,505 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48ddd65230>>
2025-11-10 09:39:27,506 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,506 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:39:27,507 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:39:27,540 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,540 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:39:27,541 - 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:20251110T093927Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:39:27,541 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093927Z
20251110/yandex/s3/aws4_request
6e4e55ddcd01dd40a3218dd35fc1295e3eac7576e6cf14dbc8822a5507ebb0ec
2025-11-10 09:39:27,546 - DEBUG - botocore.auth - add_auth: Signature:
3e2793731471bbdc8e238d7073bef10879b54ab5213625100ece9ce8f4add6a9
2025-11-10 09:39:27,570 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:39:27,576 - 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'20251110T093927Z', '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=3e2793731471bbdc8e238d7073bef10879b54ab5213625100ece9ce8f4add6a9', 'amz-sdk-invocation-id': b'34998e0a-6ed8-4c86-8651-7e3c0aea4b7a', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-10 09:39:27,599 - DEBUG - botocore.hooks - _emit: Event before-send.s3.CreateBucket: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:39:27,637 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:39:27 GMT', 'x-amzn-requestid': 'EELrxhdRKDgPCfItod82oV21wUXYHFlnZHQdvl2j8MZeExJfROlr', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '167', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:39:27,637 - 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:39:27,638 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d535a1d0>
2025-11-10 09:39:27,639 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:39:27,639 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,639 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'EELrxhdRKDgPCfItod82oV21wUXYHFlnZHQdvl2j8MZeExJfROlr', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:39:27 GMT', 'x-amzn-requestid': 'EELrxhdRKDgPCfItod82oV21wUXYHFlnZHQdvl2j8MZeExJfROlr', 'content-type': 'text/html; charset=utf-8', 'content-length': '167', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-10 09:39:27,640 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'insert_bucket'}
2025-11-10 09:39:27,642 - 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:39:27,647 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:39:27,647 - 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:39:27,677 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,677 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,677 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:39:27,678 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:39:27,714 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,714 - 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:39:27,716 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:39:27,727 - 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:39:27,727 - 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:39:27,728 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:39:27,729 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,729 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:39:27,729 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:39:27,730 - 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 0x7f48ddd66540>, '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:39:27,731 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48ddd65230>>
2025-11-10 09:39:27,753 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,754 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:39:27,754 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:39:27,755 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,755 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:39:27,756 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/insert_bucket
encoding-type=url
host:localhost:6023
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251110T093927Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 09:39:27,756 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093927Z
20251110/yandex/s3/aws4_request
1249cacfb940fcbc396bf67f5bc4d18fb9d5bc84313d541abe9423dc0c6d64ba
2025-11-10 09:39:27,756 - DEBUG - botocore.auth - add_auth: Signature:
9389b78a0a9942b1976a7074dbae2ee9c199656ab1f7afc74a9a1c74173d4e01
2025-11-10 09:39:27,757 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:39:27,757 - 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'20251110T093927Z', '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=9389b78a0a9942b1976a7074dbae2ee9c199656ab1f7afc74a9a1c74173d4e01', 'amz-sdk-invocation-id': b'55a07a63-1ea8-41e1-8553-0c4e39174e17', 'amz-sdk-request': b'attempt=1'}>
2025-11-10 09:39:27,758 - DEBUG - botocore.hooks - _emit: Event before-send.s3.ListObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:39:27,793 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:39:27 GMT', 'x-amzn-requestid': 'WCK5NICN7DChmZRH2CykLhnLQUtSkyAoC3iGxgHEaH8HDjLieXwv', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '623', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:39:27,794 - 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>csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.csv</Key><LastModified>2025-11-10T09:39:25.000Z</LastModified><ETag>&#34;fca96a3f6a9ccc7e74c05f50b43dc841&#34;</ETag><Size>32</Size><StorageClass>STANDARD</StorageClass><Owner><ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID><DisplayName>webfile</DisplayName></Owner></Contents></ListBucketResult>'
2025-11-10 09:39:27,796 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d535a1d0>
2025-11-10 09:39:27,810 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:39:27,810 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,811 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f48f3245790>
2025-11-10 09:39:27,833 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-11-10 09:39:27,837 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-11-10 09:39:27,854 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f48df847b90>
2025-11-10 09:39:27,855 - DEBUG - boto3.resources.action - __call__: Calling s3:delete_objects with {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.csv'}]}}
2025-11-10 09:39:27,856 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function validate_bucket_name at 0x7f48f321bdd0>
2025-11-10 09:39:27,863 - 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:39:27,864 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,887 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,887 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function generate_idempotent_uuid at 0x7f48f321bb90>
2025-11-10 09:39:27,888 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f48f32468d0>
2025-11-10 09:39:27,888 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:27,888 - 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:39:27,889 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:6023/insert_bucket
2025-11-10 09:39:27,889 - 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:39:27,889 - 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:39:27,891 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function escape_xml_payload at 0x7f48f321b7d0>
2025-11-10 09:39:27,901 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function conditionally_calculate_checksum at 0x7f48f344ba10>
2025-11-10 09:39:27,901 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_expect_header at 0x7f48f3244290>
2025-11-10 09:39:27,901 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,902 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_recursion_detection_header at 0x7f48f321a150>
2025-11-10 09:39:27,902 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function inject_api_version_header_if_needed at 0x7f48f3245cd0>
2025-11-10 09:39:27,902 - 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': 'kd3rGpcwpX1OXpgKyaS+Zg=='}, 'body': b'<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.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 0x7f48ddd66540>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.csv'}]}}}, 'input_params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.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:39:27,911 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f48ddd65230>>
2025-11-10 09:39:27,935 - 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 0x7f48dbd21dc0>>
2025-11-10 09:39:27,935 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.DeleteObjects: calling handler <function set_operation_specific_signer at 0x7f48f321ba10>
2025-11-10 09:39:27,936 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <function remove_arn_from_signing_path at 0x7f48f3246810>
2025-11-10 09:39:27,936 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7f48d535b170>>
2025-11-10 09:39:27,937 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 09:39:27,937 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
POST
/insert_bucket
delete=
content-md5:kd3rGpcwpX1OXpgKyaS+Zg==
host:localhost:6023
x-amz-content-sha256:60e73b82a6b69ddd1d96e5f6f21a55afdae2a6cfb077278b78fab9194b38777e
x-amz-date:20251110T093927Z

content-md5;host;x-amz-content-sha256;x-amz-date
60e73b82a6b69ddd1d96e5f6f21a55afdae2a6cfb077278b78fab9194b38777e
2025-11-10 09:39:27,960 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T093927Z
20251110/yandex/s3/aws4_request
fd597c1c98db1ea3e13b11097fda9a1695503966b346bedf4d4aafc86c97c35c
2025-11-10 09:39:27,966 - DEBUG - botocore.auth - add_auth: Signature:
6cbb5804b98675f7f2cdb510de7cb68990277060f7e4303d86d59c927c77d95b
2025-11-10 09:39:27,967 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <function add_retry_headers at 0x7f48f32465d0>
2025-11-10 09:39:27,967 - 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'kd3rGpcwpX1OXpgKyaS+Zg==', 'X-Amz-Date': b'20251110T093927Z', 'X-Amz-Content-SHA256': b'60e73b82a6b69ddd1d96e5f6f21a55afdae2a6cfb077278b78fab9194b38777e', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=6cbb5804b98675f7f2cdb510de7cb68990277060f7e4303d86d59c927c77d95b', 'amz-sdk-invocation-id': b'a314a6c3-19f7-423f-aa43-4aa93bae68d2', 'amz-sdk-request': b'attempt=1', 'Content-Length': '166'}>
2025-11-10 09:39:27,968 - DEBUG - botocore.hooks - _emit: Event before-send.s3.DeleteObjects: calling handler <moto.core.botocore_stubber.BotocoreStubber object at 0x7f48f243b580>
2025-11-10 09:39:28,023 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 09:39:28 GMT', 'x-amzn-requestid': 'D1bmxESmJLrwGzrK8KtTZva54GbBXG4miTey9d6ePppB8pjppyxP', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '217', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 09:39:28,024 - 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>csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.csv</Key></Deleted></DeleteResult>'
2025-11-10 09:39:28,026 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f48d535a1d0>
2025-11-10 09:39:28,026 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 09:39:28,026 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f48f3082680>>
2025-11-10 09:39:28,027 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'D1bmxESmJLrwGzrK8KtTZva54GbBXG4miTey9d6ePppB8pjppyxP', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 09:39:28 GMT', 'x-amzn-requestid': 'D1bmxESmJLrwGzrK8KtTZva54GbBXG4miTey9d6ePppB8pjppyxP', 'content-type': 'text/html; charset=utf-8', 'content-length': '217', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}, 'Deleted': [{'Key': 'csv_delim_out/ptjudsomon3ioa469tu0_0_-JyNULt5uk2FQCQChgZ3GZMghqI3zYjg.csv'}]}
2025-11-10 09:39:28,053 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            insert into `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/` with (\n              format=csv_with_names,\n              csv_delimiter=\";\"\n            )\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "56f5abe7-9cb1-4ead-8de5-cc290428652f"

2025-11-10 09:39:28,086 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomokh2ass2c20g"

2025-11-10 09:39:28,124 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomokh2ass2c20g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767568
        nanos: 74336000
      }
      modified_at {
        seconds: 1762767568
        nanos: 74336000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomokh2an27gur5-ptqudsomokh2ass2c20g"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767568
      nanos: 74336000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/` with (\n              format=csv_with_names,\n              csv_delimiter=\";\"\n            )\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
}

2025-11-10 09:39:28,399 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-10 09:39:28,429 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-10 09:39:28,439 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-10 09:39:28,452 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, f667b598-7156-4221-a88e-6979bd143cf1, localhost:29486): creating call state
2025-11-10 09:39:28,453 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, f667b598-7156-4221-a88e-6979bd143cf1, localhost:29486): request = { database: "local" }
2025-11-10 09:39:28,456 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, f667b598-7156-4221-a88e-6979bd143cf1, localhost:29486): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-kipqlopw2q.auto.internal" port: 29486 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
2025-11-10 09:39:28,458 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-kipqlopw2q.auto.internal:29486, location 1, ssl: False>]>
2025-11-10 09:39:28,464 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:29486
2025-11-10 09:39:28,640 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-10 09:39:29,160 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomokh2ass2c20g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767568
        nanos: 74336000
      }
      modified_at {
        seconds: 1762767568
        nanos: 74336000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767569
      nanos: 5000000
    }
    execute_mode: RUN
    status: COMPLETING
    last_job_query_revision: 1
    last_job_id: "ptjudsomokh2an27gur5-ptqudsomokh2ass2c20g"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767568
      nanos: 74336000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/` with (\n              format=csv_with_names,\n              csv_delimiter=\";\"\n            )\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}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'\"s3\" \'\"h8577565995071828291_test_insert_csv_delimiteribucket\"))\n(let $3 \'\"cluster:default_h8577565995071828291_test_insert_csv_delimiteribucket\")\n(let $4 (S3SinkSettings \'\"csv_delim_out/\" \'(\'(\'\"multipart\" \'\"true\")) (SecureParam $3) \'\".csv\" (StructType \'(\'\"bar\" (DataType \'Utf8)) \'(\'\"foo\" (DataType \'Int32)))))\n(return (Commit! (DqQuery! $1 \'((DqStage \'() (lambda \'() (block \'(\n  (let $5 \'(\'(\'\"csvdelimiter\" \'\";\") \'(\'\"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\"))))) \'\"csv_with_names\" \'() $5))\n))) \'() \'((DqSink \'0 $2 $4))))) $2))\n)\n"
  }
}

2025-11-10 09:39:29,676 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomokh2ass2c20g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767568
        nanos: 74336000
      }
      modified_at {
        seconds: 1762767568
        nanos: 74336000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767569
      nanos: 5000000
    }
    finished_at {
      seconds: 1762767569
      nanos: 142000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomokh2an27gur5-ptqudsomokh2ass2c20g"
    result_expire_at {
      seconds: 1762853968
      nanos: 997475000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767568
      nanos: 74336000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/` with (\n              format=csv_with_names,\n              csv_delimiter=\";\"\n            )\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\":\"67ms\",\"count\":1,\"avg\":\"67ms\",\"max\":\"67ms\",\"min\":\"67ms\"},\"EgressBytes\":{\"sum\":32,\"count\":1,\"avg\":32,\"max\":32,\"min\":32},\"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 (DataSink \'\"s3\" \'\"h8577565995071828291_test_insert_csv_delimiteribucket\"))\n(let $3 \'\"cluster:default_h8577565995071828291_test_insert_csv_delimiteribucket\")\n(let $4 (S3SinkSettings \'\"csv_delim_out/\" \'(\'(\'\"multipart\" \'\"true\")) (SecureParam $3) \'\".csv\" (StructType \'(\'\"bar\" (DataType \'Utf8)) \'(\'\"foo\" (DataType \'Int32)))))\n(return (Commit! (DqQuery! $1 \'((DqStage \'() (lambda \'() (block \'(\n  (let $5 \'(\'(\'\"csvdelimiter\" \'\";\") \'(\'\"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\"))))) \'\"csv_with_names\" \'() $5))\n))) \'() \'((DqSink \'0 $2 $4))))) $2))\n)\n"
  }
}

2025-11-10 09:39:29,692 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            select data from `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/*` with (format=raw, schema(\n                data String NOT NULL\n            ))\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "f1e27a0e-389f-4f9b-8901-3cd15474c5f8"

2025-11-10 09:39:29,706 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsomoivja2k8187g"

2025-11-10 09:39:29,733 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomoivja2k8187g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767569
        nanos: 695359000
      }
      modified_at {
        seconds: 1762767569
        nanos: 695359000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsomoivj9u0odvjh-ptqudsomoivja2k8187g"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767569
      nanos: 695359000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select data from `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/*` with (format=raw, schema(\n                data String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
}

2025-11-10 09:39:30,278 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsomoivja2k8187g"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762767569
        nanos: 695359000
      }
      modified_at {
        seconds: 1762767569
        nanos: 695359000
      }
      revision: 1
    }
    started_at {
      seconds: 1762767570
      nanos: 4000000
    }
    finished_at {
      seconds: 1762767570
      nanos: 142000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsomoivj9u0odvjh-ptqudsomoivja2k8187g"
    result_expire_at {
      seconds: 1762853969
      nanos: 996883000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762767569
      nanos: 695359000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select data from `h8577565995071828291_test_insert_csv_delimiteribucket`.`csv_delim_out/*` with (format=raw, schema(\n                data String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":2,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":8,\"level\":1,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":2,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":3,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"55ms\",\"count\":2,\"avg\":\"27ms\",\"max\":\"51ms\",\"min\":\"3ms\"},\"IngressBytes\":{\"sum\":32,\"count\":1,\"avg\":32,\"max\":32,\"min\":32},\"IngressRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"InputBytes\":{\"sum\":38,\"count\":1,\"avg\":38,\"max\":38,\"min\":38},\"InputRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"OutputBytes\":{\"sum\":76,\"count\":2,\"avg\":38,\"max\":38,\"min\":38},\"OutputRows\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"ResultBytes\":{\"sum\":38,\"count\":1,\"avg\":38,\"max\":38,\"min\":38},\"ResultRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"MaxMemoryUsage\":{\"sum\":262144,\"count\":2,\"avg\":131072,\"max\":131072,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  result_set_meta {
    column {
      name: "data"
      type {
        type_id: STRING
      }
    }
    rows_count: 1
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h8577565995071828291_test_insert_csv_delimiteribucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"csv_delim_out\\\"\\n  Children {\\n    Name: \\\"ptjudsomokh2an27gur5_0_85R728vCbk283iV_B4zEd0WK-MKviYr4.csv\\\"\\n    Size: 32\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 \'\"cluster:default_h8577565995071828291_test_insert_csv_delimiteribucket\")\n(let $7 (S3SourceSettings world \'(\'((String $5) (Bool \'\"true\") (AsStruct))) (SecureParam $6) \'\"\" \'\"csv_delim_out/* \" (Void) (Void) (Void)))\n(let $8 (DqStage \'((DqSource $4 $7)) (lambda \'($12) (block \'(\n  (let $13 (DqSourceWideWrap $12 $4 (StructType \'(\'\"data\" (DataType \'String))) \'(\'(\'format \'\"raw\") \'(\'settings \'()))))\n  (return (NarrowMap $13 (lambda \'($14) (AsStruct \'(\'\"data\" $14)))))\n))) \'(\'(\'\"_logical_id\" \'209268))))\n(let $9 (DqStage \'((DqCnUnionAll (TDqOutput $8 \'\"0\"))) (lambda \'($15) $15) \'(\'(\'\"_logical_id\" \'209305))))\n(let $10 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"data\"))))\n(let $11 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $9 \'\"0\") \'()) $10 \'\"dq\"))\n(return (Commit! (Commit! $11 $2) (DataSink \'\"s3\" $3)))\n)\n"
  }
}

2025-11-10 09:39:30,323 - DEBUG - root - test_insert_csv_delimiter: columns {
  name: "data"
  type {
    type_id: STRING
  }
}
rows {
  items {
    bytes_value: "\"bar\";\"foo\"\n\"xxx\";123\n\"yyy\";456\n"
  }
}

2025-11-10 09:39:30,326 - INFO - ya.test - pytest_runtest_teardown: Test teardown
