Skip to content

feat: tier support in sql

Alexander Kurdakov requested to merge kusancho/tier into main

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

Edited by Alexander Kurdakov

Merge request reports