Minimal file uploader CLI for Snowflake internal stage
Project description
bufu - Minimal file uploader CLI for Snowflake stage
bufu
is a minimal file uploader CLI for Snowflake stage.
Important Note: it is not a Snowflake official software.
Install
$ pip install bufu
Configuration
bufu
automatically uses [connections]
section in ~/.snowsql/config
to setup a connection.
To use bufu
, specifying current database, schema and warehouse are mandatory.
Please see "Configuring SnowSQL" document to setup ~/.snowsql/config
file:
https://docs.snowflake.com/en/user-guide/snowsql-config.html#snowsql-config-file
Usage
bufu show
... List up all stages in the current schema
bufu show <stage>
... List up first 100 files in the stage
bufu create <stage>
... Create a stage in the current schema
bufu put <file>
... Create a stage starting with "bufu_" and put the file to the stage
bufu put <file> <schema>
... Put the file to the stage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.