PUT /reflection

Updates a specific reflection.

Syntax

PUT /api/v3/reflection/{id}

Request Input

reflection

JSON representation of a reflection
See Reflection for more information.

{
  "entityType": "reflection" [immutable, generated by Dremio],
  "id": String [immutable, generated by Dremio],
  "tag": String [immutable, generated by Dremio],
  "name": String,
  "enabled": Boolean,
  "createdAt": String (RFC3339 date) [immutable, generated by Dremio],
  "updatedAt": String (RFC3339 date) [immutable, generated by Dremio],
  "type": String ["AGGREGATION", "RAW"] [immutable after creation],
  "datasetId": String [immutable after creation],
  "currentSizeBytes": Number [immutable, generated by Dremio],
  "totalSizeBytes": Number [immutable, generated by Dremio],
  "status": Reflection Status [immutable, generated by Dremio],
  "dimensionFields": [Reflection Field With Granularity] [optional, only valid for AGGREGATION],
  "measureFields": [Reflection Field] [optional, only valid for AGGREGATION],
  "displayFields": [Reflection Field] [optional, only valid for RAW],
  "distributionFields": [Reflection Field] [optional],
  "partitionFields": [Reflection Field] [optional],
  "sortFields": [Reflection Field] [optional],
  "partitionDistributionStrategy": String ["CONSOLIDATED", "STRIPED"],
}

Response Output

reflection

JSON representation of a reflection
See Reflection for more information.

{
  "entityType": "reflection" [immutable, generated by Dremio],
  "id": String [immutable, generated by Dremio],
  "tag": String [immutable, generated by Dremio],
  "name": String,
  "enabled": Boolean,
  "createdAt": String (RFC3339 date) [immutable, generated by Dremio],
  "updatedAt": String (RFC3339 date) [immutable, generated by Dremio],
  "type": String ["AGGREGATION", "RAW"] [immutable after creation],
  "datasetId": String [immutable after creation],
  "currentSizeBytes": Number [immutable, generated by Dremio],
  "totalSizeBytes": Number [immutable, generated by Dremio],
  "status": Reflection Status [immutable, generated by Dremio],
  "dimensionFields": [Reflection Field With Granularity] [optional, only valid for AGGREGATION],
  "measureFields": [Reflection Field] [optional, only valid for AGGREGATION],
  "displayFields": [Reflection Field] [optional, only valid for RAW],
  "distributionFields": [Reflection Field] [optional],
  "partitionFields": [Reflection Field] [optional],
  "sortFields": [Reflection Field] [optional],
  "partitionDistributionStrategy": String ["CONSOLIDATED", "STRIPED"],
}

Response Codes

400 - invalid configuration provided.
403 - user does not have permission to edit the reflection (has to be an administrator).
404 - a reflection with the specified id could not be found.


results matching ""

    No results matching ""