Manage Snowflake Feature Store as code using the snow feature CLI
Declarative Feature Store is now GA in Snowflake. Define entities and feature views in YAML or Python and perform safe deployments using the snow feature CLI with plan-and-apply.
What changed
The Declarative Feature Store workflow in Snowflake is now generally available (GA). This release allows you to define Feature Store resources as local YAML or Python files and manage them using an Infrastructure as Code (IaC) approach with the snow feature group in Snowflake CLI.
Use cases
Imagine you need to keep dozens of machine learning features synchronized across development, staging, and production environments without executing manual imperative Python scripts. With the declarative approach, you can store your Feature Store definitions in Git repositories, conduct code reviews (PRs), and automate deployments through CI/CD.
You can:
- Version control entities, data sources, feature views, and feature groups as YAML or Python files.
- Preview execution plans (
diff) before applying changes to Snowflake. - Promote changes across environments consistently and safely.
How to use
Install the required library in your environment and initialize the project:
# Install the required package
pip install -U "snowflake-ml-python[feature_store]"
# Create and initialize the local project
mkdir my_feature_store
cd my_feature_store
snow feature init
# Plan and apply changes
snow feature plan
snow feature apply
What happens in this code:
- Installs the
snowflake-ml-pythonlibrary with Feature Store support. - Initializes the project directory structure (
sources/) andmanifest.ymlbased on the active Snowflake connection. - The
snow feature plancommand compares local project files against the remote Snowflake environment and creates a plan diff file. - The
snow feature applycommand applies the planned changes to Snowflake.
To interact with the online service for streaming ingestion and point queries:
# Create online service
snow feature online-service create --producer-role MY_PRODUCER --consumer-role MY_CONSUMER
# Ingest events and query features
snow feature ingest CLICKSTREAM_EVENTS --data events.json
snow feature query USER_CLICK_STATS_DECL --version V1 --keys '[{"USER_ID":"u1"}]'
What happens in this code:
- Sets up the infrastructure to serve low-latency features in a given schema.
- Ingests streaming event payloads formatted as JSON.
- Queries computed feature values for the provided entity keys.
Limitations and requirements
- Requires the
snowflake-ml-python[feature_store]library installed in the same Python interpreter as the Snowflake CLI. - Destructive operations (such as dropping or recreating feature views) are refused by default during
apply. Pass the--destructiveflag to allow them. - Deletion detection for resources omitted in local sources is disabled by default during
plan. Use the--deleteflag to surface missing objects as drop operations.
Using it in a pipeline
Add snow feature plan to your CI/CD Pull Request checks to validate declarative specifications and preview execution plans before merging code. Upon merging to the main branch, trigger snow feature apply in your deployment pipeline to update the target Snowflake environment automatically.
- snowflake ml
- feature store
- snow cli
- infrastructure as code
- devops
October 21, 2026: Declarative Feature Store (General availability)
Summary and explanation generated by AI from the official release note. When in doubt, the platform's official documentation prevails.
Related
- SnowflakePublic Preview
Query Cortex Search Directly in SQL with the CORTEX_SEARCH_RETRIEVE Function
The CORTEX_SEARCH_RETRIEVE table function lets you query Cortex Search services directly in SQL with low latency, supporting single queries or row-by-row lookups with LATERAL joins for RAG and chatbots.
snowflake cortex · cortex search - SnowflakePublic Preview
OpenAI Responses API support in Cortex REST API
You can now call OpenAI models using the OpenAI-compatible Responses API on the Cortex REST API and Cortex AI Gateway within Snowflake's governance perimeter.
snowflake cortex · cortex rest api - SnowflakeGA
SPCS GEN_ARM_G1 and GEN_X64_G1 instances are now GA on Google Cloud
GEN_ARM_G1 and GEN_X64_G1 instance families for Snowpark Container Services are now GA on Google Cloud, offering options from 1 to 28 vCPUs for ARM and x86 workloads.
snowflake · snowpark container services