Blog — Datalab
From the Lab

Straight from
the lab.

Technical deep-dives into Snowflake AI SQL, data engineering, cloud architecture, and analytics — written by the Datalab team and published on Medium.



Filters

AI_EMBED
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_EMBED

Create vector embeddings from text directly in SQL — the foundation for semantic search, clustering, and recommendation systems inside Snowflake.

Douglas Day·25 Apr 2026
AI_SIMILARITY
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_SIMILARITY

Returns a semantic similarity score between two texts — understands meaning, not just character matches. Ideal for deduplication, search, and classification.

Douglas Day·23 Apr 2026
AI_FILTER
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_FILTER

Evaluate rows against a natural language condition — replace complex LIKE/regex chains with a single intent-driven prompt that returns TRUE or FALSE.

Douglas Day·22 Apr 2026
AI_SUMMARIZE_AGG
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_SUMMARIZE_AGG

Summarise an entire column of text into one result. Works with GROUP BY like COUNT() or SUM() — collapsing many rows into a single AI-generated summary.

Douglas Day·21 Apr 2026
AI_AGG
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_AGG

Reduce a column of text into a single result using a natural language instruction. Unlike AI_SUMMARIZE_AGG, you control exactly what the output looks like.

Douglas Day·21 Apr 2026
AI_TRANSLATE
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_TRANSLATE

Translate text between languages directly in SQL. Supports auto-detection, ISO 639-1 codes, and chains seamlessly with AI_SENTIMENT and AI_CLASSIFY.

Douglas Day·10 Apr 2026
AI_SENTIMENT
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_SENTIMENT

Analyse sentiment — positive, negative, neutral, or mixed — across any text. Pass categories for aspect-based analysis broken down by topic.

Douglas Day·9 Apr 2026
AI_REDACT
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_REDACT

Detect and mask PII automatically — names, emails, phone numbers, SSNs and more — replacing them with category markers like [NAME] and [EMAIL].

Douglas Day·8 Apr 2026
AI_CLASSIFY
snowflake-data-cloudai

Snowflake AI SQL User Guide: AI_CLASSIFY

Classify text into user-defined categories. Supports single-label, multi-label, label descriptions, task descriptions, and few-shot examples.

Douglas Day·6 Apr 2026
Snowflake Interval Data Type
snowflakedata-engineering

Snowflake Interval Data Type

A complete guide to all 13 INTERVAL type variations in Snowflake — year-month and day-time families, precision control, casting, and arithmetic.

Douglas Day·30 Mar 2026
View all articles on Medium →

Share your perspective

Your data journey can inspire others.

Have a story, challenge, or breakthrough to share? We’d love to feature your experience or help you tackle your next big question. Let’s connect and grow together.