imports:wait#
#rai imports:wait [OPTIONS]
Blocks the terminal until the specified import is complete.
Requires the cdc_admin
application role.
Options#
Option | Type | Description |
---|---|---|
--source | Text | The fully-qualified name of the Snowflake table or view, e.g. <db>.<schema>.<table_or_view> . Multiple sources maybe be specified as a comma-separated list. If missing, you are prompted to select the source interactively. |
--model | Text | The name of the model to import data into. If missing, you are prompted to select the model interactively. |
Example#
Use the imports:wait
command to block the terminal until the specified data stream is fully loaded:
#$ rai imports:wait --model myModel --source MY_DATABASE1.MY_SCHEMA1.MY_TABLE1
See Data Management for more information on data streams.