/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ClickhouseFailedQuery */ export interface ClickhouseFailedQuery { /** * query_log event time in RFC3339 UTC. * @type {string} * @memberof ClickhouseFailedQuery */ 'eventTime'?: string; /** * ClickHouse query_id. * @type {string} * @memberof ClickhouseFailedQuery */ 'queryId'?: string; /** * User that ran the query. * @type {string} * @memberof ClickhouseFailedQuery */ 'user'?: string; /** * Current database at execution time. * @type {string} * @memberof ClickhouseFailedQuery */ 'database'?: string; /** * Query text with string and numeric literals and comments masked as ?. * @type {string} * @memberof ClickhouseFailedQuery */ 'query'?: string; /** * ClickHouse exception code. * @type {number} * @memberof ClickhouseFailedQuery */ 'exceptionCode'?: number; /** * Best-effort category such as memory_limit_exceeded, timeout, too_many_parts, readonly, unknown_table or syntax_error. * @type {string} * @memberof ClickhouseFailedQuery */ 'exceptionCategory'?: string; /** * Full exception text. * @type {string} * @memberof ClickhouseFailedQuery */ 'exception'?: string; /** * query_duration_ms before the failure. * @type {number} * @memberof ClickhouseFailedQuery */ 'durationMs'?: number; /** * Memory usage in bytes. * @type {number} * @memberof ClickhouseFailedQuery */ 'memoryUsageBytes'?: number; /** * ClickHouse server host that ran the query. * @type {string} * @memberof ClickhouseFailedQuery */ 'hostName'?: string; } //# sourceMappingURL=clickhouse-failed-query.d.ts.map