Scripting with CoCo
Introduction to Snowflake CoCo CLI
James Cha-Earley
Senior Developer Advocate, Snowflake
Beyond the session
Beyond the session
What a script is
What a script is
What a script is
SQL or Python
SQL or Python
CoCo writes the Python, and you review it
Why the CLI
Scheduled jobs, like a weekly report
A file from marketing
The task: did each promo code pay off?
Ask for a script
CoCo reads the file
CoCo reads the file
CoCo reads the file
Approve, then run
Approve, then run
Running a script approves everything inside it
The result
Next quarter
Next quarter
Run CoCo with cortex exec
Run CoCo with cortex exec
Run CoCo with cortex exec
No session to open, so a script or a schedule can run it
Set the limits first
Set the limits first
Context in the prompt
The full command
A weekly report
A weekly report
A weekly report
The report
Commands from this video
Commands from this video
Commands from this video
Let's practice!
Introduction to Snowflake CoCo CLI
Preparing Video For Download...