This gem involves extracting data from Snowflake, converting it to CSV files, and uploading them to SharePoint. This ensures that data is readily accessible at the chosen SharePoint location for collaboration and reporting. Automation and monitoring ensure data accuracy and timely updates.
Setup Guide
This gem will establish a connection between Snowflake and the Sharepoint location of your choosing. Once the connection is established, the gem will pull the data from each Snowflake table specified in the List Table parameter. The gem will then generate a CSV file for each table data and upload all files to Sharepoint leveraging Microsoft Graph API. The uploaded files will be named Table_currentdate.
To run this integration and connect Snowflake to Sharepoint, you need to specify the parameters below
Snowflake
Server HostRequired. Specify the correct [account identifier] in the server host URL.Token FileRequired. Select the Rest Token file from the drop-down list. Review the KB Article mentioned here on how to generate the token file.WarehouseRequired. Specify the Snowflake warehouse name.DatabaseRequired. Specify the Snowflake database name.SchemaRequired. Specify the Snowflake schema name.List TableRequired. This parameter accepts comma-separated values if you want to pull data from multiple Snowflake tables.TimeoutRequired. Specify the timeout. The default is set to 60.WhereOptional. Specify to filter the data.Batch SizeRequired. The default is set to 200.CompressionOptional. The default is set to false.
Microsoft Graph
Server HostRequired. The default is set tohttps://graph.microsoft.com/v1.0/sites/rootwhen connecting to the default SharePoint instance. Set tohttps://graph.microsoft.com/v1.0/sites/<site-id>when connecting to a specific SharePoint instance.Token FileRequired. Select the Rest Token file from the drop-down list. Review the documentation mentioned here regarding how to generate the token file.Destination FolderRequired. Specify the path to the destination folder ending with the trailing slash.