Yuriy Dupyn
8139112934
Make use of indexes
2024-02-04 23:54:22 +01:00
Yuriy Dupyn
2357ea8230
Implement garbage collection without indexes
2024-02-04 21:52:48 +01:00
Yuriy Dupyn
3a50328e51
Merge remote-tracking branch 'origin/redesign-tables' into redesign-tables
2024-02-04 21:10:11 +01:00
Yuriy Dupyn
b64819f28b
Remove unnecessar PhantomData
2024-02-04 21:09:46 +01:00
Jindřich Moravec
59e2759afe
Merge branch 'index-persistency' into 'redesign-tables'
...
Index persistency
See merge request x433485/minisql!31
2024-02-04 21:07:25 +01:00
Jindřich Moravec
28f182c4b1
refactor: remove long uses
2024-02-04 20:52:17 +01:00
Jindřich Moravec
a5c7306b90
tests: index testing
2024-02-04 20:48:10 +01:00
Yuriy Dupyn
82300039fc
Split cursor functionality further into traits. Prep for garbage collection.
2024-02-04 20:45:57 +01:00
Jindřich Moravec
6db62c42d7
feat: index append encoding
2024-02-04 20:20:20 +01:00
Yuriy Dupyn
8fd2d4ebf3
Connect store to indexes
2024-02-04 19:45:38 +01:00
Yuriy Dupyn
f2c17d2e66
Add which columns are indexable to store header
2024-02-04 19:00:50 +01:00
Yuriy Dupyn
4c0f91ad33
Fix indexes types
2024-02-04 18:13:05 +01:00
Yuriy Dupyn
89305b6126
Sketch out indexes in Store
2024-02-04 16:57:19 +01:00
Yuriy Dupyn
dae012daa7
Merge branch 'redesign-tables' into redesign-indexes
2024-02-04 15:49:31 +01:00
Yuriy Dupyn
dac888dc51
Move concrete Cursor definitions on top
2024-02-04 15:46:43 +01:00
Jindřich Moravec
827c25cd69
tests: remove temp file
2024-02-04 15:21:37 +01:00
Jindřich Moravec
a4a29e632b
feat: in-memory index
2024-02-04 15:20:26 +01:00
Maxim Svistunov
9106e23d61
Merge branch 'parsing-TODOs-and-optional' into 'main'
...
Resolve TODOs in parsing and add Optional parsing & validation
See merge request x433485/minisql!29
2024-02-04 15:02:04 +01:00
Maxim Svistunov
a8c9c57231
Remove the ASCII-only check
2024-02-04 14:53:52 +01:00
Yuriy Dupyn
c4f5ac7b70
Fix type-checking option bug
2024-02-04 14:40:36 +01:00
Yuriy Dupyn
da8e2d6771
Remove some unused imports
2024-02-04 14:27:59 +01:00
Yuriy Dupyn
017f34bafa
Remove redundant comment
2024-02-04 14:07:29 +01:00
Maxim Svistunov
6245dba4f0
Parsing and validation for Option
...
Add option type and option value parsers
value->literal in parser, implement Option literal
2024-02-04 14:01:47 +01:00
Maxim Svistunov
de8c6164cf
Resolve TODOs in parsing
...
Return error for queries containing non-ASCII characters
Allow underscores in identifiers
Add a delete statement test with spaces
Remove trailing spaces and semicolons from tests and parsers
Complete the multiple statement parser TODO
2024-02-04 14:01:47 +01:00
Yuriy Dupyn
daa39850f0
Prepare for garbage collection
2024-02-03 23:45:55 +01:00
Yuriy Dupyn
0f98903759
Add file_position to EntryDetailed
2024-02-03 22:54:55 +01:00
Yuriy Dupyn
ff378b1dd8
Add brute-force search
2024-02-03 22:47:29 +01:00
Yuriy Dupyn
a345bf99c6
Fix delete bug
2024-02-03 21:34:50 +01:00
Yuriy Dupyn
3bf04ae2d6
Cleanup
2024-02-03 19:32:50 +01:00
Yuriy Dupyn
2261fe39de
Use new cursors
2024-02-03 19:17:47 +01:00
Yuriy Dupyn
a37c3a5e77
Split Cursor into ReadCursor and WriteCursor
2024-02-03 19:00:00 +01:00
Yuriy Dupyn
53aa5a0127
Attempt at delete
2024-02-03 17:56:08 +01:00
Yuriy Dupyn
3e7e8665fd
Split Store into Store and Cursor
2024-02-03 16:39:40 +01:00
Yuriy Dupyn
dbd2ba9946
Thinking about indexes
2024-02-03 15:48:44 +01:00
Yuriy Dupyn
85ef52dfb4
Renaming
2024-02-02 20:45:18 +01:00
Yuriy Dupyn
3076bcd83e
Merge branch 'main' into redesign-tables
2024-02-02 19:05:13 +01:00
Yuriy Dupyn
28741006e7
Rename cursor ~> file_position
2024-02-02 19:04:51 +01:00
Yuriy Dupyn
5d040f15f5
Merge branch 'optional_values' into 'main'
...
Introduce Optional type
See merge request x433485/minisql!28
2024-02-02 19:04:30 +01:00
Yuriy Dupyn
cac34d95e0
Change entry header. Expand api
2024-02-02 18:27:32 +01:00
Yuriy Dupyn
2f23df1009
Introduce total_count
2024-02-02 15:06:17 +01:00
Yuriy Dupyn
cad4ba8215
Print first n entries
2024-02-02 13:56:37 +01:00
Yuriy Dupyn
700acf5661
Remove unnecessary import
2024-02-01 22:39:08 +01:00
Jindřich Moravec
6d1af26fa8
refactor: add standalone PgOid type
2024-02-01 22:27:58 +01:00
Jindřich Moravec
bdb6a955df
tests: add asserts for the expected byte representation
2024-02-01 21:49:23 +01:00
Jindřich Moravec
12488e23bf
tests: update test case for value stringification
2024-02-01 21:46:26 +01:00
Jindřich Moravec
14d432e817
tests: add cases for nested types
2024-02-01 21:40:05 +01:00
Jindřich Moravec
896d40ab64
feat: encoding of nested option types
2024-02-01 21:22:32 +01:00
Yuriy Dupyn
eb034592fa
Merge branch 'main' into redesign-tables
2024-02-01 19:45:29 +01:00
Yuriy Dupyn
af5490e2dc
Cleanup
2024-02-01 17:14:50 +01:00
Yuriy Dupyn
ae4061980e
white space
2024-02-01 15:51:31 +01:00