DESCRIBE STREAMLIT¶
Descreve as colunas em um objeto Streamlit.
DESCRIBE pode ser abreviado como DESC.
- Consulte também:
CREATE STREAMLIT, SHOW STREAMLITS, ALTER STREAMLIT, DROP STREAMLIT
Sintaxe¶
DESC[RIBE] STREAMLIT <name>
Parâmetros obrigatórios¶
nameEspecifica o identificador do objeto Streamlit a ser descrito. Se o identificador contiver espaços ou caracteres especiais, toda a cadeia de caracteres deverá ser delimitada por aspas duplas. Os identificadores delimitados por aspas duplas também diferenciam letras maiúsculas de minúsculas.
Requisitos de controle de acesso¶
Se sua função não possuir os objetos na tabela a seguir, sua função deverá ter os privilégios listados sobre esses objetos:
Privilégio |
Objeto |
|---|---|
USAGE |
Objeto Streamlit que você descreve |
Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema.
Para instruções sobre como criar uma função personalizada com um conjunto específico de privilégios, consulte Criação de funções personalizadas.
Para informações gerais sobre concessões de funções e privilégios para executar ações de SQL em objetos protegíveis, consulte Visão geral do controle de acesso.
Notas de uso¶
Para pós-processar a saída deste comando, você pode usar o operador de canal (
->>) ou a função RESULT_SCAN. Ambos os constructos tratam a saída como um conjunto de resultados que você pode consultar.For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows.
When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column
type, specifySELECT "type".You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.
Saída¶
A saída do comando fornece informações sobre um objeto Streamlit nas seguintes colunas:
Coluna |
Descrição |
|---|---|
|
Title of the Streamlit object that displays in Snowsight. |
|
Name of the Streamlit app’s entrypoint file. |
|
Warehouse where queries issued by the Streamlit app are run. |
|
Runtime environment for the Streamlit app, like
|
|
Compute pool where the Streamlit app runs. This is only used for container runtimes and ignored for warehouse runtimes. |
|
ID exclusivo associado ao objeto Streamlit. |
|
Pacotes Python padrão para o aplicativo Streamlit. |
|
Python packages that the user specified in the |
|
List of URLs that the Streamlit app imports. This doesn’t apply to container runtimes. |
|
List of external access integrations associated with the Streamlit object. |
|
List of external access secrets associated with the Streamlit object. |
|
Unique name of the Streamlit object within its schema. |
|
Comment associated with the Streamlit object. |
|
Versão padrão do objeto Streamlit a ser usada quando não há versão ativa. Se o aplicativo ainda não tiver uma versão ativa e o proprietário abrir o aplicativo no Snowsight, essa versão será copiada para a versão ativa. |
|
Name of the default version directory within the Streamlit object’s file system. |
|
Sem suporte e sempre nulo. |
|
Local URI dos arquivos do aplicativo da versão padrão. Este é somente leitura. |
|
Local URI dos arquivos de origem da versão padrão em seu objeto Git. Se o objeto Streamlit não estiver conectado a um objeto Git, isso é nulo. |
|
Hash de commit do Git da versão padrão do objeto Streamlit. Se o objeto Streamlit não estiver conectado a um objeto Git, isso é nulo. |
|
Name of the last version directory within the Streamlit object’s file system. |
|
Sem suporte e sempre nulo. |
|
Local URI dos arquivos do aplicativo da última versão. Este é somente leitura. |
|
Local URI dos arquivos de origem da última versão em seu objeto Git. Se o objeto Streamlit não estiver conectado a um objeto Git, isso é nulo. |
|
Hash de commit do Git da última versão do objeto Streamlit. Se o objeto Streamlit não estiver conectado a um objeto Git, isso é nulo. |
|
Local URI da versão ativa do objeto Streamlit. Este local é legível e gravável. As edições no Snowsight são salvas neste local. Você pode atualizar remotamente um aplicativo ativo copiando arquivos para esse local. |
Para objetos Streamlit criados usando a ROOT_LOCATION Parâmetro, a saída do comando fornece informações nas seguintes colunas:
Coluna |
Descrição |
|---|---|
|
Unique name of the Streamlit object within its schema. |
|
Title of the Stramlit object that displays in Snowsight. |
|
Local dos arquivos do objeto Streamlit. |
|
Caminho para o arquivo de ponto de entrada do aplicativo Streamlit, relativo ao local raiz. |
|
Warehouse where queries issued by the Streamlit app are run. |
|
ID exclusivo associado ao objeto Streamlit. |
|
Default Python packages for the Streamlit app. |
|
Python packages that the user specified in the |
|
Lista de URLs que o aplicativo Streamlit importa. |
|
List of external access integrations associated with the Streamlit object. |
|
List of external access secrets associated with the Streamlit object. |