============================= test session starts ==============================
platform linux -- Python 3.12.12, pytest-8.0.2, pluggy-1.6.0
rootdir: /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items

test.py sssssssssssssssssF..ss...F.sss...s.s..Fs.s.ssss..ss..sss.s...ss..s.ss.sssssss...ss.ss.sss.s..ss.s..s...s...ss

=================================== FAILURES ===================================
________________ test[aggregate-group_by_expr_alias_on_subexp-] ________________
ydb/tests/fq/yt/kqp_yt_file/part11/test.py:14: in test
    return run_test(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:182: in run_test
    run_file_kqp(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:216: in run_file_kqp
    run_file_kqp.cache[(suite, case, cfg)] = run_file_kqp_no_cache(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:211: in run_file_kqp_no_cache
    return kqprun.yql_exec(yql_program=sql_query, verbose=True, check_error=True, yql_tables=in_tables)
ydb/tests/fq/tools/kqprun.py:102: in yql_exec
    assert 0, f'Command\n{cmd}\n finished with exit code {proc_result.exit_code}, stderr:\n\n{proc_result.std_err}\n\nlog file:\n{yql_utils.read_res_file(log_file)[1]}'
E   AssertionError: Command
E   /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_y7kkoplo/Input.yqlrun.txt 
E    finished with exit code 1, stderr:
E   
E   b"Failed to execute query, reason:\nRequest finished with status: PRECONDITION_FAILED\nIssues:\n<main>: Warning: Type annotation, code: 1030\n    <main>:6:1: Warning: At function: RemovePrefixMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject\n        <main>:9:4: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember\n            <main>:10:38: Warning: At function: %\n                <main>:10:38: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107\n<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:36.448356Z Query execution failed\n"
E   
E   log file:
E   2025-10-24T16:19:35.610172Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823718738477062:2072];send_to=[0:7307199536658146131:7762515];
E   2025-10-24T16:19:35.610195Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
E   2025-10-24T16:19:35.681379Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
E   2025-10-24T16:19:35.684874Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
E   2025-10-24T16:19:35.735944Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
E   2025-10-24T16:19:35.735976Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
E   2025-10-24T16:19:35.737080Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
E   2025-10-24T16:19:35.745181Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
E   2025-10-24T16:19:35.753526Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976715657, at schemeshard: 72057594046644480
E   2025-10-24T16:19:35.917859Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
E   2025-10-24T16:19:36.189602Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444962:2302], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.189632Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.189752Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444972:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.189774Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.239805Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976715658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
E   2025-10-24T16:19:36.248682Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444996:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.248715Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.248745Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033445001:2309], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.248751Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033445003:2310], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.248758Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:36.249582Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
E   2025-10-24T16:19:36.255616Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823723033445005:2311], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715659 completed, doublechecking }
E   2025-10-24T16:19:36.321141Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823723033445056:2358] txid# 281474976715660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
E   2025-10-24T16:19:36.444652Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:678: SelfId: [1:7564823723033445095:2318], TxId: 281474976715661, task: 1. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:19:36.243724Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. InternalError: PRECONDITION_FAILED DEFAULT_ERROR: { <main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type }.
E   2025-10-24T16:19:36.445281Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823723033445096:2319], TxId: 281474976715661, task: 2. Ctx: { TraceId : kqprun-2025-10-24T16:19:36.243724Z.  CheckpointId : .  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823723033445092:2305], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
E   2025-10-24T16:19:36.445334Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823723033445098:2320], TxId: 281474976715661, task: 3. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:19:36.243724Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823723033445092:2305], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
E   2025-10-24T16:19:36.446165Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2981: SessionId: ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==, ActorId: [1:7564823723033444994:2305], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:19:36.243724Z, Create QueryResponse for error on request, msg:
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test[aggregate-group_by_expr_alias_on_subexp-]
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test.py, test_name: test[aggregate-group_by_expr_alias_on_subexp-])
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun
DEBUG    ya.test:process.py:678 Command out will be placed to kqprun.out
DEBUG    ya.test:process.py:678 Command err will be placed to kqprun.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun', '--emulate-yt', '--exclude-linked-udfs', '--execution-case', 'query', '--app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf', '--scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql', '--result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/results.txt', '--script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/ast.txt', '--script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/plan.json', '--log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/log.txt', '--udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps', '--result-format', 'full-proto', '--plan-format', 'json', '--result-rows-limit', '0', '--script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/program.sql', '--table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_y7kkoplo/Input.yqlrun.txt']' in '/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3241888
DEBUG    ya.test:process.py:259 Command (pid 3241888) rc: 1
DEBUG    ya.test:process.py:260 Command (pid 3241888) elapsed time (sec): 1.7207565307617188
DEBUG    ya.test:process.py:263 Command (pid 3241888) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) maxrss: 491584
DEBUG    ya.test:process.py:263 Command (pid 3241888) minflt: 48034
DEBUG    ya.test:process.py:263 Command (pid 3241888) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) nivcsw: 137
DEBUG    ya.test:process.py:263 Command (pid 3241888) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3241888) nvcsw: 2408
DEBUG    ya.test:process.py:263 Command (pid 3241888) oublock: 104
DEBUG    ya.test:process.py:263 Command (pid 3241888) stime: 0.221053
DEBUG    ya.test:process.py:263 Command (pid 3241888) utime: 1.223978
DEBUG    ya.test:process.py:263 Command (pid 3241888) wtime: 1.723
DEBUG    ya.test:process.py:275 Command (pid 3241888) output:
2025-10-24T16:19:35.308017Z Fetching udfs...
2025-10-24T16:19:35.576355Z Initialization of kqp runner...
2025-10-24T16:19:36.183677Z Executing scheme query...
2025-10-24T16:19:36.243724Z Executing script...
Writing script query ast
Writing script query plan
Generic request finished. Total duration: 0.197648s

