Skip to content

Commit

Permalink
CI: add tests for new CLI table render
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Dec 10, 2024
1 parent 3131774 commit 2d2f6c8
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 1 deletion.
1 change: 1 addition & 0 deletions deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ tzdata 1.0.1 240904 3ba592a
! Do not change the separator that splits this desc from the data
This file should contain one line per package with a version lock.
You can find proper values for each dep on https://repo.manticoresearch.com
ou can find proper values for each dep on https://repo.manticoresearch.com
2 changes: 2 additions & 0 deletions manual/Creating_a_table/Data_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1933,6 +1933,8 @@ Float vector attributes can be used in k-nearest neighbor searches; see [KNN sea

** Currently, `float_vector` fields can only be utilized in KNN search within real-time tables and the data type is not supported in any other functions or expressions, nor is it supported in plain tables. **

** Keep in mind that the `float_vector` data type is not compatible with the [Auto schema](../Data_creation_and_modification/Adding_documents_to_a_table/Adding_documents_to_a_real-time_table.md#Auto-schema) mechanism. **

<!-- intro -->
##### SQL:
<!-- request SQL -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ POST /insert
{
"table":"products",
"id":0,
"doc":
"doc":
{
"title" : "Yellow bag"
}
Expand Down Expand Up @@ -269,6 +269,8 @@ If you attempt to INSERT multiple rows with different, incompatible value types
* uint -> bigint -> float (this may cause some precision loss)
* string -> text

The auto schema mechanism does not support creating [KNN](../../Searching/KNN.md#Configuring-a-table-for-KNN-search) tables, so you cannot insert `float_vector` data into an automatically created table. If you still want to store `float_vector` values in a regular table, you can insert them using the same syntax as for JSON data.

Also, the following formats of dates will be recognized and converted to timestamps while all other date formats will be treated as strings:
- `%Y-%m-%dT%H:%M:%E*S%Z`
- `%Y-%m-%d'T'%H:%M:%S%Z`
Expand Down
Loading

0 comments on commit 2d2f6c8

Please sign in to comment.