Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31063,9 +31063,17 @@ components:
type: string
values:
description: |-
Column values in row order. The element type matches the column's `type`;
for example a `VARCHAR` column carries strings, a `TIMESTAMP` column carries
Unix-millisecond integers. `null` is allowed for missing values.
Column values in row order, one entry per result row. The element type
follows the column's `type`. The following serialization rules should be
taken into account:

- `BIGINT` values are encoded as JSON numbers in the signed 64-bit integer range.
- `DECIMAL` values are encoded as JSON numbers with 64-bit double precision.
- `TIMESTAMP` and `DATE` values are encoded as Unix-millisecond integers; a
`DATE` resolves to midnight UTC.
- `JSON` values are returned as a JSON-encoded string.

`null` is allowed for any column type where a value is missing.
example:
- web-store
- checkout
Expand Down Expand Up @@ -135602,9 +135610,6 @@ paths:
summary: Execute a tabular DDSQL query
tags:
- DDSQL
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/ddsql/query/tabular/fetch:
post:
description: |-
Expand Down Expand Up @@ -135713,9 +135718,6 @@ paths:
summary: Fetch the result of a DDSQL query
tags:
- DDSQL
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/deletion/data/{product}:
post:
description: Creates a data deletion request by providing a query and a timeframe targeting the proper data.
Expand Down
2 changes: 0 additions & 2 deletions packages/datadog-api-client-common/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,6 @@ export function createConfiguration(
"v2.getAllDatasets": false,
"v2.getDataset": false,
"v2.updateDataset": false,
"v2.executeDdsqlTabularQuery": false,
"v2.fetchDdsqlTabularQuery": false,
"v2.cancelDataDeletionRequest": false,
"v2.createDataDeletionRequest": false,
"v2.getDataDeletionRequests": false,
Expand Down
14 changes: 0 additions & 14 deletions packages/datadog-api-client-v2/apis/DDSQLApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ export class DDSQLApiRequestFactory extends BaseAPIRequestFactory {
): Promise<RequestContext> {
const _config = _options || this.configuration;

logger.warn("Using unstable operation 'executeDdsqlTabularQuery'");
if (!_config.unstableOperations["v2.executeDdsqlTabularQuery"]) {
throw new Error(
"Unstable operation 'executeDdsqlTabularQuery' is disabled"
);
}

// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new RequiredError("body", "executeDdsqlTabularQuery");
Expand Down Expand Up @@ -77,13 +70,6 @@ export class DDSQLApiRequestFactory extends BaseAPIRequestFactory {
): Promise<RequestContext> {
const _config = _options || this.configuration;

logger.warn("Using unstable operation 'fetchDdsqlTabularQuery'");
if (!_config.unstableOperations["v2.fetchDdsqlTabularQuery"]) {
throw new Error(
"Unstable operation 'fetchDdsqlTabularQuery' is disabled"
);
}

// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new RequiredError("body", "fetchDdsqlTabularQuery");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@ export class DdsqlTabularQueryColumn {
*/
"type": string;
/**
* Column values in row order. The element type matches the column's `type`;
* for example a `VARCHAR` column carries strings, a `TIMESTAMP` column carries
* Unix-millisecond integers. `null` is allowed for missing values.
* Column values in row order, one entry per result row. The element type
* follows the column's `type`. The following serialization rules should be
* taken into account:
*
* - `BIGINT` values are encoded as JSON numbers in the signed 64-bit integer range.
* - `DECIMAL` values are encoded as JSON numbers with 64-bit double precision.
* - `TIMESTAMP` and `DATE` values are encoded as Unix-millisecond integers; a
* `DATE` resolves to midnight UTC.
* - `JSON` values are returned as a JSON-encoded string.
*
* `null` is allowed for any column type where a value is missing.
*/
"values": Array<any>;

Expand Down
Loading