top of page

Blogs
Snowflake – Loading JSON to table in 3 steps
We frequently come across situations where we get a data source in JSON that we need to load into Snowflake. While Snowflake supports JSON data sources, there are some nuances of how the load process works that can take a while to understand and work around. The result is that we ended up spending more time than we initially planned for the tasks. Hopefully this post helps you get there faster! Recently, I was tasked with loading some JSON from the Open FDA API (https://open.

hassaansaleh
Dec 12, 20206 min read
Time Travel on Snowflake: UNDROP to the Rescue
I really like the Time Travel feature in Snowflake. It is very handy and absurdly simple. If you have incorrectly updated one of your Snowflake tables and if you know that your table was in the correct state at 9 am on Sun, Oct 13, 2019, then you can simply run the query: SELECT * FROM TABLE_NAME AT(TIMESTAMP => 'Sun, 13 Oct 2019 09:00:00 -0800'::TIMESTAMP); where -0800 refers to your time zone in relation to UTC. However, this query will not work if you dropped or replaced t

niket.b
Nov 12, 20192 min read
Snowflake Database Recovery
If you google the word ‘ snowflake ‘ for the first time, you will likely get references to the ‘ it insult ‘ word, Taiwanese dessert, a crystal of snow, etc. Once you find that Snowflake is the hot new data warehouse in the cloud, your subsequent searches are likely to be more productive in terms of digging up documentation . However, complex topics such as “ Snowflake database recovery ” have likely not made it into Stackoverflow or your favorite internet group yet. In t

niket.b
Oct 16, 20194 min read
bottom of page
