riskDatasetLineageWithHttpInfo method

Future<Response> riskDatasetLineageWithHttpInfo(
  1. String name, {
  2. int? version,
})

Show where a version's rows came from, and whether that can still be demonstrated

Shows where a version's rows came from and whether that can still be demonstrated. The answer is MEASURED, not recalled: the plane asks the source the same bounded question again and compares it to the fingerprint taken when the version was built. Anything but exact agreement is reported as drift — the source is fed by a rollup that runs behind the events, so "it holds more now" is the ordinary case and it means re-running the spec would not reproduce this version. An admitted gap is actionable; an unfalsifiable claim is not. IT IS A PRICED, BOUNDED READ, because it is the same statement a materialisation is charged for: an exact distinct-count over up to 400 days of this org's feature surface. It takes the org's ONE source-scan slot, so a tenant looping it spends one scan and not a thousand; it counts against the plane's ceiling, so the fleet's warehouse is bounded too; and it runs under this plane's own deadline rather than the caller's patience.

Note: This method returns the HTTP Response.

Parameters:

  • String name (required): Name is the dataset, from the path.

  • int version: Version is the version to trace. Zero takes the newest published one.

Implementation

Future<Response> riskDatasetLineageWithHttpInfo(String name, { int? version, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/dataset/{name}/lineage'
    .replaceAll('{name}', name);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (version != null) {
    queryParams.addAll(_queryParams('', 'version', version));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}