DEBUG    ya.test:process.py:276 Command (pid 3241888) errors:
Failed to execute query, reason:
Request finished with status: PRECONDITION_FAILED
Issues:
<main>: Warning: Type annotation, code: 1030
    <main>:6:1: Warning: At function: RemovePrefixMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject
        <main>:9:4: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember
            <main>:10:38: Warning: At function: %
                <main>:10:38: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107
<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type


(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:36.448356Z Query execution failed
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
_____________________ test[aggregate-list_with_fold_map-] ______________________
ydb/tests/fq/yt/kqp_yt_file/part11/test.py:14: in test
    return run_test(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:182: in run_test
    run_file_kqp(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:216: in run_file_kqp
    run_file_kqp.cache[(suite, case, cfg)] = run_file_kqp_no_cache(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:211: in run_file_kqp_no_cache
    return kqprun.yql_exec(yql_program=sql_query, verbose=True, check_error=True, yql_tables=in_tables)
ydb/tests/fq/tools/kqprun.py:102: in yql_exec
    assert 0, f'Command\n{cmd}\n finished with exit code {proc_result.exit_code}, stderr:\n\n{proc_result.std_err}\n\nlog file:\n{yql_utils.read_res_file(log_file)[1]}'
E   AssertionError: Command
E   /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_xndz4k28/Input.yqlrun.txt 
E    finished with exit code 1, stderr:
E   
E   b'Failed to execute query, reason:\nRequest finished with status: INTERNAL_ERROR\nIssues:\n<main>:6:14: Warning: It is not recommended to directly access s-expressions functions via YQL::\nThis mechanism is mostly intended for temporary workarounds or internal testing purposes, code: 4510\n<main>: Fatal: Execution, code: 1060\n    <main>:5:5: Error: At function: KqpProgram, At lambda\n        <main>:20:6: Error: At function: FromFlow, At function: ToFlow, At function: WideFromBlocks, At function: DqPhyHashCombine, At function: WideToBlocks, At function: WideToBlocks, At function: WideToBlocks\n            <main>:20:6: Error: Type List<Int64> is not supported in Block mode\n    <main>: Fatal: Detected a type error after initial validation, code: 1\n    <main>:5:5: Error: Peephole optimization failed for KQP transaction\n    <main>: Fatal: yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h:324  Cast(): requirement IsValid() failed, code: 1\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:50.826038Z Query execution failed\n'
E   
E   log file:
E   2025-10-24T16:19:48.458469Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823772660882555:2151];send_to=[0:7307199536658146131:7762515];
E   2025-10-24T16:19:48.458505Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
E   2025-10-24T16:19:48.509275Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
E   2025-10-24T16:19:48.512705Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
E   2025-10-24T16:19:48.539233Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
E   2025-10-24T16:19:48.563114Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
E   2025-10-24T16:19:48.563144Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
E   2025-10-24T16:19:48.564161Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
E   2025-10-24T16:19:48.778787Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
E   2025-10-24T16:19:49.459902Z node 1 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
E   2025-10-24T16:19:50.586952Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817674:2305], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.586973Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.587042Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817684:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.587047Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.633269Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976710658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
E   2025-10-24T16:19:50.638757Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817708:2309], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.638786Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.638807Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817713:2312], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.638816Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817715:2313], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.638823Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:19:50.639683Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976710659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
E   2025-10-24T16:19:50.647488Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823781250817717:2314], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976710659 completed, doublechecking }
E   2025-10-24T16:19:50.735623Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823781250817768:2365] txid# 281474976710660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
E   2025-10-24T16:19:50.822013Z node 1 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [1:7564823781250817785:2318], status: INTERNAL_ERROR, issues: <main>:6:14: Warning: It is not recommended to directly access s-expressions functions via YQL::
E   This mechanism is mostly intended for temporary workarounds or internal testing purposes, code: 4510
E   <main>: Fatal: Execution, code: 1060
E       <main>:5:5: Error: At function: KqpProgram, At lambda
E           <main>:20:6: Error: At function: FromFlow, At function: ToFlow, At function: WideFromBlocks, At function: DqPhyHashCombine, At function: WideToBlocks, At function: WideToBlocks, At function: WideToBlocks
E               <main>:20:6: Error: Type List<Int64> is not supported in Block mode
E       <main>: Fatal: Detected a type error after initial validation, code: 1
E       <main>:5:5: Error: Peephole optimization failed for KQP transaction
E       <main>: Fatal: yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h:324  Cast(): requirement IsValid() failed, code: 1
E   2025-10-24T16:19:50.822137Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2500: SessionId: ydb://session/3?node_id=1&id=MjQ2ODdlOTItY2VlYTg4YmEtZGU5NDUyMmMtYjI5OGViMDQ=, ActorId: [1:7564823781250817706:2308], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:19:50.637062Z, ReplyQueryCompileError, status INTERNAL_ERROR remove tx with tx_id:
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test[aggregate-list_with_fold_map-]
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test.py, test_name: test[aggregate-list_with_fold_map-])
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun
DEBUG    ya.test:process.py:678 Command out will be placed to kqprun.out.5
DEBUG    ya.test:process.py:678 Command err will be placed to kqprun.err.5
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun', '--emulate-yt', '--exclude-linked-udfs', '--execution-case', 'query', '--app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf', '--scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql', '--result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/results.txt', '--script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/ast.txt', '--script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/plan.json', '--log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/log.txt', '--udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps', '--result-format', 'full-proto', '--plan-format', 'json', '--result-rows-limit', '0', '--script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/program.sql', '--table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_xndz4k28/Input.yqlrun.txt']' in '/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3253987
DEBUG    ya.test:process.py:259 Command (pid 3253987) rc: 1
DEBUG    ya.test:process.py:260 Command (pid 3253987) elapsed time (sec): 3.0541887283325195
DEBUG    ya.test:process.py:263 Command (pid 3253987) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) maxrss: 487076
DEBUG    ya.test:process.py:263 Command (pid 3253987) minflt: 48211
DEBUG    ya.test:process.py:263 Command (pid 3253987) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) nivcsw: 178
DEBUG    ya.test:process.py:263 Command (pid 3253987) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3253987) nvcsw: 5248
DEBUG    ya.test:process.py:263 Command (pid 3253987) oublock: 56
DEBUG    ya.test:process.py:263 Command (pid 3253987) stime: 0.234141
DEBUG    ya.test:process.py:263 Command (pid 3253987) utime: 1.133058
DEBUG    ya.test:process.py:263 Command (pid 3253987) wtime: 3.056
DEBUG    ya.test:process.py:275 Command (pid 3253987) output:
2025-10-24T16:19:48.191430Z Fetching udfs...
2025-10-24T16:19:48.424730Z Initialization of kqp runner...
2025-10-24T16:19:50.585466Z Executing scheme query...
2025-10-24T16:19:50.637062Z Executing script...
Writing script query ast
Writing script query plan
Generic request finished. Estimated duration: 0.188163s

DEBUG    ya.test:process.py:276 Command (pid 3253987) errors:
Failed to execute query, reason:
Request finished with status: INTERNAL_ERROR
Issues:
<main>:6:14: Warning: It is not recommended to directly access s-expressions functions via YQL::
This mechanism is mostly intended for temporary workarounds or internal testing purposes, code: 4510
<main>: Fatal: Execution, code: 1060
    <main>:5:5: Error: At function: KqpProgram, At lambda
        <main>:20:6: Error: At function: FromFlow, At function: ToFlow, At function: WideFromBlocks, At function: DqPhyHashCombine, At function: WideToBlocks, At function: WideToBlocks, At function: WideToBlocks
            <main>:20:6: Error: Type List<Int64> is not supported in Block mode
    <main>: Fatal: Detected a type error after initial validation, code: 1
    <main>:5:5: Error: Peephole optimization failed for KQP transaction
    <main>: Fatal: yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h:324  Cast(): requirement IsValid() failed, code: 1


(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:50.826038Z Query execution failed
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
_____________________ test[flatten_by-flatten_two_fields-] _____________________
ydb/tests/fq/yt/kqp_yt_file/part11/test.py:14: in test
    return run_test(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:182: in run_test
    run_file_kqp(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:216: in run_file_kqp
    run_file_kqp.cache[(suite, case, cfg)] = run_file_kqp_no_cache(suite, case, cfg)
../../../../../../../../environment/arcadia/ydb/tests/fq/yt/kqp_yt_file.py:211: in run_file_kqp_no_cache
    return kqprun.yql_exec(yql_program=sql_query, verbose=True, check_error=True, yql_tables=in_tables)
ydb/tests/fq/tools/kqprun.py:102: in yql_exec
    assert 0, f'Command\n{cmd}\n finished with exit code {proc_result.exit_code}, stderr:\n\n{proc_result.std_err}\n\nlog file:\n{yql_utils.read_res_file(log_file)[1]}'
E   AssertionError: Command
E   /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_3nwkpzxa/Input.yqlrun.txt 
E    finished with exit code 1, stderr:
E   
E   b"Failed to execute query, reason:\nRequest finished with status: PRECONDITION_FAILED\nIssues:\n<main>: Warning: Type annotation, code: 1030\n    <main>:5:1: Warning: At function: RemovePrefixMembers, At function: RemoveSystemMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject, At function: FlatMap\n        <main>:3:15: Warning: At function: PersistableRepr, At function: SqlProject\n            <main>:3:123: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember\n                <main>:3:158: Warning: At function: %\n                    <main>:3:158: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107\n<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:20:10.391425Z Query execution failed\n"
E   
E   log file:
E   2025-10-24T16:20:09.034716Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823863779720590:2077];send_to=[0:7307199536658146131:7762515];
E   2025-10-24T16:20:09.034911Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
E   2025-10-24T16:20:09.076927Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
E   2025-10-24T16:20:09.082123Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
E   2025-10-24T16:20:09.137641Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
E   2025-10-24T16:20:09.137675Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
E   2025-10-24T16:20:09.138765Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
E   2025-10-24T16:20:09.143555Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
E   2025-10-24T16:20:09.288287Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
E   2025-10-24T16:20:10.036546Z node 1 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
E   2025-10-24T16:20:10.114459Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688495:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.114488Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.114538Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688505:2304], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.114543Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.152412Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976715658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
E   2025-10-24T16:20:10.157799Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688529:2307], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.157831Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.157850Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688534:2310], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.157857Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688536:2311], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.157863Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
E   2025-10-24T16:20:10.158605Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
E   2025-10-24T16:20:10.163542Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823868074688538:2312], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715659 completed, doublechecking }
E   2025-10-24T16:20:10.257470Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823868074688589:2362] txid# 281474976715660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
E   2025-10-24T16:20:10.386178Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:678: SelfId: [1:7564823868074688627:2319], TxId: 281474976715661, task: 1. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  DatabaseId : /Root.  Database : /Root. }. InternalError: PRECONDITION_FAILED DEFAULT_ERROR: { <main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type }.
E   2025-10-24T16:20:10.386993Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823868074688629:2320], TxId: 281474976715661, task: 2. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  CustomerSuppliedId : .  RunScriptActorId : [0:0:0].  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  DatabaseId : /Root.  Database : /Root. }. Handle abort execution event from: [1:7564823868074688624:2306], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
E   2025-10-24T16:20:10.387005Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823868074688630:2321], TxId: 281474976715661, task: 3. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823868074688624:2306], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
E   2025-10-24T16:20:10.387399Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2981: SessionId: ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=, ActorId: [1:7564823868074688527:2306], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:20:10.155961Z, Create QueryResponse for error on request, msg:
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 test[flatten_by-flatten_two_fields-]
INFO     ya.test:ya.py:422 ####################################################################################################
INFO     ya.test:ya.py:423 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:436 Test call (class_name: test.py, test_name: test[flatten_by-flatten_two_fields-])
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps
DEBUG    ya.test:ya.py:181 Binary was found by /home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun
DEBUG    ya.test:process.py:678 Command out will be placed to kqprun.out.13
DEBUG    ya.test:process.py:678 Command err will be placed to kqprun.err.13
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun', '--emulate-yt', '--exclude-linked-udfs', '--execution-case', 'query', '--app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf', '--scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql', '--result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/results.txt', '--script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/ast.txt', '--script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/plan.json', '--log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/log.txt', '--udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps', '--result-format', 'full-proto', '--plan-format', 'json', '--result-rows-limit', '0', '--script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/program.sql', '--table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_3nwkpzxa/Input.yqlrun.txt']' in '/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3268639
DEBUG    ya.test:process.py:259 Command (pid 3268639) rc: 1
DEBUG    ya.test:process.py:260 Command (pid 3268639) elapsed time (sec): 2.062166929244995
DEBUG    ya.test:process.py:263 Command (pid 3268639) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) maxrss: 493624
DEBUG    ya.test:process.py:263 Command (pid 3268639) minflt: 48489
DEBUG    ya.test:process.py:263 Command (pid 3268639) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) nivcsw: 39
DEBUG    ya.test:process.py:263 Command (pid 3268639) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3268639) nvcsw: 3262
DEBUG    ya.test:process.py:263 Command (pid 3268639) oublock: 96
DEBUG    ya.test:process.py:263 Command (pid 3268639) stime: 0.22921899999999998
DEBUG    ya.test:process.py:263 Command (pid 3268639) utime: 1.219776
DEBUG    ya.test:process.py:263 Command (pid 3268639) wtime: 2.064
DEBUG    ya.test:process.py:275 Command (pid 3268639) output:
2025-10-24T16:20:08.729534Z Fetching udfs...
2025-10-24T16:20:08.999922Z Initialization of kqp runner...
2025-10-24T16:20:10.112971Z Executing scheme query...
2025-10-24T16:20:10.155961Z Executing script...
Writing script query ast
Writing script query plan
Generic request finished. Total duration: 0.229720s

