Skip to content

Commit

Permalink
Remove unnecessary connection methods. (databricks#7)
Browse files Browse the repository at this point in the history
Removes unnecessary connection methods.
  • Loading branch information
ueshin authored Nov 2, 2021
1 parent 0eb782a commit 114bf0d
Show file tree
Hide file tree
Showing 25 changed files with 66 additions and 1,102 deletions.
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

0 comments on commit 114bf0d

Please sign in to comment.