Open SloNN opened 4 months ago
Паркет не соответствует схеме, у него все поля nulleable, а ACCOUNT_TYPE_ID_INT не должен:
[
{
"PrimitiveType": {
"field_info": {
"name": "ACCOUNT_TYPE_ID_INT",
"repetition": "Optional",
"id": null
},
"logical_type": null,
"converted_type": null,
"physical_type": "Int32"
}
},
{
"PrimitiveType": {
"field_info": {
"name": "ACCOUNT_TYPE_ID_CHAR",
"repetition": "Optional",
"id": null
},
"logical_type": "String",
"converted_type": "Utf8",
"physical_type": "ByteArray"
}
},
{
"PrimitiveType": {
"field_info": {
"name": "NAME",
"repetition": "Optional",
"id": null
},
"logical_type": "String",
"converted_type": "Utf8",
"physical_type": "ByteArray"
}
}
]
@SloNN
Recreated Parquet files, created new one with all Fields marked as not null
pqi schema ACCOUNT_TYPE.parquet
ACCOUNT_TYPE_ID_INT: int32 not null
ACCOUNT_TYPE_ID_CHAR: string not null
NAME: string not null
But I receive the same error
ydb -e grpc://c0fbrdjnem92d2p2q5jn.cluster.testing.ydb.yandex.net:2135 -d /olap-testing-vla-common2/kikimr/apkobzev/test import file parquet ACCOUNT_TYPE.parquet -p gb/ACCOUNT_TYPE
Status: GENERIC_ERROR
Issues:
<main>: Error: Cannot write data into shard 72075186224037975 in longTx ydb://long-tx/01j3fgfsx43fy49nnn861yyyq0?node_id=50001
@iddqdex
Здесь нужно сделать корректное сообщение об ошибке.
Making a request but immediately receive the error
trying to load file ACCOUNT_TYPE.parquet that is attached to the issue. Table structure is:
account_type.tar.gz