DEBUG    ya.test:process.py:276 Command (pid 3268639) errors:
Failed to execute query, reason:
Request finished with status: PRECONDITION_FAILED
Issues:
<main>: Warning: Type annotation, code: 1030
    <main>:5:1: Warning: At function: RemovePrefixMembers, At function: RemoveSystemMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject, At function: FlatMap
        <main>:3:15: Warning: At function: PersistableRepr, At function: SqlProject
            <main>:3:123: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember
                <main>:3:158: Warning: At function: %
                    <main>:3:158: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107
<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type


(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:20:10.391425Z Query execution failed
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:431 Test teardown
============================== slowest durations ===============================
3.46s call     test.py::test[in-huge_in-default.txt]
3.42s call     test.py::test[join-from_in_front_join-]
3.37s call     test.py::test[join-join_and_distinct_key-]
3.35s call     test.py::test[in-in_with_list_dict-default.txt]
3.16s call     test.py::test[window-generic/session-]
3.14s call     test.py::test[select-autoextract_source_value-default.txt]
3.14s call     test.py::test[join-mergejoin_semi_composite_to_inner-]
3.10s call     test.py::test[aggregate-group_by_ru_join_qualified-default.txt]
3.09s call     test.py::test[optimizers-unused_columns_group-]
3.07s call     test.py::test[aggregate-list_with_fold_map-]
3.05s call     test.py::test[blocks-compare-]
3.02s call     test.py::test[flatten_by-flatten_columns_by_aggregate-default.txt]
2.95s call     test.py::test[weak_field-hor_join_with_mix_weak_access-]
2.94s call     test.py::test[join-mergejoin_big_primary_unique-]
2.91s call     test.py::test[join-left_join_right_pushdown_no_opt-]
2.67s call     test.py::test[window-win_func_spec_with_part-]
2.63s call     test.py::test[blocks-member-]
2.62s call     test.py::test[aggregate-group_by_expr_order_by_expr-]
2.52s call     test.py::test[order_by-order_with_null-default.txt]
2.50s call     test.py::test[optimizers-test_no_aggregate_split-]
2.47s call     test.py::test[join-mergejoin_semi_to_inner-]
2.32s call     test.py::test[join-filter_joined-]
2.31s call     test.py::test[window-win_func_auto_arg_selective_rank-default.txt]
2.23s call     test.py::test[blocks-date_add_interval_scalar-]
2.23s call     test.py::test[limit-limit_offset-default.txt]
2.21s call     test.py::test[window-generic/aggregations_after_current-]
2.19s call     test.py::test[column_order-select_action-default.txt]
2.16s call     test.py::test[ansi_idents-order_by-default.txt]
2.09s call     test.py::test[schema-row_spec_with_default_values-]
2.09s call     test.py::test[window-win_multiaggr_list-default.txt]
2.08s call     test.py::test[flatten_by-flatten_two_fields-]
2.03s call     test.py::test[count-count_all-default.txt]
1.99s call     test.py::test[window-current/session_incompat_sort-]
1.98s call     test.py::test[window-full/aggregations-]
1.91s call     test.py::test[aggregate-group_by_mul_gb_ru-]
1.83s call     test.py::test[key_filter-is_null-]
1.80s call     test.py::test[select-qualified_all_and_group_by-default.txt]
1.78s call     test.py::test[simple_columns-simple_columns_tablerow-default.txt]
1.74s call     test.py::test[aggregate-group_by_expr_alias_on_subexp-]
1.72s call     test.py::test[join-pullup_context_dep-]
1.67s call     test.py::test[join-star_join_inners-]
1.66s call     test.py::test[aggregate-group_by_ru_with_select_distinct-]
1.65s call     test.py::test[join-lookupjoin_semi_1o2o-]
1.63s call     test.py::test[aggregate-group_by_gs_grouping-]
1.55s call     test.py::test[produce-reduce_lambda-]
1.52s call     test.py::test[optimizers-test_fuse_map_predicate_limit-default.txt]
0.06s setup    test.py::test[simple_columns-simple_columns_tablerow-default.txt]
0.04s call     test.py::test[limit-insert_with_limit-dynamic]
0.03s call     test.py::test[pg-tpcds-q45-default.txt]
0.03s setup    test.py::test[join-full_trivial-off]
0.03s teardown test.py::test[window-full/aggregations-]
0.03s call     test.py::test[pg-tpcds-q55-default.txt]
0.03s setup    test.py::test[column_order-union_all_positional_columns_count_fail-]
0.02s teardown test.py::test[limit-insert_with_limit-dynamic]
0.02s setup    test.py::test[optimizers-flatmap_with_non_struct_out-]
0.02s call     test.py::test[pg-tpcds-q64-default.txt]
0.02s setup    test.py::test[join-mergejoin_semi_composite_to_inner-]
0.02s setup    test.py::test[join-mergejoin_semi_to_inner-]
0.02s setup    test.py::test[simple_columns-simple_columns_join_coalesce_all_1-default.txt]
0.02s call     test.py::test[pg-tpcds-q27-default.txt]
0.02s setup    test.py::test[window-full/aggregations-]
0.02s call     test.py::test[pg-tpcds-q98-default.txt]
0.02s call     test.py::test[join-inner_with_order-off]
0.02s setup    test.py::test[pg-tpcds-q98-default.txt]
0.02s setup    test.py::test[window-generic/session-]
0.02s call     test.py::test[pg-tpcds-q01-default.txt]
0.02s setup    test.py::test[union_all-union_all_with_discard_into_result_ansi-default.txt]
0.01s setup    test.py::test[optimizers-test_fuse_map_predicate_limit-default.txt]
0.01s setup    test.py::test[window-generic/aggregations_after_current-]
0.01s setup    test.py::test[window-distinct_over_window_struct-default.txt]
0.01s setup    test.py::test[window-win_func_spec_with_part-]
0.01s call     test.py::test[window-presort_window_order_by_table-default.txt]
0.01s setup    test.py::test[aggregate-group_by_expr_order_by_expr-]
0.01s teardown test.py::test[window-distinct_over_window_struct-default.txt]
0.01s setup    test.py::test[aggr_factory-count_if-default.txt]
0.01s setup    test.py::test[select-qualified_all_and_group_by-default.txt]
0.01s setup    test.py::test[window-win_func_auto_arg_selective_rank-default.txt]
0.01s setup    test.py::test[produce-process_with_udf_validate-default.txt]
0.01s call     test.py::test[optimizers-group_visit_lambdas-]
0.01s call     test.py::test[pg-tpcds-q30-default.txt]
0.01s teardown test.py::test[select-qualified_all_and_group_by-default.txt]
0.01s setup    test.py::test[join-join_and_distinct_key-]
0.01s call     test.py::test[action-dep_world_quote_code-default.txt]
0.01s setup    test.py::test[pg-tpcds-q64-default.txt]
0.01s setup    test.py::test[ypath-direct_read_from_dynamic-]
0.01s setup    test.py::test[schema-row_spec_with_default_values-]
0.01s setup    test.py::test[aggregate-group_by_gs_grouping-]
0.01s teardown test.py::test[order_by-order_with_null-default.txt]
0.01s setup    test.py::test[window-current/session_incompat_sort-]
0.01s call     test.py::test[pg-select_common_type_unionall-]
0.01s setup    test.py::test[aggr_factory-avg_if-default.txt]
0.01s teardown test.py::test[join-from_in_front_join-]
0.01s setup    test.py::test[aggregate-list_with_fold_map-]
0.01s setup    test.py::test[weak_field-hor_join_with_mix_weak_access-]
0.01s setup    test.py::test[window-win_multiaggr_list-default.txt]
0.01s setup    test.py::test[pg-name-]
0.01s setup    test.py::test[select-autoextract_source_value-default.txt]
0.01s setup    test.py::test[order_by-changed_sort_with_limit-]
0.01s setup    test.py::test[ytflow-file-]
0.01s setup    test.py::test[join-left_join_right_pushdown_no_opt-]
0.01s setup    test.py::test[pg-tpcds-q27-default.txt]
0.01s call     test.py::test[union_all-union_all_with_discard_into_result_ansi-default.txt]
0.01s setup    test.py::test[pg-select_common_type_unionall-]
0.01s setup    test.py::test[aggr_factory-min_by-default.txt]
0.01s setup    test.py::test[produce-reduce_lambda-]

(222 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test.py::test[aggregate-group_by_expr_alias_on_subexp-] - AssertionError: Command
/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_6d2dgdsi/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_y7kkoplo/Input.yqlrun.txt 
 finished with exit code 1, stderr:

b"Failed to execute query, reason:\nRequest finished with status: PRECONDITION_FAILED\nIssues:\n<main>: Warning: Type annotation, code: 1030\n    <main>:6:1: Warning: At function: RemovePrefixMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject\n        <main>:9:4: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember\n            <main>:10:38: Warning: At function: %\n                <main>:10:38: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107\n<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:36.448356Z Query execution failed\n"

log file:
2025-10-24T16:19:35.610172Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823718738477062:2072];send_to=[0:7307199536658146131:7762515];
2025-10-24T16:19:35.610195Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-24T16:19:35.681379Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-24T16:19:35.684874Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-24T16:19:35.735944Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-24T16:19:35.735976Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-24T16:19:35.737080Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-24T16:19:35.745181Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
2025-10-24T16:19:35.753526Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976715657, at schemeshard: 72057594046644480
2025-10-24T16:19:35.917859Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-24T16:19:36.189602Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444962:2302], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.189632Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.189752Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444972:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.189774Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.239805Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976715658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
2025-10-24T16:19:36.248682Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033444996:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.248715Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.248745Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033445001:2309], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.248751Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823723033445003:2310], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.248758Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:36.249582Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-10-24T16:19:36.255616Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823723033445005:2311], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715659 completed, doublechecking }
2025-10-24T16:19:36.321141Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823723033445056:2358] txid# 281474976715660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-24T16:19:36.444652Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:678: SelfId: [1:7564823723033445095:2318], TxId: 281474976715661, task: 1. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:19:36.243724Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. InternalError: PRECONDITION_FAILED DEFAULT_ERROR: { <main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type }.
2025-10-24T16:19:36.445281Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823723033445096:2319], TxId: 281474976715661, task: 2. Ctx: { TraceId : kqprun-2025-10-24T16:19:36.243724Z.  CheckpointId : .  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823723033445092:2305], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
2025-10-24T16:19:36.445334Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823723033445098:2320], TxId: 281474976715661, task: 3. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:19:36.243724Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823723033445092:2305], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
2025-10-24T16:19:36.446165Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2981: SessionId: ydb://session/3?node_id=1&id=ODJmNzYyNmMtNmE0NjdjYmQtYTc3M2JiYy1jMWRkMDFkYg==, ActorId: [1:7564823723033444994:2305], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:19:36.243724Z, Create QueryResponse for error on request, msg:
FAILED test.py::test[aggregate-list_with_fold_map-] - AssertionError: Command
/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_tgnunvms/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_xndz4k28/Input.yqlrun.txt 
 finished with exit code 1, stderr:

