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
Copy file name to clipboardexpand all lines: docs/references/pysdk_api_reference.md
+76-1
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,82 @@ A non-empty string indicating the name of the table, which must adhere to the fo
332
332
Definitions for all table columns as a dictionary. Each key in the dictionary is a column name (`str`), with a corresponding 'value' dictionary defining the column's data type and default value information in key-value pairs:
333
333
334
334
-**Data type** (`"type"`)
335
-
The data type of the column.
335
+
The data type of the column.
336
+
- Numeric:
337
+
-`"int8"`
338
+
-`"int16"`
339
+
-`"int"`/`"int32"`/`"integer"`
340
+
-`"int64"`
341
+
-`"float"`/`"float32"`
342
+
-`"double"`/`"float64"`
343
+
-`"float16"`
344
+
-`"bfloat16"`
345
+
- String: `"varchar"`
346
+
- Dense vector: e.g., `"vector,128,float"`
347
+
-`vector`: The column is a dense vector column.
348
+
- The second item in the string: The dimension of the dense vector.
349
+
- The third item in the string: The element type of the dense vector. Can be:
350
+
-`"int8"`
351
+
-`"int16"`
352
+
-`"int"`/`"int32"`/`"integer"`
353
+
-`"int64"`
354
+
-`"float"`/`"float32"`
355
+
-`"double"`/`"float64"`
356
+
-`"float16"`
357
+
-`"bfloat16"`
358
+
- Sparse vector: e.g., `"sparse,128,float,int"`
359
+
-`sparse`: The column is a sparse vector column.
360
+
- The second item in the string: The dimension of the sparse vector.
361
+
- The third item in the string: The element type of the sparse vector. Can be:
362
+
-`"int8"`
363
+
-`"int16"`
364
+
-`"int"`/`"int32"`/`"integer"`
365
+
-`"int64"`
366
+
-`"float"`/`"float32"`
367
+
-`"double"`/`"float64"`
368
+
-`"float16"`
369
+
-`"bfloat16"`
370
+
- The fourth item in the string: The data type of the sparse vector indices. Can be:
371
+
-`int8`
372
+
-`int16`
373
+
-`int`/`int32`/`integer`
374
+
-`int64`
375
+
- Tensor vector: e.g., `"tensor,4,float"`
376
+
-`tensor`: The column is a tensor column.
377
+
- The second item in the string: The dimension of each vector unit in the tensor.
378
+
- The third item in the string: The element type of the tensors. Can be:
379
+
-`"int8"`
380
+
-`"int16"`
381
+
-`"int"`/`"int32"`/`"integer"`
382
+
-`"int64"`
383
+
-`"float"`/`"float32"`
384
+
-`"double"`/`"float64"`
385
+
-`"float16"`
386
+
-`"bfloat16"`
387
+
- Tensor array: e.g., `"tensorarray,6,float"`
388
+
-`tensorarray`: The column is a tensor-array column.
389
+
- The second item in the string: The dimension of each vector unit in the tensor arrays.
390
+
- The third item in the string: The element type of the tensors. Can be:
391
+
-`"int8"`
392
+
-`"int16"`
393
+
-`"int"`/`"int32"`/`"integer"`
394
+
-`"int64"`
395
+
-`"float"`/`"float32"`
396
+
-`"double"`/`"float64"`
397
+
-`"float16"`
398
+
-`"bfloat16"`
399
+
- Multivector: e.g., `"multivector,128,float"`
400
+
-`multivector`: The column is a multi-vector column.
401
+
- The second item in the string: The dimension of each vector unit.
402
+
- The third item in the string: The element type of the tensors. Can be:
403
+
-`"int8"`
404
+
-`"int16"`
405
+
-`"int"`/`"int32"`/`"integer"`
406
+
-`"int64"`
407
+
-`"float"`/`"float32"`
408
+
-`"double"`/`"float64"`
409
+
-`"float16"`
410
+
-`"bfloat16"`
336
411
-**Default value** (`"default"`)
337
412
The default value for unspecified cells in that column.
0 commit comments