Commit graph

25 commits

Author SHA1 Message Date
Yuriy Dupyn
2784fce410 Merge remote-tracking branch 'origin/main' into interpreter-to-storage-engine 2024-02-05 16:30:02 +01:00
Jindřich Moravec
ad061036db Merge branch 'data-sender' into 'main'
Interface for sending responses from interpreter

See merge request x433485/minisql!33
2024-02-05 16:23:48 +01:00
Yuriy Dupyn
3d1a4c9479 initial commit 2024-02-05 16:17:04 +01:00
Jindřich Moravec
b5405d7575 refactor: create trait for writing response from interpreter 2024-02-05 16:14:33 +01:00
Yuriy Dupyn
3076bcd83e Merge branch 'main' into redesign-tables 2024-02-02 19:05:13 +01:00
Jindřich Moravec
6d1af26fa8 refactor: add standalone PgOid type 2024-02-01 22:27:58 +01:00
Yuriy Dupyn
bd3fdb266f First attempt at storage engine 2024-02-01 03:02:12 +01:00
Jindřich Moravec
8fc271695a fix: empty select returns header 2024-01-28 20:45:09 +01:00
Maxim Svistunov
e80beaf160 Add the port and host CLI arguments
Improve args and add them to --help

Remove unnecessary unwraps
2024-01-28 19:58:43 +01:00
Jindřich Moravec
e75ea5d5db feat: add db state persistence 2024-01-28 16:19:21 +01:00
Jindřich Moravec
6bf4e34006 Merge branch 'main' into persistence-2-electric-boogaloo
# Conflicts:
#	Cargo.lock
#	minisql/Cargo.toml
#	minisql/src/internals/row.rs
#	minisql/src/interpreter.rs
#	minisql/src/schema.rs
#	minisql/src/type_system.rs
2024-01-28 15:37:19 +01:00
Jindřich Moravec
5d925290e3 feat: add serde support 2024-01-27 19:02:11 +01:00
Jindřich Moravec
d790337423 chore: cleanup dependencies 2024-01-26 22:16:14 +01:00
Jindřich Moravec
04311ebe48 feat: server improvements 2024-01-26 22:13:46 +01:00
Jindřich Moravec
595b47dc06 Merge remote-tracking branch 'origin/parsing' into server-work
# Conflicts:
#	Cargo.lock
#	minisql/src/interpreter.rs
#	server/Cargo.toml
#	server/src/main.rs
2024-01-26 18:49:22 +01:00
Maxim Svistunov
61c0a34253 Add parsing (incl. validation)
Ensure identifiers start with alphabetical character

Rename parse_variable_name -> parse_column_name

Add DB value parsers and condition parser placeholder

Fix number parser, basic condition parser

Move select parser to select module

Add create statement parser

Move condition parser to common; add delete statement parser

Add drop statement parser

Add insert parser

Add update parser, combine operation parsers into one

Add initial validation, fix compiler warnings

Validation WIP

Allow more spaces in create statement, update TableSchema struct

Add create index parser and validator

Add todo in parse_identifier

Rework the new structure, many other changes
2024-01-26 18:20:45 +01:00
Jindřich Moravec
51ed3bbc5c feat: finish work on server 2024-01-25 23:07:27 +01:00
Jindřich Moravec
f47fd24232 feat: add thiserror annotations to error 2024-01-23 21:02:13 +01:00
Jindřich Moravec
f9fb8f0670 feat: add server cli configuration 2024-01-22 11:18:43 +01:00
Yuriy Dupyn
2549a4dac1 Merge branch 'main' into interpreter 2024-01-08 13:05:43 +01:00
Jindřich Moravec
84d9fa2d50 feat(proto): add example server 2023-12-23 23:40:45 +01:00
Jindřich Moravec
0318169876 feat(proto): add example client 2023-12-23 23:40:31 +01:00
Jindřich Moravec
7185c10979 feat(proto): add proto crate to workspace 2023-12-15 16:41:02 +01:00
Yuriy Dupyn
e0876bb0f1 First attempt at UPDATE 2023-12-11 20:07:04 +01:00
Yuriy Dupyn
ded7faf505 Refine design 2023-10-23 23:27:09 +02:00