Skip to content
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

Remove unnecessary connection methods. #7

Merged
merged 2 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Report a bug or an issue you've found with dbt-spark
about: Report a bug or an issue you've found with dbt-databricks
title: ''
labels: bug, triage
assignees: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Feature request
about: Suggest an idea for dbt-spark
about: Suggest an idea for dbt-databricks
title: ''
labels: enhancement, triage
assignees: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Release
about: Release a new version of dbt-spark
about: Release a new version of dbt-databricks
title: ''
labels: release
assignees: ''
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builds the spark plugin and releases it to GitHub and Pypi
# Builds the Databricks plugin and releases it to GitHub and Pypi
name: Build and Release

on:
Expand Down Expand Up @@ -27,9 +27,9 @@ jobs:
pip install -r dev_requirements.txt
pip install twine wheel setuptools
python setup.py sdist bdist_wheel
pip install dist/dbt-spark-*.tar.gz
pip install dist/dbt_spark-*-py3-none-any.whl
twine check dist/dbt_spark-*-py3-none-any.whl dist/dbt-spark-*.tar.gz
pip install dist/dbt-databricks-*.tar.gz
pip install dist/databricks-*-py3-none-any.whl
twine check dist/databricks-*-py3-none-any.whl dist/dbt-databricks-*.tar.gz

GitHubRelease:
name: GitHub release
Expand Down Expand Up @@ -76,17 +76,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: v${{env.version_number}}
release_name: dbt-spark v${{env.version_number}}
release_name: dbt-databricks v${{env.version_number}}
prerelease: ${{ steps.release_type.outputs.isPrerelease }}
body: |
Tracking [dbt-core v${{env.version_number}}](https://github.com/dbt-labs/dbt/releases/tag/v${{env.version_number}}).

```sh
$ pip install dbt-spark==${{env.version_number}}
# or
$ pip install "dbt-spark[ODBC]==${{env.version_number}}"
# or
$ pip install "dbt-spark[PyHive]==${{env.version_number}}"
$ pip install dbt-databricks==${{env.version_number}}
```

PypiRelease:
Expand Down Expand Up @@ -115,5 +111,5 @@ jobs:
pip install -r dev_requirements.txt
pip install twine wheel setuptools
python setup.py sdist bdist_wheel
twine upload --non-interactive dist/dbt_spark-${{env.version_number}}-py3-none-any.whl dist/dbt-spark-${{env.version_number}}.tar.gz
twine upload --non-interactive dist/dbt_databricks-${{env.version_number}}-py3-none-any.whl dist/dbt-databricks-${{env.version_number}}.tar.gz

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>
<p align="center">
<a href="https://github.com/dbt-labs/dbt-spark/actions/workflows/main.yml">
<img src="https://github.com/dbt-labs/dbt-spark/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/>
<a href="https://github.com/databricks/dbt-databricks/actions/workflows/main.yml">
<img src="https://github.com/databricks/dbt-databricks/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/>
</a>
<a href="https://github.com/dbt-labs/dbt-spark/actions/workflows/integration.yml">
<img src="https://github.com/dbt-labs/dbt-spark/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/>
<a href="https://github.com/databricks/dbt-databricks/actions/workflows/integration.yml">
<img src="https://github.com/databricks/dbt-databricks/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/>
</a>
</p>

Expand All @@ -31,7 +31,7 @@ more information, consult [the docs](https://docs.getdbt.com/docs/profile-spark)

## Reporting bugs and contributing code

- Want to report a bug or request a feature? Let us know on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/dbt-labs/dbt-spark/issues/new)
- Want to report a bug or request a feature? Let us know on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/databricks/dbt-databricks/issues/new)
- Want to help us build dbt? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md)

## Code of Conduct
Expand Down
Loading