mirror of https://github.com/buster-so/buster.git
* feat: enhance deploy command with skip_dbt option - Updated the Deploy command to accept a `skip_dbt` boolean argument, allowing users to bypass the dbt run during deployment. - Refactored the deploy function to conditionally execute the dbt command based on the `skip_dbt` flag, improving deployment flexibility. * Refactor query engine and CLI commands for improved functionality and error handling - Updated `get_bigquery_columns` and `get_snowflake_columns` functions to enhance column name handling and ensure proper error reporting. - Modified `get_snowflake_client` to accept a database ID for better connection management. - Enhanced the `deploy` command in the CLI to include additional parameters (`path`, `data_source_name`, `schema`, `env`) for more flexible deployments. - Improved error handling and reporting in the `deploy` function, including detailed summaries of deployment errors and successful file processing. - Updated `get_model_files` to accept a directory path and added checks for file existence, enhancing robustness. - Adjusted model file structures to include schema information and refined the upload process to handle optional parameters more effectively. These changes collectively improve the usability and reliability of the query engine and deployment process. * Update dataset DDL generation to include optional YML file content - Modified `generate_sql_agent` to append optional YML file content to dataset DDL - Ensures more comprehensive dataset representation during SQL agent generation - Handles cases where YML file might be present or absent gracefully |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
buster_project.yml |
README.md
buster-cli
A CLI tool for creating and managing your semantic model in Buster.
This tool is two-way compatible with your dbt projects as well. We like dbt and think its a great tool,
Installation
TODO
How does it work?
You can imagine Buster as a layer on top of your dbt project that allows you to create and manage semantic models.
Quick Start
- Obtain your Buster API key. You can create one here.
Initialize your project by running:
buster init
This command will go through the following steps:
- Authenticate with your Buster API key.
- Checks to see if you have an existing dbt project. If you do, you will be prompted to use the existing project or create a new one.
- If you choose to use the existing project, Buster will use the existing project to create semantic model files.