-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpile documentation for installation and usage #73
Conversation
…kslabs/remorph into feature/transpile_documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Don't use colors
- try to use https://mermaid.live/ to version-control diagrams in markdown
README.md
Outdated
1. [Introduction](#introduction) | ||
- [Transpile](#transpile) | ||
2. [Environment Setup](#environmentsetup) | ||
3. [How to use Transpile](#howtouse) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not transpile, but remorph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Added separate descriptions for Remorph and Transpile. In the future when Reconcile is added. We can add that time.
README.md
Outdated
Transpile stands out as a comprehensive and versatile SQL transpiler, boasting a robust test suite to ensure reliability. Developed entirely in Python, it not only demonstrates high performance but also highlights syntax errors and provides warnings or raises alerts for dialect incompatibilities based on configurations. | ||
|
||
#### Design Flow: | ||
![transplie_flow](docs/transplie-flow.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace docs/transplie-flow.png
with mermaid diagrams, so that they're version control - https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/. e.g. this is how easy it is
flowchart LR
A --> B
B --> C
C --> D
A --> D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Removed the png file and added mermaid markdown
README.md
Outdated
# <span style="color: #FF5733;" id="introduction"> Introduction </span> | ||
## <span style="color: #007ACC;" id="transpile"> Transpile </span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# <span style="color: #FF5733;" id="introduction"> Introduction </span> | |
## <span style="color: #007ACC;" id="transpile"> Transpile </span> |
don't use HTML tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
README.md
Outdated
|
||
---- | ||
|
||
# <span style="color: #FF5733;" id="environmentsetup"> Environment Setup </span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use normal headers, no colors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
README.md
Outdated
|
||
# <span style="color: #FF5733;" id="environmentsetup"> Environment Setup </span> | ||
|
||
1. **<span style="color: #007ACC;">Databricks Cli - </span>** Ensure that you have the Databricks Command-Line Interface (CLI) installed on your machine. Refer to the installation instructions provided for Linux, MacOS, and Windows, available [here](https://docs.databricks.com/en/dev-tools/cli/install.html#install-or-update-the-databricks-cli). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no colors, use markdown.
1. **<span style="color: #007ACC;">Databricks Cli - </span>** Ensure that you have the Databricks Command-Line Interface (CLI) installed on your machine. Refer to the installation instructions provided for Linux, MacOS, and Windows, available [here](https://docs.databricks.com/en/dev-tools/cli/install.html#install-or-update-the-databricks-cli). | |
1. `Databricks CLI` Ensure that you have the Databricks Command-Line Interface (CLI) installed on your machine. Refer to the installation instructions provided for Linux, MacOS, and Windows, available [here](https://docs.databricks.com/en/dev-tools/cli/install.html#install-or-update-the-databricks-cli). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)). * Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)). * Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)). Dependency updates: * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)). * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)). * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
* Added baseline for Databricks CLI frontend ([#60](#60)). * Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)). * Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)). * Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)). Dependency updates: * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)). * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)). * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
* Added baseline for Databricks CLI frontend ([#60](#60)). * Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)). * Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)). * Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)). Dependency updates: * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)). * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)). * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
* Added baseline for Databricks CLI frontend ([#60](#60)). * Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)). * Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)). * Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)). Dependency updates: * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)). * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)). * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
* Added baseline for Databricks CLI frontend ([databrickslabs#60](databrickslabs#60)). * Added custom Databricks dialect test cases and lateral struct parsing ([databrickslabs#77](databrickslabs#77)). * Extended Snowflake to Databricks functions coverage ([databrickslabs#72](databrickslabs#72), [databrickslabs#69](databrickslabs#69)). * Added `databricks labs remorph transpile` documentation for installation and usage ([databrickslabs#73](databrickslabs#73)). Dependency updates: * Bump sqlglot from 20.8.0 to 20.9.0 ([databrickslabs#83](databrickslabs#83)). * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([databrickslabs#90](databrickslabs#90)). * Bump sqlglot from 20.9.0 to 20.10.0 ([databrickslabs#91](databrickslabs#91)).
Environment Setup
Installation
Usage
related screenshots and gif