b'Failed to execute query, reason:\nRequest finished with status: INTERNAL_ERROR\nIssues:\n<main>:6:14: Warning: It is not recommended to directly access s-expressions functions via YQL::\nThis mechanism is mostly intended for temporary workarounds or internal testing purposes, code: 4510\n<main>: Fatal: Execution, code: 1060\n    <main>:5:5: Error: At function: KqpProgram, At lambda\n        <main>:20:6: Error: At function: FromFlow, At function: ToFlow, At function: WideFromBlocks, At function: DqPhyHashCombine, At function: WideToBlocks, At function: WideToBlocks, At function: WideToBlocks\n            <main>:20:6: Error: Type List<Int64> is not supported in Block mode\n    <main>: Fatal: Detected a type error after initial validation, code: 1\n    <main>:5:5: Error: Peephole optimization failed for KQP transaction\n    <main>: Fatal: yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h:324  Cast(): requirement IsValid() failed, code: 1\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:19:50.826038Z Query execution failed\n'

log file:
2025-10-24T16:19:48.458469Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823772660882555:2151];send_to=[0:7307199536658146131:7762515];
2025-10-24T16:19:48.458505Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-24T16:19:48.509275Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-24T16:19:48.512705Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-24T16:19:48.539233Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
2025-10-24T16:19:48.563114Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-24T16:19:48.563144Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-24T16:19:48.564161Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-24T16:19:48.778787Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-24T16:19:49.459902Z node 1 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-24T16:19:50.586952Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817674:2305], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.586973Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.587042Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817684:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.587047Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.633269Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976710658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
2025-10-24T16:19:50.638757Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817708:2309], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.638786Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.638807Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817713:2312], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.638816Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823781250817715:2313], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.638823Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:19:50.639683Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976710659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-10-24T16:19:50.647488Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823781250817717:2314], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976710659 completed, doublechecking }
2025-10-24T16:19:50.735623Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823781250817768:2365] txid# 281474976710660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-24T16:19:50.822013Z node 1 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [1:7564823781250817785:2318], status: INTERNAL_ERROR, issues: <main>:6:14: Warning: It is not recommended to directly access s-expressions functions via YQL::
This mechanism is mostly intended for temporary workarounds or internal testing purposes, code: 4510
<main>: Fatal: Execution, code: 1060
    <main>:5:5: Error: At function: KqpProgram, At lambda
        <main>:20:6: Error: At function: FromFlow, At function: ToFlow, At function: WideFromBlocks, At function: DqPhyHashCombine, At function: WideToBlocks, At function: WideToBlocks, At function: WideToBlocks
            <main>:20:6: Error: Type List<Int64> is not supported in Block mode
    <main>: Fatal: Detected a type error after initial validation, code: 1
    <main>:5:5: Error: Peephole optimization failed for KQP transaction
    <main>: Fatal: yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h:324  Cast(): requirement IsValid() failed, code: 1
