This toolkit helps you edit and develop your SQL efficiently. It provides a simplified experience on developing Flink SQL through intelligent editing features and a smooth integration with user's Flink cluster.
- Syntax highlighting
- Autocomplete
- Documentation for built-in functions
- Categorize by SQL type and connector
- Provide required parameters for "CREATE TABLE" statements
- Press tab to jump to target inputs
- Connect with your local Flink cluster
- Submit file / selected SQL to configured cluster
- Real-time submission feedback in output console
- Flink SQL CLI lifecycle management
- Flink Monitoring Platform
- Refresh the page to get the latest job status
- List Flink jobs and show their status
- List task managers
- Provide external links to Flink Web UI
Currently, the following list of Flink environment are supported:
- Local Flink Clusters
- Flink clusters that lives in your local environment
- Start the SQL client with the following:
./bin/sql-client.sh
Please specify the path to your Flink cluster in settings of this extension.
We will be publishing the extension in VS Code Market Place. More information about installation will be provided in this section once the extension is published.
For now, you can build and run the extension locally by pulling a copy of this repository to your local environment. More instructions in the following section.
You can run the extension locally by following the steps below:
- Download Visual Studio Code
- Have a copy of this github repository in your local
- Open the project with VS Code. Click on "Run Extension" in the "Run" explorer panel in VS Code to run the extension.
After you have downloaded this extension, follow the below steps to set up and start coding.
Before directly submit Flink SQL from our editor, please go to settings to configure the following three fields:
- Flink Dashboard URL
- Flink Package Path
- Command to start Flink SQL Client
The extension provides syntax highlight for files with .flinksql
extensions. Naming the files ending in .flinksql
would give you full access to the functionalities of the extension.
Please refer to the following guide for our contributing guideline: CONTRIBUTING.md
Instructions for developing and testing the extension is documented in this quickstart guide in this repository.