Reputation: 301
I am new to snowflake and very naive about spark. Is there any reference or good example how data is written from spark data frame to named stage in snowflake.
Appreciate your help!
Upvotes: 2
Views: 1205
Reputation: 4588
Examples are provided in our API reference, you can read more here
A quick example of writing a DataFrame to Snowflake:
df.write.mode("overwrite").saveAsTable("T")
The stage is used in between but the target is a table.
Upvotes: 3