mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
77 lines
2.3 KiB
Text
77 lines
2.3 KiB
Text
# serializer version: 1
|
|
# name: test_constructor_limit[max 16 auxiliary columns]
|
|
dict({
|
|
'error': 'OperationalError',
|
|
'message': 'vec0 constructor error: More than 16 auxiliary columns were provided',
|
|
})
|
|
# ---
|
|
# name: test_normal[sqlite_master]
|
|
OrderedDict({
|
|
'sql': 'select * from sqlite_master order by name',
|
|
'rows': list([
|
|
OrderedDict({
|
|
'type': 'index',
|
|
'name': 'sqlite_autoindex_v_info_1',
|
|
'tbl_name': 'v_info',
|
|
'rootpage': 3,
|
|
'sql': None,
|
|
}),
|
|
OrderedDict({
|
|
'type': 'index',
|
|
'name': 'sqlite_autoindex_v_vector_chunks00_1',
|
|
'tbl_name': 'v_vector_chunks00',
|
|
'rootpage': 8,
|
|
'sql': None,
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'sqlite_sequence',
|
|
'tbl_name': 'sqlite_sequence',
|
|
'rootpage': 5,
|
|
'sql': 'CREATE TABLE sqlite_sequence(name,seq)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v',
|
|
'tbl_name': 'v',
|
|
'rootpage': 0,
|
|
'sql': 'CREATE VIRTUAL TABLE v using vec0(a float[1], +name text, chunk_size=8)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v_auxiliary',
|
|
'tbl_name': 'v_auxiliary',
|
|
'rootpage': 9,
|
|
'sql': 'CREATE TABLE "v_auxiliary"( rowid integer PRIMARY KEY , value00)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v_chunks',
|
|
'tbl_name': 'v_chunks',
|
|
'rootpage': 4,
|
|
'sql': 'CREATE TABLE "v_chunks"(chunk_id INTEGER PRIMARY KEY AUTOINCREMENT,size INTEGER NOT NULL,validity BLOB NOT NULL,rowids BLOB NOT NULL)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v_info',
|
|
'tbl_name': 'v_info',
|
|
'rootpage': 2,
|
|
'sql': 'CREATE TABLE "v_info" (key text primary key, value any)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v_rowids',
|
|
'tbl_name': 'v_rowids',
|
|
'rootpage': 6,
|
|
'sql': 'CREATE TABLE "v_rowids"(rowid INTEGER PRIMARY KEY AUTOINCREMENT,id,chunk_id INTEGER,chunk_offset INTEGER)',
|
|
}),
|
|
OrderedDict({
|
|
'type': 'table',
|
|
'name': 'v_vector_chunks00',
|
|
'tbl_name': 'v_vector_chunks00',
|
|
'rootpage': 7,
|
|
'sql': 'CREATE TABLE "v_vector_chunks00"(rowid PRIMARY KEY,vectors BLOB NOT NULL)',
|
|
}),
|
|
]),
|
|
})
|
|
# ---
|