2025-10-24T16:19:50.822137Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2500: SessionId: ydb://session/3?node_id=1&id=MjQ2ODdlOTItY2VlYTg4YmEtZGU5NDUyMmMtYjI5OGViMDQ=, ActorId: [1:7564823781250817706:2308], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:19:50.637062Z, ReplyQueryCompileError, status INTERNAL_ERROR remove tx with tx_id:
FAILED test.py::test[flatten_by-flatten_two_fields-] - AssertionError: Command
/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/tools/kqprun/kqprun --emulate-yt --exclude-linked-udfs --execution-case query --app-config=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_config.conf --scheme-query=/home/runner/.ya/build/build_root/t8x6/0031d5/environment/arcadia/ydb/tests/fq/yt/cfg/kqprun_scheme.sql --result-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/results.txt --script-ast-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/ast.txt --script-plan-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/plan.json --log-file=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/log.txt --udfs-dir=/home/runner/.ya/build/build_root/t8x6/0031d5/yql/essentials/tests/common/test_framework/udfs_deps --result-format full-proto --plan-format json --result-rows-limit 0 --script-query=/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/kqprun_0y53ya04/program.sql --table=yt./Root/plato.Input@/home/runner/.ya/build/build_root/t8x6/0031d5/ydb/tests/fq/yt/kqp_yt_file/part11/test-results/py3test/testing_out_stuff/yql/table_3nwkpzxa/Input.yqlrun.txt 
 finished with exit code 1, stderr:

b"Failed to execute query, reason:\nRequest finished with status: PRECONDITION_FAILED\nIssues:\n<main>: Warning: Type annotation, code: 1030\n    <main>:5:1: Warning: At function: RemovePrefixMembers, At function: RemoveSystemMembers, At function: Sort, At function: PersistableRepr, At function: SqlProject, At function: FlatMap\n        <main>:3:15: Warning: At function: PersistableRepr, At function: SqlProject\n            <main>:3:123: Warning: At function: AssumeColumnOrderPartial, At function: Aggregate, At function: FlatMap, At lambda, At function: AsList, At function: AddMember\n                <main>:3:158: Warning: At function: %\n                    <main>:3:158: Warning: Integral type implicit bitcast: Optional<Uint32> and Int32, code: 1107\n<main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type\n\n\n(yexception) ydb/tests/tools/kqprun/kqprun.cpp:311: 2025-10-24T16:20:10.391425Z Query execution failed\n"

log file:
2025-10-24T16:20:09.034716Z node 1 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7564823863779720590:2077];send_to=[0:7307199536658146131:7762515];
2025-10-24T16:20:09.034911Z node 1 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-24T16:20:09.076927Z node 1 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-24T16:20:09.082123Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-24T16:20:09.137641Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-24T16:20:09.137675Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-24T16:20:09.138765Z node 1 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-24T16:20:09.143555Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
2025-10-24T16:20:09.288287Z node 1 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-24T16:20:10.036546Z node 1 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-24T16:20:10.114459Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688495:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.114488Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.114538Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688505:2304], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.114543Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.152412Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateExternalDataSource, opId: 281474976715658:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp:268)
2025-10-24T16:20:10.157799Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688529:2307], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.157831Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.157850Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688534:2310], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.157857Z node 1 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [1:7564823868074688536:2311], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.157863Z node 1 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-24T16:20:10.158605Z node 1 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715659:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-10-24T16:20:10.163542Z node 1 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [1:7564823868074688538:2312], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715659 completed, doublechecking }
2025-10-24T16:20:10.257470Z node 1 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [1:7564823868074688589:2362] txid# 281474976715660, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 6], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-24T16:20:10.386178Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:678: SelfId: [1:7564823868074688627:2319], TxId: 281474976715661, task: 1. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  DatabaseId : /Root.  Database : /Root. }. InternalError: PRECONDITION_FAILED DEFAULT_ERROR: { <main>: Error: yql/essentials/minikql/computation/mkql_block_impl.cpp:222: ToValueDescr(): requirement ConvertInputArrowType(type, ret) failed. can't get arrow type }.
2025-10-24T16:20:10.386993Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823868074688629:2320], TxId: 281474976715661, task: 2. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  CustomerSuppliedId : .  RunScriptActorId : [0:0:0].  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  DatabaseId : /Root.  Database : /Root. }. Handle abort execution event from: [1:7564823868074688624:2306], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
2025-10-24T16:20:10.387005Z node 1 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [1:7564823868074688630:2321], TxId: 281474976715661, task: 3. Ctx: { CheckpointId : .  TraceId : kqprun-2025-10-24T16:20:10.155961Z.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [1:7564823868074688624:2306], status: PRECONDITION_FAILED, reason: { <main>: Error: Terminate execution }
2025-10-24T16:20:10.387399Z node 1 :KQP_SESSION WARN: kqp_session_actor.cpp:2981: SessionId: ydb://session/3?node_id=1&id=YmNjMjg3MTktM2VhZjdkOWQtYzIwZjliMzUtZTE1Y2M1NjA=, ActorId: [1:7564823868074688527:2306], ActorState: ExecuteState, TraceId: kqprun-2025-10-24T16:20:10.155961Z, Create QueryResponse for error on request, msg:
============= 3 failed, 43 passed, 63 skipped in 114.53s (0:01:54) =============
