2025-11-14 10:09:39,035 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 10:09:39,035 - INFO - ya.test - pytest_runtest_setup: test_insert[v1-false-client0-json_each_row-dataにちは% set]
2025-11-14 10:09:39,035 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 10:09:39,035 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 10:09:39,198 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_insert[v1-false-client0-json_each_row-dataにちは% set])
2025-11-14 10:09:39,199 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f7b2bf20e90>
2025-11-14 10:09:39,201 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f7b2c030b90>
2025-11-14 10:09:39,201 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f7b2b1e7d10>
2025-11-14 10:09:39,201 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f7b2c030890>
2025-11-14 10:09:39,205 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-14 10:09:39,210 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-14 10:09:39,211 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-14 10:09:39,213 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-14 10:09:39,215 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-14 10:09:39,215 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-14 10:09:39,217 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f7b167c47d0>
2025-11-14 10:09:39,218 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}
2025-11-14 10:09:39,219 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f7b2bf22d50>
2025-11-14 10:09:39,219 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f7b2bf45610>
2025-11-14 10:09:39,219 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,220 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f7b2bf22b10>
2025-11-14 10:09:39,220 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f7b2bf45850>
2025-11-14 10:09:39,220 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,221 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:26453', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-14 10:09:39,222 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:26453/insert_bucket
2025-11-14 10:09:39,223 - 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-14 10:09:39,223 - 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-14 10:09:39,224 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f7b2bf231d0>
2025-11-14 10:09:39,224 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f7b2bf210d0>
2025-11-14 10:09:39,224 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f7b2bf44c50>
2025-11-14 10:09:39,225 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=CreateBucket) with params: {'url_path': '', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-acl': 'public-read-write', 'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:26453/insert_bucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f7b0f8edf50>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'ACL': 'public-read-write'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-11-14 10:09:39,226 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f7b0f8edb90>>
2025-11-14 10:09:39,226 - 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 0x7f7b2b028b50>>
2025-11-14 10:09:39,226 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f7b2bf22990>
2025-11-14 10:09:39,227 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f7b2bf45790>
2025-11-14 10:09:39,228 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-14 10:09:39,228 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/insert_bucket

host:localhost:26453
x-amz-acl:public-read-write
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251114T100939Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-14 10:09:39,228 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251114T100939Z
20251114/yandex/s3/aws4_request
fdcf3b0c5363faa773627605d5daff70b565af4e71f590c48f1953f12f67ca0b
2025-11-14 10:09:39,228 - DEBUG - botocore.auth - add_auth: Signature:
f47555a4d200a2c8c6941bfe284fe8a8ea57630ab3f29b82fae6811e9d7cf8ce
2025-11-14 10:09:39,229 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f7b2bf45550>
2025-11-14 10:09:39,229 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:26453/insert_bucket, headers={'x-amz-acl': b'public-read-write', 'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251114T100939Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251114/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=f47555a4d200a2c8c6941bfe284fe8a8ea57630ab3f29b82fae6811e9d7cf8ce', 'amz-sdk-invocation-id': b'3c9b9d5c-6e24-42a8-8b33-c3361498b50e', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-14 10:09:39,250 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 14 Nov 2025 10:09:39 GMT', 'x-amzn-requestid': 'OzLsbYx1TS662osj6dLL4IDEd5uLsIvZKnOdiuBWEASdKTRAKv7I', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '167', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-14 10:09:39,250 - 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-14 10:09:39,251 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f7b147696e0>
2025-11-14 10:09:39,251 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-14 10:09:39,252 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,252 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'OzLsbYx1TS662osj6dLL4IDEd5uLsIvZKnOdiuBWEASdKTRAKv7I', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.9', 'date': 'Fri, 14 Nov 2025 10:09:39 GMT', 'x-amzn-requestid': 'OzLsbYx1TS662osj6dLL4IDEd5uLsIvZKnOdiuBWEASdKTRAKv7I', 'content-type': 'text/html; charset=utf-8', 'content-length': '167', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-14 10:09:39,253 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'insert_bucket'}
2025-11-14 10:09:39,254 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function set_list_objects_encoding_type_url at 0x7f7b2bf44650>
2025-11-14 10:09:39,254 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f7b2bf22d50>
2025-11-14 10:09:39,254 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f7b2bf45610>
2025-11-14 10:09:39,254 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,255 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f7b2bf22b10>
2025-11-14 10:09:39,255 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f7b2bf45850>
2025-11-14 10:09:39,255 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,256 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:26453', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-14 10:09:39,257 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:26453/insert_bucket
2025-11-14 10:09:39,257 - 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-14 10:09:39,258 - 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-14 10:09:39,259 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f7b2bf231d0>
2025-11-14 10:09:39,260 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f7b2bf210d0>
2025-11-14 10:09:39,260 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f7b2bf44c50>
2025-11-14 10:09:39,260 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=ListObjects) with params: {'url_path': '', 'query_string': {'encoding-type': 'url'}, 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:26453/insert_bucket?encoding-type=url', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f7b0f8edf50>, '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'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-11-14 10:09:39,261 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f7b0f8edb90>>
2025-11-14 10:09:39,262 - 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 0x7f7b2b028b50>>
2025-11-14 10:09:39,262 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f7b2bf22990>
2025-11-14 10:09:39,263 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f7b2bf45790>
2025-11-14 10:09:39,264 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-14 10:09:39,264 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/insert_bucket
encoding-type=url
host:localhost:26453
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251114T100939Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-14 10:09:39,264 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251114T100939Z
20251114/yandex/s3/aws4_request
906cf6c8ee648bc1e4f941b49abf953c1642725b0672277aa110f4cfcd8ef8f0
2025-11-14 10:09:39,264 - DEBUG - botocore.auth - add_auth: Signature:
daa8d1e3661553a6510d862a0d3c5c25cc7185998206aeb4c37d93a7743c879a
2025-11-14 10:09:39,265 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f7b2bf45550>
2025-11-14 10:09:39,265 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=http://localhost:26453/insert_bucket?encoding-type=url, headers={'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251114T100939Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251114/yandex/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=daa8d1e3661553a6510d862a0d3c5c25cc7185998206aeb4c37d93a7743c879a', 'amz-sdk-invocation-id': b'af425cfc-aa3e-45e3-8417-dfb56e94b72f', 'amz-sdk-request': b'attempt=1'}>
2025-11-14 10:09:39,274 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 14 Nov 2025 10:09:39 GMT', 'x-amzn-requestid': 'TYGV5JMXHMEmZAsbapsDHumpn16jIL6tR3TeuW8O6pnihUBi0PsI', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '618', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-14 10:09:39,274 - 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>dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json</Key><LastModified>2025-11-14T10:09:37.000Z</LastModified><ETag>&#34;8c77c177a307b4819bb1a45e6b5aebac&#34;</ETag><Size>48</Size><StorageClass>STANDARD</StorageClass><Owner><ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID><DisplayName>webfile</DisplayName></Owner></Contents></ListBucketResult>'
2025-11-14 10:09:39,276 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f7b147696e0>
2025-11-14 10:09:39,277 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-14 10:09:39,277 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,278 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f7b2bf44710>
2025-11-14 10:09:39,278 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-11-14 10:09:39,279 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-11-14 10:09:39,280 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f7b167c4950>
2025-11-14 10:09:39,281 - DEBUG - boto3.resources.action - __call__: Calling s3:delete_objects with {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json'}]}}
2025-11-14 10:09:39,282 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function validate_bucket_name at 0x7f7b2bf22d50>
2025-11-14 10:09:39,282 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f7b2bf45610>
2025-11-14 10:09:39,282 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,283 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.DeleteObjects: calling handler <function generate_idempotent_uuid at 0x7f7b2bf22b10>
2025-11-14 10:09:39,283 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f7b2bf45850>
2025-11-14 10:09:39,283 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,284 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'insert_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:26453', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-14 10:09:39,284 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:26453/insert_bucket
2025-11-14 10:09:39,284 - 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-14 10:09:39,284 - 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-14 10:09:39,293 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function escape_xml_payload at 0x7f7b2bf22750>
2025-11-14 10:09:39,294 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_expect_header at 0x7f7b2bf231d0>
2025-11-14 10:09:39,294 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function add_recursion_detection_header at 0x7f7b2bf210d0>
2025-11-14 10:09:39,294 - DEBUG - botocore.hooks - _emit: Event before-call.s3.DeleteObjects: calling handler <function inject_api_version_header_if_needed at 0x7f7b2bf44c50>
2025-11-14 10:09:39,295 - 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.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'Content-MD5': 'E4tfDEmA1cMMhAZVC7ZALA=='}, 'body': b'<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json</Key></Object></Delete>', 'auth_path': '/insert_bucket/', 'url': 'http://localhost:26453/insert_bucket?delete', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f7b0f8edf50>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'insert_bucket', 'params': {'Bucket': 'insert_bucket', 'Delete': {'Objects': [{'Key': 'dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json'}]}}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'checksum': {'request_algorithm': 'conditional-md5'}}}
2025-11-14 10:09:39,296 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f7b0f8edb90>>
2025-11-14 10:09:39,296 - 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 0x7f7b2b028b50>>
2025-11-14 10:09:39,297 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.DeleteObjects: calling handler <function set_operation_specific_signer at 0x7f7b2bf22990>
2025-11-14 10:09:39,297 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.DeleteObjects: calling handler <function remove_arn_from_signing_path at 0x7f7b2bf45790>
2025-11-14 10:09:39,299 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-14 10:09:39,300 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
POST
/insert_bucket
delete=
content-md5:E4tfDEmA1cMMhAZVC7ZALA==
host:localhost:26453
x-amz-content-sha256:7246a487d0bb9add2e223445475098b22a8c65a99de75193602c0967ebe048d2
x-amz-date:20251114T100939Z

