Skip to content

Commit

Permalink
feat: add value parser and update stats
Browse files Browse the repository at this point in the history
Add new value parsers according to types returned from Pinot.

Updated
query stats.

Added new stat values for v2 engine.

BREAKING CHANGE: Value parser and changed some stat names
  • Loading branch information
SkeLLLa committed Jan 22, 2025
1 parent 8729784 commit e88dc12
Show file tree
Hide file tree
Showing 178 changed files with 4,287 additions and 772 deletions.
4 changes: 2 additions & 2 deletions docs/api/pinot-noir.ebrokererrorcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## EBrokerErrorCode enum

Broker error codes
Broker error codes.

**Signature:**

Expand Down Expand Up @@ -37,7 +37,7 @@ UNKNOWN

</td><td>

Unknown
Unknown.

</td></tr>
</tbody></table>
10 changes: 5 additions & 5 deletions docs/api/pinot-noir.ebrokertransporterrorcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## EBrokerTransportErrorCode enum

Broker error codes
Broker error codes.

**Signature:**

Expand Down Expand Up @@ -37,7 +37,7 @@ INVALID_RESPONSE

</td><td>

Invalid response from pinot
Invalid response from Pinot.

</td></tr>
<tr><td>
Expand All @@ -50,7 +50,7 @@ QUEUE_TOLERANCE_LIMIT

</td><td>

Queue tolerance limit exceded
Queue tolerance limit exceeded.

</td></tr>
<tr><td>
Expand All @@ -63,7 +63,7 @@ TIMEOUT

</td><td>

Timeout
Timeout.

</td></tr>
<tr><td>
Expand All @@ -76,7 +76,7 @@ UNKNOWN

</td><td>

Unknown code
Unknown code.

</td></tr>
</tbody></table>
49 changes: 49 additions & 0 deletions docs/api/pinot-noir.iaggregatestats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [IAggregateStats](./pinot-noir.iaggregatestats.md)

## IAggregateStats interface

Stats for the AGGREGATE operator.

**Signature:**

```typescript
export interface IAggregateStats extends IStageStatsBase
```
**Extends:** [IStageStatsBase](./pinot-noir.istagestatsbase.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[type](./pinot-noir.iaggregatestats.type.md)
</td><td>
</td><td>
'AGGREGATE'
</td><td>
</td></tr>
</tbody></table>
11 changes: 11 additions & 0 deletions docs/api/pinot-noir.iaggregatestats.type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [IAggregateStats](./pinot-noir.iaggregatestats.md) &gt; [type](./pinot-noir.iaggregatestats.type.md)

## IAggregateStats.type property

**Signature:**

```typescript
type: 'AGGREGATE';
```
13 changes: 13 additions & 0 deletions docs/api/pinot-noir.ibrokerresponse.brokerid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [IBrokerResponse](./pinot-noir.ibrokerresponse.md) &gt; [brokerId](./pinot-noir.ibrokerresponse.brokerid.md)

## IBrokerResponse.brokerId property

Broker ID.

**Signature:**

```typescript
brokerId: string;
```
4 changes: 2 additions & 2 deletions docs/api/pinot-noir.ibrokerresponse.exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

## IBrokerResponse.exceptions property

Query exceptions. Will contain the stack trace if there is any exception processing the query.
List of exceptions.

**Signature:**

```typescript
exceptions?: IPinoException[];
exceptions: IPinoException[];
```
Loading

0 comments on commit e88dc12

Please sign in to comment.