Commit Graph

18 Commits

Author SHA1 Message Date
Asdine El Hrychy
6f8c2d2b47 stream: add Columns method 2024-02-20 09:39:14 +04:00
Asdine El Hrychy
fc051f7cf9 db: only strict schemas 2024-02-17 14:27:02 +04:00
Asdine El Hrychy
edcb91d4c5 chore: rename genji to chai 2023-12-02 11:25:56 +04:00
Asdine El Hrychy
d981a577c0 db: introduce row type 2023-12-01 20:39:23 +04:00
Asdine El Hrychy
aa468f2999 sql: improve and fix ALTER TABLE ADD FIELD logic 2023-11-06 21:56:55 +04:00
Asdine El Hrychy
ce7c2a3c60 tx: lock-free catalog updates 2023-11-04 10:26:04 +04:00
Asdine El Hrychy
d5bccbd84d insert: return error if field doesn't exist in strict table. Fixes #472 2023-10-29 20:30:05 +04:00
Asdine El Hrychy
e9439c2895 Add stream.Discard operator 2022-06-27 16:15:18 +08:00
Asdine El Hrychy
9617d1c29b Split stream operators in multiple files 2022-06-19 22:18:01 +04:00
Asdine El Hrychy
f8b184da75 Improve INSERT API 2022-05-16 20:31:46 +04:00
Asdine El Hrychy
9187269128 Use cockroachdb errors 2022-01-22 11:37:00 +04:00
Asdine El Hrychy
1da209b2ac Normalize stream operators naming 2021-12-12 23:53:01 +05:30
Asdine El Hrychy
dc83d082db Renamed SeqScan and PkScan to table.Scan 2021-12-10 11:55:46 +05:30
Asdine El Hrychy
a7309a70c5 Add tree package 2021-12-04 10:51:07 +04:00
Asdine El Hrychy
412d30030d Add support for UNION 2021-09-30 20:47:22 +04:00
Jean Hadrien Chabran
4a6e68439a Refactor to handle errors with internal/errors (#432)
All new error handling code now rely on internal/errors package
which provides a compilation time toggle that enables to capture
stacktraces for easier debugging while developing.

It also comes with a new testutil/assert package which replaces the require
package when it comes to checking or comparing errors and printing the
stack traces if needed.

Finally, the test target of the Makefile uses the debug build tag by default. 
A testnodebug target is also provided for convenience and to make sure no
tests are broken due to not having used the internal/errors or testutil/assert package.

See #431 for more details
2021-08-22 11:47:54 +03:00
Asdine El Hrychy
9918cd6f55 Thread safe statements (#406)
Previously, expressions and params were evaluated
during the planning phase. This change builds the query
plan without evaluating params and expressions
which are then evaluated only during the execution phase.
2021-06-04 10:56:23 +04:00
Asdine El Hrychy
7a98a2025f Move statements into their own package 2021-05-30 12:47:17 +04:00