content-md5;host;x-amz-content-sha256;x-amz-date
7246a487d0bb9add2e223445475098b22a8c65a99de75193602c0967ebe048d2
2025-11-14 10:09:39,300 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251114T100939Z
20251114/yandex/s3/aws4_request
11fb16849810e0b75078de09e84584c60bb7f7eb58ef3f513bab2e3a144cb47c
2025-11-14 10:09:39,300 - DEBUG - botocore.auth - add_auth: Signature:
a7a9e24cd05cca0a759eb1a756127d59c11bea36a9feb4b7651dd44c1a4d3616
2025-11-14 10:09:39,300 - DEBUG - botocore.hooks - _emit: Event request-created.s3.DeleteObjects: calling handler <function add_retry_headers at 0x7f7b2bf45550>
2025-11-14 10:09:39,301 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=http://localhost:26453/insert_bucket?delete, headers={'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'Content-MD5': b'E4tfDEmA1cMMhAZVC7ZALA==', 'X-Amz-Date': b'20251114T100939Z', 'X-Amz-Content-SHA256': b'7246a487d0bb9add2e223445475098b22a8c65a99de75193602c0967ebe048d2', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251114/yandex/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=a7a9e24cd05cca0a759eb1a756127d59c11bea36a9feb4b7651dd44c1a4d3616', 'amz-sdk-invocation-id': b'ec21b429-4fd7-4ec1-8379-78d851607cb7', 'amz-sdk-request': b'attempt=1', 'Content-Length': '161'}>
2025-11-14 10:09:39,313 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 14 Nov 2025 10:09:39 GMT', 'x-amzn-requestid': 'XYqlSkDijM3on1vS2A8nj55rgBBXXA5Bj89SM0X58at0sVbYlNS9', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '212', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-14 10:09:39,313 - 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>dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json</Key></Deleted></DeleteResult>'
2025-11-14 10:09:39,318 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f7b147696e0>
2025-11-14 10:09:39,318 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-14 10:09:39,319 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.DeleteObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f7b167a76c0>>
2025-11-14 10:09:39,319 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'XYqlSkDijM3on1vS2A8nj55rgBBXXA5Bj89SM0X58at0sVbYlNS9', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.9', 'date': 'Fri, 14 Nov 2025 10:09:39 GMT', 'x-amzn-requestid': 'XYqlSkDijM3on1vS2A8nj55rgBBXXA5Bj89SM0X58at0sVbYlNS9', 'content-type': 'text/html; charset=utf-8', 'content-length': '212', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}, 'Deleted': [{'Key': 'dataset/ptjudsej71troll2rodg_0_v2ZoY0iIpUu6sDq0Xcw9t37uEwnQ_jAy.json'}]}
2025-11-14 10:09:39,399 - 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 `h7517834796809585356_test_insertibucket`.`data\343\201\253\343\201\241\343\201\257% set/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "0cc5f1d2-46af-4467-ad17-a1796c9e2121"

2025-11-14 10:09:39,469 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsej6v7vo9s9jvpt"

2025-11-14 10:09:39,495 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6v7vo9s9jvpt"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114979
        nanos: 426534000
      }
      modified_at {
        seconds: 1763114979
        nanos: 426534000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsej6v7vloem8ra5-ptqudsej6v7vo9s9jvpt"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114979
      nanos: 426534000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h7517834796809585356_test_insertibucket`.`data\343\201\253\343\201\241\343\201\257% set/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
}

2025-11-14 10:09:40,021 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-14 10:09:40,549 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6v7vo9s9jvpt"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114979
        nanos: 426534000
      }
      modified_at {
        seconds: 1763114979
        nanos: 426534000
      }
      revision: 1
    }
    started_at {
      seconds: 1763114980
      nanos: 466000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsej6v7vloem8ra5-ptqudsej6v7vo9s9jvpt"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114979
      nanos: 426534000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h7517834796809585356_test_insertibucket`.`data\343\201\253\343\201\241\343\201\257% set/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
}

2025-11-14 10:09:41,088 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6v7vo9s9jvpt"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114979
        nanos: 426534000
      }
      modified_at {
        seconds: 1763114979
        nanos: 426534000
      }
      revision: 1
    }
    started_at {
      seconds: 1763114980
      nanos: 466000000
    }
    finished_at {
      seconds: 1763114980
      nanos: 714000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsej6v7vloem8ra5-ptqudsej6v7vo9s9jvpt"
    result_expire_at {
      seconds: 1763201380
      nanos: 449091000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114979
      nanos: 426534000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            pragma s3.UseBlocksSink = \"false\";\n            insert into `h7517834796809585356_test_insertibucket`.`data\343\201\253\343\201\241\343\201\257% set/` with (format=json_each_row)\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\":\"96ms\",\"count\":1,\"avg\":\"96ms\",\"max\":\"96ms\",\"min\":\"96ms\"},\"EgressBytes\":{\"sum\":48,\"count\":1,\"avg\":48,\"max\":48,\"min\":48},\"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\" \'\"h7517834796809585356_test_insertibucket\"))\n(let $4 (S3SinkSettings \'\"data\\u306B\\u3061\\u306F% set/\" \'(\'(\'\"multipart\" \'\"true\")) (SecureParam \'\"cluster:default_h7517834796809585356_test_insertibucket\") \'\".json\" (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\"))))) \'\"json_each_row\" \'() $5))\n))) \'() \'((DqSink \'0 $3 $4))))) $3))\n)\n"
  }
}

2025-11-14 10:09:41,112 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-14 10:09:41,113 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            select foo, bar from h7517834796809585356_test_insertibucket.`data\343\201\253\343\201\241\343\201\257% set/ptjudsej6v7vloem8ra5*` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "8ff44f87-8621-481a-a577-67db05ffa3e5"

2025-11-14 10:09:41,183 - DEBUG - root - create_query_impl: Result: query_id: "ptqudsej6tk50his7kqo"

2025-11-14 10:09:41,222 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6tk50his7kqo"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114981
        nanos: 125088000
      }
      modified_at {
        seconds: 1763114981
        nanos: 125088000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsej6tk4u8bf71qi-ptqudsej6tk50his7kqo"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114981
      nanos: 125088000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h7517834796809585356_test_insertibucket.`data\343\201\253\343\201\241\343\201\257% set/ptjudsej6v7vloem8ra5*` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
}

2025-11-14 10:09:41,774 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6tk50his7kqo"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114981
        nanos: 125088000
      }
      modified_at {
        seconds: 1763114981
        nanos: 125088000
      }
      revision: 1
    }
    started_at {
      seconds: 1763114981
      nanos: 450000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsej6tk4u8bf71qi-ptqudsej6tk50his7kqo"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114981
      nanos: 125088000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h7517834796809585356_test_insertibucket.`data\343\201\253\343\201\241\343\201\257% set/ptjudsej6v7vloem8ra5*` with (format=json_each_row, 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\":\"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}]}}"
  }
  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 \'\"h7517834796809585356_test_insertibucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"data\\\\343\\\\201\\\\253\\\\343\\\\201\\\\241\\\\343\\\\201\\\\257% set\\\"\\n  Children {\\n    Name: \\\"ptjudsej6v7vloem8ra5_0_HtY5uIsmxkOxg0qGLq-hZ2kimYfmpSvV.json\\\"\\n    Size: 48\\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_h7517834796809585356_test_insertibucket\") \'\"\" \'\"data\\u306B\\u3061\\u306F% set/ptjudsej6v7vloem8ra5* \" \'\"json_each_row\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $4 $7 \'(\'(\'format \'\"json_each_row\"))))\n  (return (NarrowMap $15 (lambda \'($16 $17) (AsStruct \'(\'\"bar\" $16) \'(\'\"foo\" $17)))))\n))) \'(\'(\'\"_logical_id\" \'200046))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($18) $18) \'(\'(\'\"_logical_id\" \'200085))))\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-14 10:09:42,290 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudsej6tk50his7kqo"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763114981
        nanos: 125088000
      }
      modified_at {
        seconds: 1763114981
        nanos: 125088000
      }
      revision: 1
    }
    started_at {
      seconds: 1763114981
      nanos: 450000000
    }
    finished_at {
      seconds: 1763114981
      nanos: 755000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudsej6tk4u8bf71qi-ptqudsej6tk50his7kqo"
    result_expire_at {
      seconds: 1763201381
      nanos: 442117000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763114981
      nanos: 125088000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from h7517834796809585356_test_insertibucket.`data\343\201\253\343\201\241\343\201\257% set/ptjudsej6v7vloem8ra5*` with (format=json_each_row, 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\":\"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\":\"0.11s\",\"count\":2,\"avg\":\"59ms\",\"max\":\"0.11s\",\"min\":\"2ms\"},\"IngressBytes\":{\"sum\":48,\"count\":1,\"avg\":48,\"max\":48,\"min\":48},\"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 \'\"h7517834796809585356_test_insertibucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"data\\\\343\\\\201\\\\253\\\\343\\\\201\\\\241\\\\343\\\\201\\\\257% set\\\"\\n  Children {\\n    Name: \\\"ptjudsej6v7vloem8ra5_0_HtY5uIsmxkOxg0qGLq-hZ2kimYfmpSvV.json\\\"\\n    Size: 48\\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_h7517834796809585356_test_insertibucket\") \'\"\" \'\"data\\u306B\\u3061\\u306F% set/ptjudsej6v7vloem8ra5* \" \'\"json_each_row\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $4 $7 \'(\'(\'format \'\"json_each_row\"))))\n  (return (NarrowMap $15 (lambda \'($16 $17) (AsStruct \'(\'\"bar\" $16) \'(\'\"foo\" $17)))))\n))) \'(\'(\'\"_logical_id\" \'200046))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($18) $18) \'(\'(\'\"_logical_id\" \'200085))))\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-14 10:09:42,334 - 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-14 10:09:42,337 - INFO - ya.test - pytest_runtest_teardown: Test teardown
