Editing files in uses Code Editor. You can edit a variety of file types, and when you edit .sql or .py files you can then link these to your SQL Script and Python Pushdown components in your orchestration pipelines to run those scripts. Code Editor is powered by the Monaco Editor, which also powers Visual Studio Code and other editors across the web. Code Editor supports basic syntax colorization and works with the command palette in .Documentation Index
Fetch the complete documentation index at: https://docs.maia.ai/llms.txt
Use this file to discover all available pages before exploring further.
Video example
Create files to edit
The following file types can be created within and then edited in Code Editor:- .sql
- .py
- In the Files panel, click the + icon.
- Choose what file to create:
- Python script (.py)
- SQL script (.sql)
Edit files
If the repository you have connected to a project contains any of the following files, you can edit them in Code Editor:- .sql
- .py
- .yaml (including the shared-pipelines.yaml file)
- .csv
- .md
- .txt
- .sc
- .js
- .css
- .xml
- .html
We are working to add support for editing .json files.
All the file types in this list can be imported to and exported from .
Rename, move, and delete files
You can rename, move, and delete any files in your project.Using variables in the code editor
Snowflake
| Applies to | Note |
|---|---|
| Code written inside the SQL Script component. | Supports both existing variable code ${variable} and Snowflake variable syntax. |
| Code written inside the SQL transformation component. | Supports the existing variable code ${variable}. |
| Code written inside SQL script files. | Only Snowflake variable syntax is supported. |
| Code written inside the Python Pushdown component or Python script files. | Only Python variable syntax is supported. |
Databricks
| Applies to | Note |
|---|---|
| Code written inside the SQL Script component. | Supports both existing variable code ${variable} and Databricks variable syntax. |
| Code written inside the SQL transformation component. | Supports the existing variable code ${variable}. |
| Code written inside SQL script files. | Only Databricks variable syntax is supported. |
| Code written inside Python script files. | Only Python variable syntax is supported. |
Amazon Redshift
| Applies to | Note |
|---|---|
| Code written inside the SQL Script component. | Supports the existing variable code ${variable}. |
| Code written inside the SQL transformation component. | Supports the existing variable code ${variable}. |
| Code written inside SQL script files. | Variables not supported. Coming soon. |
| Code written inside Python script files. | Only Python variable syntax is supported. |
Command palette
Designer
Using the command palette, presscmd + k (Mac) or CTRL + k (Windows) to activate the command palette in . Type the name of the file you wish to open and then press Enter. Alternatively, activate the command palette by clicking the magnifying glass (search) in the top-left.
Monaco Editor
Using the Monaco Editor command palette, pressfn + F1 (Mac) or F1 (Windows) to access all command palette actions available in Monaco Editor-powered editors.