kanatti / YarDB

An experimental analytics database written in Rust
Apache License 2.0
0 stars 0 forks source link

Flexible Schema for Table #4

Open kanatti opened 6 months ago

kanatti commented 6 months ago

Right now we have a hard-coded schema - id(int), username(string), email(string). Why ? Because we are just starting out and schema was kept simple.

Next step would be to get it flexible.

Open Questions:

  1. How to support create Table? a. Use standard SQL, add a new statement for CREATE TABLE b. Allow REST operation also, that accepts mapping.
  2. How to model a row that is flexible, how does affect persistence?

Performance / Optimization of persistence if not in scope of this change. We will need to redo persistance anyway as part of #3