rmoff / vsc-ksql

KSQL Syntax Highlighting for VSCode
16 stars 4 forks source link

Submit ksql to KSQL server #7

Open Riduidel opened 5 years ago

Riduidel commented 5 years ago

As far as I understand, it is currently possible to edit ksql statements with syntax highlight. But how to have ksql statements run in KSQL server ? I would love to have something similar to what VSCode REST client supplies : running ksql queries against currently configured KSQL server and have result shown in preview pane.

dgcaron commented 5 years ago

Hi! This is actually in the works in one the branches in the repository.. It needs some more work, but this will be there soon. You can run a file or a selection and it can either be a command or a select. The results will be shown in the output channel of vscode. Any specific use case you need supported?

Riduidel commented 5 years ago

Well, it is specially useful, to my mind, when crafting a KSQL pipeline : creating the stream the applying some transforms on that stream, all that seems to me to require some iterations, and as a consequence an editor with live results (like REST client does). It would be even better to have results shown in tables (or with rich view)

dgcaron commented 5 years ago

i see, i think we are on the same page here.. i attached a screenshot of my local development environment to provide an example. there is still some work left (like cancelling a running query and making the columns dynamic based on the select.

output-select-statement
Riduidel commented 5 years ago

Exactly what I was thinking about ! (well, maybe having an option to show the JSON tree)

dgcaron commented 5 years ago

5 updated with dynamic columns, still needs cleaning, stopping and unit tests