Skip to content

Commit

Permalink
add TableLastModifiedMetadata capability enum to impl and specify tim…
Browse files Browse the repository at this point in the history
…eout (#1075)
  • Loading branch information
colin-rogers-dbt committed Jan 21, 2024
1 parent 74f6ba5 commit 1bf1bda
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dbt/adapters/bigquery/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ class BigQueryAdapter(BaseAdapter):
}

_capabilities = CapabilityDict(
{Capability.SchemaMetadataByRelations: CapabilitySupport(support=Support.Full)}
{
Capability.SchemaMetadataByRelations: CapabilitySupport(support=Support.Full),
Capability.TableLastModifiedMetadata: CapabilitySupport(support=Support.Full),
}
)

def __init__(self, config) -> None:
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pytest-csv~=3.0
pytest-dotenv~=0.5.2
pytest-logbook~=1.2
pytest-xdist~=3.3
pytest-timeout~=2.0
pytz~=2023.3
tox~=4.11
types-pytz~=2023.3
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ passenv =
DD_ENV
DD_SERVICE
commands =
bigquery: {envpython} -m pytest {posargs} -vv tests/functional -k "not TestPython" --profile service_account
bigquery: {envpython} -m pytest {posargs} --timeout 600 -vv tests/functional -k "not TestPython" --profile service_account
deps =
-rdev-requirements.txt
-e.
Expand All @@ -48,7 +48,7 @@ passenv =
DD_ENV
DD_SERVICE
commands =
{envpython} -m pytest {posargs} -vv tests/functional -k "TestPython" --profile service_account
{envpython} -m pytest {posargs} --timeout 600 -vv tests/functional -k "TestPython" --profile service_account
deps =
-rdev-requirements.txt
-e.

0 comments on commit 1bf1bda

Please sign in to comment.