Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_work_unit_results

get_work_unit_results(**kwargs)

Returns the work units resulting from the query. Work units can be executed in any order and in parallel.

See also: AWS API Documentation

Request Syntax

response = client.get_work_unit_results(
    QueryId='string',
    WorkUnitId=123,
    WorkUnitToken='string'
)
Parameters
  • QueryId (string) --

    [REQUIRED]

    The ID of the plan query operation for which to get results.

  • WorkUnitId (integer) --

    [REQUIRED]

    The work unit ID for which to get results. Value generated by enumerating WorkUnitIdMin to WorkUnitIdMax (inclusive) from the WorkUnitRange in the output of GetWorkUnits .

  • WorkUnitToken (string) --

    [REQUIRED]

    A work token used to query the execution service. Token output from GetWorkUnits .

Return type

dict

Returns

Response Syntax

{
    'ResultStream': StreamingBody()
}

Response Structure

  • (dict) --

    A structure for the output.

    • ResultStream (StreamingBody) --

      Rows returned from the GetWorkUnitResults operation as a stream of Apache Arrow v1.0 messages.

Exceptions

  • LakeFormation.Client.exceptions.InternalServiceException
  • LakeFormation.Client.exceptions.InvalidInputException
  • LakeFormation.Client.exceptions.AccessDeniedException
  • LakeFormation.Client.exceptions.ExpiredException
  • LakeFormation.Client.exceptions.ThrottledException