Skip to content

Commit

Permalink
Adding
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin-Thakur committed Nov 29, 2023
1 parent 8b03263 commit ade7833
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions dbt/adapters/vertica/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#from dbt.adapters.vertica import VerticaRelation
#from dbt.adapters.vertica import VerticaColumn
from typing import Mapping, Any, Optional, List, Union, Dict

from dbt.adapters.capability import CapabilityDict, CapabilitySupport, Support, Capability
from dbt.adapters.base import available
from dbt.exceptions import (

Expand Down Expand Up @@ -65,6 +67,12 @@ class verticaAdapter(SQLAdapter):
ConstraintType.foreign_key: ConstraintSupport.NOT_ENFORCED,
}

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

@classmethod
def date_function(cls):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _get_dbt_core_version():


package_name = "dbt-vertica"
package_version = "1.6.0"
package_version = "1.7.0"
description = """Official vertica adapter plugin for dbt (data build tool)"""
dbt_core_version = _get_dbt_core_version()

Expand Down Expand Up @@ -110,10 +110,10 @@ def _get_dbt_core_version():
]
},
install_requires=[
'dbt-core==1.6.0',
'dbt-core==1.7.0',
# "dbt-core~={}".format(dbt_core_version),
'vertica-python>=1.1.0',
'dbt-tests-adapter==1.6.0',
'dbt-tests-adapter==1.7.0',
'python-dotenv==0.21.1',
],
classifiers=[
Expand Down

0 comments on commit ade7833

Please sign in to comment.