- Oct 15, 2024
-
-
Georgy Moshkin authored
Add new config::AlterSystemParameters struct which is responsible for definitions of system parameters, their default values and mapping to sbroad type. This is a big step towards moving all system parameters from _pico_property into another system table.
-
- Oct 03, 2024
-
-
Maksim Kaitmazian authored
-
- Oct 01, 2024
-
-
Maksim Kaitmazian authored
Note that after this merge request, we no longer validate whether the format of the created object matches with the schema. Consequently, we do not suppress errors if formats match anymore. Before: ```sql CREATE USER u WITH PASSWORD 'Passw0rd' 1 CREATE USER u WITH PASSWORD 'Passw0rd' 0 CREATE USER u WITH PASSWORD 'DifferentPassw0rd' error: user already exists with different auth method ``` Now: ```sql CREATE USER u WITH PASSWORD 'Passw0rd' 1 CREATE USER u WITH PASSWORD 'Passw0rd' error: user u already exists CREATE USER u WITH PASSWORD 'DifferentPassw0rd' error: user u already exists CREATE USER IF NOT EXISTS u WITH PASSWORD 'DifferentPassw0rd' 0 ```
-
- Sep 26, 2024
-
-
Georgy Moshkin authored
-
- Sep 20, 2024
-
-
Closes #664
-
- Sep 17, 2024
-
-
Maksim Kaitmazian authored
-
Maksim Kaitmazian authored
This commit restores the user name in the ALTER USER command to "Dave" after it was mistakenly changed to "DAVE", a nonexistent user. This change broke the test logic, causing the test to erroneously verify granting privileges to a nonexistent user, rather than confirming that we can grant default privileges. The previous implementation resulted in noop, so this went unnoticed until we started validating user existence. Here is the commit changing Dave to DAVE: https://git.picodata.io/picodata/picodata/picodata/-/commit/ecbb520b559ceb7f2dbe7ae0462c8d062faf1589
-
- Sep 16, 2024
-
-
- Sep 13, 2024
-
-
Maksim Kaitmazian authored
-
Andrey Strochuk authored
-
- Sep 12, 2024
-
-
Maksim Kaitmazian authored
This reverts commit d7e93cfc.
-
- Sep 11, 2024
-
-
Maksim Kaitmazian authored
-
- Sep 10, 2024
-
-
- Sep 09, 2024
-
-
-
Вартан Бабаян authored
-
- Sep 06, 2024
-
-
Georgy Moshkin authored
-
- Aug 30, 2024
-
-
Georgy Moshkin authored
CAS predicates should always contain the current raft term, because this is what's explicitly checked in proc_cas. Note that this will sometimes result in a EntryTermMismatch error because the latest applied entry may have a different term in case the election has started but not finished yet. We could add this check to all the client cas precondition checks, but it's not a big deal, because we handle the situation correctly anyways.
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
Rolled back as in raft log roll back, which can happen when a leader changes to one who doesn't have the entry we persisted. Not to be confused with DdlAbort.
-
- Aug 26, 2024
-
-
EmirVildanov authored
-
EmirVildanov authored
-
EmirVildanov authored
-
Feodor Alexandrov authored
feat: support ALTER SYSTEM. It allows to change whitelisted properties from _pico_property table. Currently, changes affect all tiers. Specifying tier will result in an error. Co-Authored-by:
Dmitry Rodionov <d.rodionov@picodata.io> Co-Authored-by:
Emir Vildanov <e.vildanov@picodata.io>
-
- update sbroad submodule to commit with new normalization rules - update integration tests
-
- Aug 20, 2024
-
-
Georgy Moshkin authored
-
- Aug 14, 2024
-
-
Previously function was ~700 loc. The patch splits out the logic of conversion from ir node to operation. Previously there were two stages, initial validation that constructed intermediate structure and then intermediate structure was transformed into Op potentially several times in case of retries. The patch removes intermediate conversion by direct mapping from ir node to op. It makes reading more convenient since there is no need to jump back and forth between initial checks and actual Op construction. Another benefit is that some checks need to be repeated on each retry since retries originate from conflicts and conflicts change system state. So in newer state operation may no longer make sense. By coupling both operations together there is no way a check can be missed in the retry phase. We still do some cloning here and there. We can probably improve on that by constructing Op once and then adjusting it in place for conflicts but since retries should be rare in practice it shouldnt be a problem. Additionally we do a lot of conversion between SmolStr and String. We need to use SmolStr in more placese inside picodata so we dont need to do that.
-
- Aug 12, 2024
-
-
Maksim Kaitmazian authored
-
-
- Jul 26, 2024
-
-
- Jul 23, 2024
-
-
- Jul 04, 2024
-
-
Arseniy Volynets authored
- when doing global dml sql query, there is error like user don't have access to 'raft_state` space. Fix this by doing parts of pipeline that access system spaces under admin
-
- Jul 01, 2024
-
-
Dmitry Ivanov authored
-
- Jun 28, 2024
-
-
- Jun 26, 2024
-
-
Kurdakov Alexander authored
-
- Jun 21, 2024
-
-
Vartan Babayan authored
-
Arseniy Volynets authored
- update sbroad submodule to commit with helper patches for dml on global tables - add support for sql dml insert/update/delete on global tables. Insert on conflict is not supported yet - Current implementation uses a single batch of dml commands via CAS. No additional predicates are used in CAS, so no isolation level is guaranteed even when query only refers to global tables
-
- Jun 20, 2024
-
-
- Jun 19, 2024
-
-