-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: expose query status through EXPLAIN (#3570)
* feat(3208): expose query status through EXPLAIN With this commit the status of any persistent query is exposed as part of the response from `EXPLAIN <some-query-id>;` For example, ``` ksql>EXPLAIN CSAS_ID_0_1; ID : CSAS_ID_0_1 SQL : CREATE STREAM ID_0 WITH (KAFKA_TOPIC='ID_0', PARTITIONS=1, REPLICAS=1) AS SELECT * FROM ORDER_KSTREAM ORDER_KSTREAM EMIT CHANGES; Status : REBALANCING Field | Type ----------------------------------------- ROWTIME | BIGINT (system) ROWKEY | VARCHAR(STRING) (system) ORDERTIME | BIGINT ORDERID | VARCHAR(STRING) ITEMID | VARCHAR(STRING) ORDERUNITS | DOUBLE TIMESTAMP | VARCHAR(STRING) PRICEARRAY | ARRAY<DOUBLE> KEYVALUEMAP | MAP<STRING, DOUBLE> ----------------------------------------- ... ``` Note the new `Status : REBALANCING` part. * chore: fix tests
- Loading branch information
1 parent
c0bfa41
commit 8ef82eb
Showing
8 changed files
with
121 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.