You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.query(
f"""
CREATE TABLE `{table_name}` (
id Int64 NOT NULL,
value Utf8 NOT NULL,
PRIMARY KEY (id)
)
PARTITION BY HASH(id)
WITH(STORE=COLUMN)
"""
)
# Insert multiple rows
for i in range(100):
self.query(
f"""
UPSERT INTO `{table_name}` (id, value) VALUES ({i}, '');
"""
)
But receives an error
E ydb.issues.BadRequest: message: "Bad request. Table `/Root/insert_table_test_inserts.py.TestYdbInsertsOperations.test_insert_multiple_empty_rows_multiple`. { <main>: Fatal: cannot prepare incoming batch: empty field for non-default column: \'value\' }" issues { message: "cannot prepare incoming batch: empty field for non-default column: \'value\'" } (server_code: 400010)
The text was updated successfully, but these errors were encountered:
Executing test in main version
But receives an error
The text was updated successfully, but these errors were encountered: