mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
So far, schema had to be provided via a schema.cql file, a file which contains the CQL definition of the table. This is flexible but annoying at the same time. Many times sstables the tool operates on are located in their table directory in a scylla data directory, where the schema tables are also available. To mitigate this, an alternative method to load the schema from memory was added which works for system tables. In this commit we extend this to work for all kind of tables: by auto-detecting where the scylla data directory is, and loading the schema tables from disk.