Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support offline index construction for reference vector
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
test/command/suite/load/index/offline/vector_int32.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
table_create Entries TABLE_NO_KEY | ||
[[0,0.0,0.0],true] | ||
column_create Entries numbers COLUMN_VECTOR Int32 | ||
[[0,0.0,0.0],true] | ||
load --table Entries | ||
[ | ||
["numbers"], | ||
[[18, 19, 20]], | ||
[[100, 200]] | ||
] | ||
[[0,0.0,0.0],2] | ||
table_create Numbers TABLE_PAT_KEY Int32 | ||
[[0,0.0,0.0],true] | ||
column_create Numbers entries_numbers COLUMN_INDEX Entries numbers | ||
[[0,0.0,0.0],true] | ||
select Numbers --output_columns _key | ||
[[0,0.0,0.0],[[[5],[["_key","Int32"]],[18],[19],[20],[100],[200]]]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
table_create Entries TABLE_NO_KEY | ||
column_create Entries numbers COLUMN_VECTOR Int32 | ||
|
||
load --table Entries | ||
[ | ||
["numbers"], | ||
[[18, 19, 20]], | ||
[[100, 200]] | ||
] | ||
|
||
table_create Numbers TABLE_PAT_KEY Int32 | ||
column_create Numbers entries_numbers COLUMN_INDEX Entries numbers | ||
|
||
select Numbers --output_columns _key |