Skip to content

Commit

Permalink
Remove fishtown-analytics references 😢 (dbt-labs#3801)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Wigley authored Aug 25, 2021
1 parent ab06149 commit 370d3e7
Show file tree
Hide file tree
Showing 26 changed files with 1,154 additions and 1,157 deletions.
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is the docs website code. It comes from the dbt-docs repository, and is gen

## Adapters

dbt uses an adapter-plugin pattern to extend support to different databases, warehouses, query engines, etc. The four core adapters that are in the main repository, contained within the [`plugins`](plugins) subdirectory, are: Postgres Redshift, Snowflake and BigQuery. Other warehouses use adapter plugins defined in separate repositories (e.g. [dbt-spark](https://github.com/fishtown-analytics/dbt-spark), [dbt-presto](https://github.com/fishtown-analytics/dbt-presto)).
dbt uses an adapter-plugin pattern to extend support to different databases, warehouses, query engines, etc. The four core adapters that are in the main repository, contained within the [`plugins`](plugins) subdirectory, are: Postgres Redshift, Snowflake and BigQuery. Other warehouses use adapter plugins defined in separate repositories (e.g. [dbt-spark](https://github.com/dbt-labs/dbt-spark), [dbt-presto](https://github.com/dbt-labs/dbt-presto)).

Each adapter is a mix of python, Jinja2, and SQL. The adapter code also makes heavy use of Jinja2 to wrap modular chunks of SQL functionality, define default implementations, and allow plugins to override it.

Expand Down
2,140 changes: 1,070 additions & 1,070 deletions CHANGELOG.md

Large diffs are not rendered by default.

13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@
<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/actions/workflows/tests.yml?query=branch%3Adevelop">
<img src="https://github.com/dbt-labs/dbt/actions/workflows/tests.yml/badge.svg" alt="GitHub Actions"/>
<a href="https://github.com/dbt-labs/dbt/actions/workflows/main.yml">
<img src="https://github.com/dbt-labs/dbt/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/>
</a>
<a href="https://circleci.com/gh/dbt-labs/dbt/tree/develop">
<img src="https://circleci.com/gh/dbt-labs/dbt/tree/develop.svg?style=svg" alt="CircleCI" />
</a>
<a href="https://dev.azure.com/fishtown-analytics/dbt/_build?definitionId=1&_a=summary&repositoryFilter=1&branchFilter=789%2C789%2C789%2C789">
<img src="https://dev.azure.com/fishtown-analytics/dbt/_apis/build/status/fishtown-analytics.dbt?branchName=develop" alt="Azure Pipelines" />
<a href="https://github.com/dbt-labs/dbt/actions/workflows/integration.yml">
<img src="https://github.com/dbt-labs/dbt/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/>
</a>
</p>

**[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

![dbt architecture](https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-arch.png)
![architecture](https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-arch.png)

## Understanding dbt

Expand Down
2 changes: 1 addition & 1 deletion core/dbt/clients/jinja_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def statically_parse_adapter_dispatch(func_call, ctx, db_wrapper):
package_name = packages_arg.node.node.name
macro_name = packages_arg.node.attr
if (macro_name.startswith('_get') and 'namespaces' in macro_name):
# noqa: https://github.com/fishtown-analytics/dbt-utils/blob/9e9407b/macros/cross_db_utils/_get_utils_namespaces.sql
# noqa: https://github.com/dbt-labs/dbt-utils/blob/9e9407b/macros/cross_db_utils/_get_utils_namespaces.sql
var_name = f'{package_name}_dispatch_list'
# hard code compatibility for fivetran_utils, just a teensy bit different
# noqa: https://github.com/fivetran/dbt_fivetran_utils/blob/0978ba2/macros/_get_utils_namespaces.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
table instead of assuming that the user-supplied {{ updated_at }}
will be present in the historical data.

See https://github.com/fishtown-analytics/dbt/issues/2350
See https://github.com/dbt-labs/dbt/issues/2350
*/ #}
{% set row_changed_expr -%}
({{ snapshotted_rel }}.dbt_valid_from < {{ current_rel }}.{{ updated_at }})
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/create_adapter_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class {title_adapter}Adapter({adapter_cls}):


DBTSPEC_TEMPLATE = '''
# See https://github.com/fishtown-analytics/dbt-adapter-tests
# See https://github.com/dbt-labs/dbt-adapter-tests
# for installation and use
target:
Expand Down
6 changes: 3 additions & 3 deletions plugins/bigquery/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/fishtown-analytics/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>

**[dbt](https://www.getdbt.com/)** (data build tool) enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
Expand All @@ -24,8 +24,8 @@ more information on using dbt with BigQuery, consult [the docs](https://docs.get

## 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/fishtown-analytics/dbt/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/fishtown-analytics/dbt/blob/HEAD/CONTRIBUTING.md)
- 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/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md)

## Code of Conduct

Expand Down
2 changes: 1 addition & 1 deletion plugins/bigquery/dbt/adapters/bigquery/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _connection_keys(self):
def __pre_deserialize__(cls, d: Dict[Any, Any]) -> Dict[Any, Any]:
# We need to inject the correct value of the database (aka project) at
# this stage, ref
# https://github.com/fishtown-analytics/dbt/pull/2908#discussion_r532927436.
# https://github.com/dbt-labs/dbt/pull/2908#discussion_r532927436.

# `database` is an alias of `project` in BigQuery
if 'database' not in d:
Expand Down
2 changes: 1 addition & 1 deletion plugins/bigquery/dbt/adapters/bigquery/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def list_relations_without_caching(
# next page. If that key table gets dropped before we run
# list_relations, then this will 404. So, we avoid this
# situation by making the page size sufficiently large.
# see: https://github.com/fishtown-analytics/dbt/issues/726
# see: https://github.com/dbt-labs/dbt/issues/726
# TODO: cache the list of relations up front, and then we
# won't need to do this
max_results=100000)
Expand Down
6 changes: 3 additions & 3 deletions plugins/postgres/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/fishtown-analytics/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>

**[dbt](https://www.getdbt.com/)** (data build tool) enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
Expand All @@ -24,8 +24,8 @@ more information on using dbt with Postgres, consult [the docs](https://docs.get

## 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/fishtown-analytics/dbt/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/fishtown-analytics/dbt/blob/HEAD/CONTRIBUTING.md)
- 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/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md)

## Code of Conduct

Expand Down
2 changes: 1 addition & 1 deletion plugins/postgres/dbt/adapters/postgres/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PostgresIndexConfig(dbtClassMixin):
def render(self, relation):
# We append the current timestamp to the index name because otherwise
# the index will only be created on every other run. See
# https://github.com/fishtown-analytics/dbt/issues/1945#issuecomment-576714925
# https://github.com/dbt-labs/dbt/issues/1945#issuecomment-576714925
# for an explanation.
now = datetime.utcnow().isoformat()
inputs = (self.columns +
Expand Down
6 changes: 3 additions & 3 deletions plugins/redshift/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/fishtown-analytics/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>

**[dbt](https://www.getdbt.com/)** (data build tool) enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
Expand All @@ -24,8 +24,8 @@ more information on using dbt with Redshift, consult [the docs](https://docs.get

## 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/fishtown-analytics/dbt/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/fishtown-analytics/dbt/blob/HEAD/CONTRIBUTING.md)
- 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/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md)

## Code of Conduct

Expand Down
6 changes: 3 additions & 3 deletions plugins/snowflake/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/fishtown-analytics/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>

**[dbt](https://www.getdbt.com/)** (data build tool) enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
Expand All @@ -24,8 +24,8 @@ more information on using dbt with Snowflake, consult [the docs](https://docs.ge

## 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/fishtown-analytics/dbt/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/fishtown-analytics/dbt/blob/HEAD/CONTRIBUTING.md)
- 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/issues/new).
- Want to help us build dbt? Check out the [Contributing Getting Started Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md)

## Code of Conduct

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': '1.0',
}
]
Expand Down Expand Up @@ -102,7 +102,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'warn-unpinned': True,
}
]
Expand Down Expand Up @@ -131,11 +131,11 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
},
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project.git',
'git': 'https://github.com/dbt-labs/dbt-integration-project.git',
'revision': 'dbt/0.17.0',
}
]
Expand Down Expand Up @@ -163,11 +163,11 @@ def packages_config(self):
'packages': [
{

'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'config-version-2-deps'
},
{
'git': 'https://github.com/fishtown-analytics/dbt-utils.git',
'git': 'https://github.com/dbt-labs/dbt-utils',
'revision': '0.5.0',
}
]
Expand Down Expand Up @@ -198,7 +198,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
},
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'with-configs-0.17.0',
},
]
Expand Down Expand Up @@ -58,7 +58,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'with-configs-0.17.0',
},
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def packages_config(self):
"local": "./local_dependency",
},
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
},
]
Expand Down
2 changes: 1 addition & 1 deletion test/integration/016_macro_tests/test_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def packages_config(self):
return {
'packages': [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
},
]
Expand Down
4 changes: 2 additions & 2 deletions test/integration/023_exit_codes_test/test_exit_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'dbt/0.17.0',
}
]
Expand All @@ -136,7 +136,7 @@ def packages_config(self):
return {
"packages": [
{
'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
'git': 'https://github.com/dbt-labs/dbt-integration-project',
'revision': 'bad-branch',
},
]
Expand Down
2 changes: 1 addition & 1 deletion test/integration/033_event_tracking_test/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
# return {
# 'packages': [
# {
# 'git': 'https://github.com/fishtown-analytics/dbt-integration-project',
# 'git': 'https://github.com/dbt-labs/dbt-integration-project',
# 'revision': 'dbt/0.17.0',
# },
# ],
Expand Down
2 changes: 1 addition & 1 deletion test/integration/042_sources_test/models/view_model.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{# See here: https://github.com/fishtown-analytics/dbt/pull/1729 #}
{# See here: https://github.com/dbt-labs/dbt/pull/1729 #}

select * from {{ ref('ephemeral_model') }}
2 changes: 1 addition & 1 deletion test/integration/100_rpc_test/sql/generic.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ select
'2021-01-01T12:00:00Z' as str_datetime,

-- this is obviously not a date... but Agate used to think it was!
-- see: https://github.com/fishtown-analytics/dbt/issues/2984
-- see: https://github.com/dbt-labs/dbt/issues/2984
'0010T00000aabbccdd' as str_obviously_not_date
2 changes: 1 addition & 1 deletion test/integration/100_rpc_test/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ def packages_config(self):
return {
# this is config-version 2, but with no upper bound
'packages': [
{'package': 'fishtown-analytics/dbt_utils', 'version': '0.5.0'},
{'package': 'dbt-labs/dbt_utils', 'version': '0.5.0'},
]
}

Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_agate_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_merge_mixed(self):

def test_nocast_string_types(self):
# String fields should not be coerced into a representative type
# See: https://github.com/fishtown-analytics/dbt/issues/2984
# See: https://github.com/dbt-labs/dbt/issues/2984

column_names = ['a', 'b', 'c', 'd', 'e']
result_set = [
Expand Down
4 changes: 2 additions & 2 deletions test/unit/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def test_all_overrides(self):
'local': 'foo',
},
{
'git': '[email protected]:fishtown-analytics/dbt-utils.git',
'git': '[email protected]:dbt-labs/dbt-utils.git',
'revision': 'test-rev'
},
],
Expand Down Expand Up @@ -785,7 +785,7 @@ def test_all_overrides(self):
project.packages,
PackageConfig(packages=[
LocalPackage(local='foo'),
GitPackage(git='[email protected]:fishtown-analytics/dbt-utils.git', revision='test-rev')
GitPackage(git='[email protected]:dbt-labs/dbt-utils.git', revision='test-rev')
]))
str(project) # this does the equivalent of project.to_project_config(with_packages=True)
json.dumps(project.to_project_config())
Expand Down
Loading

0 comments on commit 370d3e7

Please sign in to comment.