Container runtime for Streamlit apps in Snowflake Native Apps
You can now run Streamlit apps inside Snowflake Native Apps using a container runtime on Snowpark Container Services.
O que mudou
Container runtime support allows running Streamlit applications inside Snowflake Native Apps using Snowpark Container Services instead of a traditional virtual warehouse. The app runs on a compute pool managed in the consumer account and shares a single instance among all viewers.
Use cases
Imagine you are building a native app and need external Python packages or newer Streamlit versions that are not supported by the default Anaconda channel.
- Install Python packages directly from PyPI or other external package indexes.
- Use recent versions of the Streamlit library, including nightly releases.
- Query consumer data using restricted caller rights for the signed-in viewer.
How to use
In your native app setup script, use the CREATE STREAMLIT command pointing to the code artifacts on the stage.
CREATE OR REPLACE STREAMLIT app_schema.meu_streamlit_container
FROM '/code_artifacts/streamlit'
MAIN_FILE = '/streamlit_app.py';
GRANT USAGE ON SCHEMA app_schema TO APPLICATION ROLE app_public;
GRANT USAGE ON STREAMLIT app_schema.meu_streamlit_container TO APPLICATION ROLE app_public;
What happens in this code:
- The command creates the Streamlit object within the app schema using the files on the stage.
- The main file defined by
MAIN_FILEis used to launch the interface. - Usage privileges are granted to the application public role.
Limitations and requirements
- This feature is in Public Preview.
- Requires creating a compute pool and permissions such as
CREATE COMPUTE POOLandBIND SERVICE ENDPOINTapproved by the consumer. - Using PyPI packages requires an external access integration approved through the app specification.
- streamlit
- native apps
- snowpark container services
- compute pool
- python
September 23, 2026: Container runtime for Streamlit apps in Snowflake Native Apps (Preview)
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- SnowflakeGA
Geração de documentos em PDF, Word e PowerPoint no Snowflake CoWork
O Snowflake CoWork agora gera arquivos PDF, Word, PowerPoint e HTML diretamente de suas análises usando a ferramenta de execução de código do Cortex Agent.
snowflake cowork · cortex agent - SnowflakePublic Preview
Cortex Agent SDK para Python e TypeScript no Snowflake
O Cortex Agent SDK permite criar aplicações que utilizam Cortex Agents e Cortex Code em Python e TypeScript.
cortex agents · python - SnowflakeAtualização
Mensagens de erro mais detalhadas na classificação de dados sensíveis
A view DATA_CLASSIFICATION_LATEST agora traz mensagens de erro específicas e códigos do Snowflake para falhas na classificação.
data governance · trust center