
Create a free Snowflake trial account to explore the platform with 30 days and up to $400 US credit, no credit card required, and learn to activate and connect programmatically.
Explore the JSON format—objects, arrays, and scalar values—and map them to Python dictionaries and lists, plus use viewers and validators to probe schema-on-read.
Explore handling JSON in Python by mapping JSON objects to Python dictionaries and arrays, parsing with json loads and dumps, formatting, and accessing nested properties in a store of books.
Explore dynamic json creation and parsing in Snowflake using select with object and array constants, parse_json, and variant data types for robust json handling.
Learn to bulk upload JSON data into Snowflake using the web UI wizard and COPY INTO, including STRIP_OUTER_ARRAY, schema inference, validation, table creation, and unloading.
Discover json transformations in snowflake to query and transform json data, from hierarchical to relational, using flatten, lateral, and array or object manipulation.
Explore Snowflake's JSON manipulation functions, including object_ and array_ operations, object pick, delete, and insert, emphasizing immutability, reconstruction on updates, and parsing controls.
Explore JSON aggregations in Snowflake masterclass hands-on, learn object_agg and array_agg, flatten arrays and objects, and compare array aggregation, list aggregation, and window usage.
Explore JSON transformations in Snowflake using SQL and data frames, including Python and Snowpark approaches, with UDFs, stored procedures, and server-side JSON handling.
Master JSON querying in Snowflake with dot notation and JSONPath equivalents, flatten arrays and objects, and explore explain plans, query profiles, and account-usage JSON metadata for data lineage.
Learn how to generate a json query execution plan with explain plan json and explain json, then convert it to tabular or text formats using a query ID in Snowflake.
Explore how to retrieve and interpret query profiles in Snowflake using the get query operator stats function, including JSON data, execution plans, and execution details.
There is a growing demand on the market today to build and query hybrid relational databases, enhanced with JSON extensions. We used to have separate NoSQL document stores, like MongoDB or Couchbase. But most relational database systems today - including Snowflake - added powerful data types and built-in functions to store and query JSON along tabular data, from SQL. Learn how to properly upload, query and design relational-hierarchical databases, as you will need them more and more in your professional career or your job!
What you will learn
All you need to know about JSON used as a data storage format.
How to design hybrid databases in Snowflake, using tabular data extended with JSON hierarchies.
How to create and manipulate the two complex structures in JSON: OBJECT dictionaries and ARRAY lists.
How to use LATERAL FLATTEN, to explode array elements and key-value pairs into tabular rows.
How to aggregate key-values or row elements into single OBJECT or ARRAY values.
How to create all sorts of simple to complex queries for JSON data in Snowflake.
How to manually enter JSON data into Snowflake tables.
How to upload JSON files into tables, using the STRIP_OUTER_ARRAY option.
How to unload Snowflake table data into a JSON format.
How to switch between tabular and hierarchical topologies, to extract data.
How to use the JSON dot notation, to locate specific elements in the hierarchy.
How to interpret JSON data returned by system functions or as ACCOUNT_USAGE metadata.
How to create custom JSON data profilers and schema on-read extractors.
How to represent in a graphical manner JSON hierarchies.
How to perform JSON transformations with higher-order functions, UDFs or with Snowpark DataFrame.
How to find JSONPath equivalent queries in Snowflake.
How to transpose data between relational and hierarchical representations.
How to convert JSON to JSON, or other hierarchical formats, like YAML and XML.
My credentials for this course
The only world-class expert from Canada selected for their Snowflake Data Superhero program in 2021.
SnowPro Certification SME (Subject Matter Expert) - I helped create many SnowPro exam questions.
Passed five SnowPro certification exams to date, all on the first attempt.
Certified Professional Couchbase Developer - in querying their JSON document stores using SQL.
Expert in many NoSQL databases, including MongoDB and Couchbase JSON document stores.
Professional workplace experience with MongoDB NoSQL JSON document stores since 2012.
Enroll today, and learn how to master everything JSON in Snowflake!
[Disclaimer: We are not affiliated with or endorsed by Snowflake, Inc.]