carto/README.adoc

987 B

<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>