UiPath Documentation
activities
latest
false
Activités Integration Service
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Get SQL Statement Result

Get SQL Statement Result activity in the Databricks connector.

Compatibilité du projet​

Windows | Multiplate-forme

Vue d'ensemble (Overview)​

Descriptionméthode APIChemin d'accès à l'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.Obtenir/statements/{statement_id}

Entrée​

ParamètreDescriptionType de données
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.

Sortie​

ParamètreDescriptionType de données
SQL StatementThe SQL statement to execute.string
Warehouse IDID of the SQL warehouse to run the statement on.string
CatalogueCatalog used as the default for the statement.string
SchémaSchema 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.Integer
Byte LimitMaximum result size in bytes.Integer
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
ParamètresNamed parameter markers, for example [{"name":"p","value":"1","type":"INT"}].Tableau
Statement IDServer-assigned statement id; poll with Get Statement.string
État (Status)Execution state: PENDING, RUNNING, SUCCEEDED, FAILED, CANCELED, CLOSED.object
ManifestResult schema, chunk layout and row counts.object
RésultatResult payload; row data is under result.data_array.object
Remarque :

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.

  • Compatibilité du projet​
  • Vue d'ensemble (Overview)​
  • Entrée​
  • Sortie​

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour