feat: tier support in sql
Summarize the changes
Added optional "ON TIER("tier_name")" part to CREATE TABLE statement.
Added check that all tables in the query belong to a single tier. Using global tables in mix with sharded from single tier is ok. Multi tier queries is aborted.
Closes #677 (closed)
Ensure that
-
New code is covered by unit and integration tests --- in Picodata picodata!1032 (merged). -
Related issues would be automatically closed with gitlab's closing pattern. -
Public modules are documented (check the rendered version with cargo doc --open
). -
(if PEST grammar is changed) EBNF grammar reflects these changes (check the result with railroad diagram generator.
Next steps
-
Update sbroad submodule in picodata/picodata. -
(if EBNF grammar is changed) create a follow-up issue in picodata/docs --- docs#275 (closed)
Edited by Alexander Kurdakov