UiPath Documentation
activities
latest
false
Atividades do Integration Service
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Get SQL Statement Result

Get SQL Statement Result activity in the Databricks connector.

Compatibilidade do projeto​

Windows | Multiplataforma

Visão geral​

DescriptionMétodo do APICaminho da API
Fetch the status and rows of a previously submitted Databricks SQL statement by statement_id. Poll until status.state is SUCCEEDED; other states are PENDING, RUNNING, FAILED, CANCELED and CLOSED.Obter/statements/{statement_id}

Entrada​

ParâmetroDescriptionTipo de dados
Databricks SQL Statement ID *ID of the Databricks SQL statement to fetch, as returned by Execute a SQL Query. Example: 01f188bb-89a8-116e-821e-50548abbb768.String

* Required parameter.

Saída​

ParâmetroDescriptionTipo de dados
SQL StatementThe SQL statement to execute.String
Warehouse IDID of the SQL warehouse to run the statement on.String
CatálogoCatalog used as the default for the statement.String
EsquemaSchema used as the default for the statement.String
Wait TimeoutHow long to wait synchronously, 0s or 5s-50s.String
On Wait TimeoutCONTINUE returns a statement_id to poll; CANCEL aborts the statement. Allowed values: CONTINUE, CANCEL.String
Row LimitMaximum number of rows to return.Número inteiro
Byte LimitMaximum result size in bytes.Número inteiro
DispositionINLINE returns data in the response; EXTERNAL_LINKS returns presigned URLs. Allowed values: INLINE, EXTERNAL_LINKS.String
FormatResult serialization format. Allowed values: JSON_ARRAY, ARROW_STREAM, CSV.String
ParâmetrosNamed parameter markers, for example [{"name":"p","value":"1","type":"INT"}].Matriz
Statement IDServer-assigned statement id; poll with Get Statement.String
StatusExecution state: PENDING, RUNNING, SUCCEEDED, FAILED, CANCELED, CLOSED.object
ManifestResult schema, chunk layout and row counts.object
ResultadoResult payload; row data is under result.data_array.object
Observação:

You might see variations in the output depending on where you run the activity. In API workflows and Maestro Flow, a single response object containing all the fields is returned. In RPA workflows, not all fields are exposed, but you can still retrieve them from the exposed response object.

  • Compatibilidade do projeto​
  • Visão geral​
  • Entrada​
  • Saída​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades