Carto is a Delta Lake schema management tool
Go to file
R Tyler Croy a9f290c92c
Start working on integration tests for updating tables
2023-02-24 21:40:49 -08:00
examples Enable the definition of --from to include a local relative path 2023-02-24 20:34:57 -08:00
src Start working on integration tests for updating tables 2023-02-24 21:40:49 -08:00
tests Start working on integration tests for updating tables 2023-02-24 21:40:49 -08:00
.gitignore Enable the definition of --from to include a local relative path 2023-02-24 20:34:57 -08:00
Cargo.toml Add an integration test for the creation of tables 2023-02-24 21:20:03 -08:00
LICENSE Initial commit 2023-02-17 09:30:56 -08:00
README.adoc Checkpointing some work before switching from one machine to another 2023-02-24 19:32:18 -08:00

README.adoc

<html lang="en"> <head> </head>

carto

Carto is a Delta Lake schema management tool. Using Carto you can turn .yml schema definitions into Delta Lake tables at a location or backend of your choosing.

Note

Carto currently does not handle schema migration, so if the table has already been created, it not be modified when the .yml has been modified.

Running

Command line arguments
Optional arguments:
  -h, --help       Print this very helpful message
  -f, --from FROM  Path which contains yaml table definitions
  -t, --to TO      Destination path to create/migrate the tables
---

.Creating local Delta Tables
[source,bash]

carto -f schemas -t output-tables

== Development

Carto is built in Rust, so assuming you have a modern link:https://rustup.sh[Rust] toolchain installed, you should be able to execute:

.Build the binary
[source,bash]

cargo build

.Run the unit and integration tests
[source,bash]

cargo test


</html>