-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Added ADR document describing why the notion of dialects was introduced in the common sql provider #45456
Conversation
…ects was introduced in the common sql provider
NIce! I think we are also missing user facing docs about what dialects are and how to use them (ADR is for Airflow developers to document our design choices but it's not really a user facing doc) |
Where should I put those user facing docs? Is that under docs/apache-airflow-providers-common-sql? Should I create a new dialects.rst document? |
Yes. You dont have to create new .rst |
…der documentation
@dabla do you intend to add the docs in this PR? |
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.
Sorry, "late to the party" now digging through my backlog... wanted to review earlier.
I really like this and the description.
For the docs build problem I see two options: (1) [not sure if this really works] outside the TOC create a small RST just with the heading and pointing to the other doctree - or (2) if you want to have exactly the same doc in each provider then use a symlink in GIT such that the RST is maintained in one place and each doctree has the same. (As long as we not move the providers the symlink is working in Sphinx)
Can you add some example the the dialects.rst
or is this already contained in the implementation PR?
Will look into it. I also opened another PR related to this which fixes an issue with reserved words and special characters using the dialects. |
Not that found of symlinks, dunno how git will handle those. Aren't http references an option? I saw it's also used within rst. For example (won't exist atm ofc): https://airflow.apache.org/docs/apache-airflow-providers-common-sql/stable/dialects.html |
…l we sort out how to redirect to the common sql provider one
@eladkal I've duplicated the dialects document in each provider, we can sort it out later as you mentioned |
apache#45456) * docs: Added a markdown ADR document describing why the notion of dialects was introduced in the common sql provider * docs: Added reference to the dialects in the Airflow common sql provider documentation * docs: Reformatted the ADR * refactor: Added dialects reference in mssql and postgres provider * refactor: Duplicated dialects.rst to mssql and postgres provider until we sort out how to redirect to the common sql provider one --------- Co-authored-by: David Blain <[email protected]>
apache#45456) * docs: Added a markdown ADR document describing why the notion of dialects was introduced in the common sql provider * docs: Added reference to the dialects in the Airflow common sql provider documentation * docs: Reformatted the ADR * refactor: Added dialects reference in mssql and postgres provider * refactor: Duplicated dialects.rst to mssql and postgres provider until we sort out how to redirect to the common sql provider one --------- Co-authored-by: David Blain <[email protected]>
apache#45456) * docs: Added a markdown ADR document describing why the notion of dialects was introduced in the common sql provider * docs: Added reference to the dialects in the Airflow common sql provider documentation * docs: Reformatted the ADR * refactor: Added dialects reference in mssql and postgres provider * refactor: Duplicated dialects.rst to mssql and postgres provider until we sort out how to redirect to the common sql provider one --------- Co-authored-by: David Blain <[email protected]>
apache#45456) * docs: Added a markdown ADR document describing why the notion of dialects was introduced in the common sql provider * docs: Added reference to the dialects in the Airflow common sql provider documentation * docs: Reformatted the ADR * refactor: Added dialects reference in mssql and postgres provider * refactor: Duplicated dialects.rst to mssql and postgres provider until we sort out how to redirect to the common sql provider one --------- Co-authored-by: David Blain <[email protected]>
Added ADR document describing why the notion of dialects was introduced in the common sql provider.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.