This documentation is for an older version of GoodData.
Go to the latest version of this article.
CatalogDataSourceService.
scan_sql
scan_sql(
data_source_id: str, sql_request: ScanSqlRequest
) ->
ScanSqlResponse
Analyze SELECT SQL query in a given request.
Return description of SQL result-set as list of column names with GoodData data types and list of example data returned by SELECT query.
Parameters
name | type | description |
---|---|---|
data_source_id | str | Data Source identification string. e.g. "demo" |
sql_request | ScanSqlRequest | SELECT SQL query to analyze |
Returns
type | description |
---|---|
ScanSqlResponse | SELECT query analysis result |