UiPath Documentation
activities
latest
false
Integration Service アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Execute a SQL Query

Execute a SQL Query activity in the Databricks connector.

プロジェクトの対応 OS​

Windows | クロスプラットフォーム

概要​

説明API メソッドAPI パス
Run a SQL statement on a Databricks SQL warehouse. Requires warehouse_id and statement; rows come back under result.data_array with column metadata in manifest.schema.POST/statements

入力​

パラメーター説明データ型
SQL Statement *The SQL statement to execute. For example, SELECT * FROM hive_metastore.default.p_order LIMIT 10.string
Warehouse ID *ID of the SQL warehouse to run the statement on. For example, a1b2c3d4e5f6a7b8.string
カタログCatalog used as the default for the statement. For example, main.string
スキーマSchema used as the default for the statement. For example, default.string
Wait TimeoutHow long to wait synchronously, 0s or 5s-50s. Default: 30s.string
On Wait TimeoutCONTINUE returns a statement_id to poll; CANCEL aborts the statement. For long queries, set Wait Timeout to 0s and On Wait Timeout to CONTINUE, then poll with Get SQL Statement Result. Allowed values: CONTINUE, CANCEL. Default: CONTINUE.string
Row LimitMaximum number of rows to return. For example, 1000.integer
Byte LimitMaximum result size in bytes. For example, 10485760.integer
DispositionINLINE returns data in the response; EXTERNAL_LINKS returns presigned URLs. Allowed values: INLINE, EXTERNAL_LINKS. Default: INLINE.string
形式Result serialization format. Allowed values: JSON_ARRAY, ARROW_STREAM, CSV. Default: JSON_ARRAY.string
パラメーターNamed parameter markers, for example [{"name":"p","value":"1","type":"INT"}].配列

* Required parameter.

出力​

パラメーター説明データ型
Statement IDServer-assigned statement id; poll with Get Statement.string
ステータスExecution state: PENDING, RUNNING, SUCCEEDED, FAILED, CANCELED, CLOSED.object
ManifestResult schema, chunk layout and row counts.object
結果Result payload; row data is under result.data_array.object
注:

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.

  • プロジェクトの対応 OS​
  • 概要​
  • 入力​
  • 出力​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得