UiPath Documentation
activities
latest
false
Actividades de Integration Service
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Get SQL Statement Result

Get SQL Statement Result activity in the Databricks connector.

Compatibilidad de proyectos​

Windows | Multiplataforma

Información general​

Descripciónmétodo APIRuta de la 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.Obtener/statements/{statement_id}

Entrada​

ParámetroDescripciónTipo de datos
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.

Salida​

ParámetroDescripciónTipo de datos
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.Entero
Byte LimitMaximum result size in bytes.Entero
DispositionINLINE returns data in the response; EXTERNAL_LINKS returns presigned URLs. Allowed values: INLINE, EXTERNAL_LINKS.String
FormatoResult 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
EstadoExecution 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
Nota:

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.

  • Compatibilidad de proyectos​
  • Información general​
  • Entrada​
  • Salida​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado