-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Implement relations api #727
Merged
Merged
Changes from all commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
b8920b9
wip: remove quotes from schema/table names
drewbanin d6f58b5
update for new integration project model names
drewbanin dbcd124
more model name updates
drewbanin c205dfa
Merge branch 'integration-test-models-reserved-words' into SNOWFLAKE-…
drewbanin 5032d1b
no more quotes!
drewbanin 94502bc
quieter logs
drewbanin ee3406f
many changes to fix broken code, tests
drewbanin b27a374
fix for archival
drewbanin d52058f
fixes for bq
drewbanin 0455ea9
relations api
75286a0
wip; good progress on Relation obj - implementing in materializations
drewbanin c706263
hack for ephemerals; dont include type
drewbanin 83b617c
Merge branch 'development' of github.com:fishtown-analytics/dbt into …
aae580e
wiring up Relation to adapter fns, first pass
e015338
code moved around, defaultrelation written, starting to wire up
57981e0
rippin stuff out
9ecf92d
tests passing(ish)
370012d
query_for_existing ripped out
b2ee678
rename > rename_relation
803f1b7
bigquery, csv
f253261
remove extraneous dbt_project file
107f5ff
merged development
b9c7d92
move types into "api" namespace, fix archival
29f93b9
rip out table_exists
01c7cff
include relations
87adc8a
table / view macros using relations
79da833
fix some tests
82db36b
do not include schema if created as temp table
cadbad5
snowflake fixes
614d067
fix some tests
b7f948a
fix bq relations
a8db16a
bq getting closer
58c2712
archive macros
d4b2516
fixing postgres tests
cea3a43
fix postgres tests
5ce7aa7
Implement relations api dp fix (#729)
drewbanin 1acde56
merged development
a466b81
address code review comments
2f4dcb9
deprecations
cd8df15
fix tests
c1cfc31
make relations hashable for compatibility with existing dbt code
9273e22
Merge branch 'development' of github.com:fishtown-analytics/dbt into …
596e433
rip out deprecations, make api more consistent
f62e47f
merge development
533f5c3
actually fix merge conflict
9fe9ca8
global quoting config
a0dedfa
fix default quoting config in project
909be11
merge development
9a635ca
merged implement-relations-api
4a550e5
relations, fix another merge conflict
ba58e7e
seed + relations
2f54e52
fix unit tests
1c61341
add snowflake quoting off tests
c7f83fd
fix bad merge
396ea65
Merge branch 'implement-relations-api' of github.com:fishtown-analyti…
8694d3f
fix for view --> table model switch
drewbanin 852a0eb
Merge branch 'implement-relations-api' into quote-config
drewbanin 5bafcd6
fix exception code for seed onto view
drewbanin ac62a4d
projects everywhere
8ee8e76
test fixes
dd707c8
switch test, fix schema creation / dropping
e269c25
quote tests properly
8cc3696
spruce up snowflake warning, add link
drewbanin a661512
fix snowflake tests
41aa908
Merge branch 'quote-config' of github.com:fishtown-analytics/dbt into…
126ab23
add already_exists tests
drewbanin e564dee
fix for incremental models, plus test
drewbanin d33ec80
fix unit tests, pep8
da5b82c
Merge pull request #742 from fishtown-analytics/quote-config
cmcarthur 0338a48
merged development
124e14b
self code review
23d2a55
fix project var name from merge conflict
692cc55
pep8
c37ded2
fix relation schemas
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from dbt.adapters.bigquery.impl import BigQueryAdapter | ||
from dbt.adapters.bigquery.relation import BigQueryRelation | ||
|
||
__all__ = [ | ||
BigQueryAdapter, | ||
BigQueryRelation, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this is a good change :)