File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
- version = "1.4 .0"
14
+ version = "1.5 .0"
Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ def __post_init__(self):
99
99
def type (self ):
100
100
return "hive"
101
101
102
+ @property
103
+ def unique_field (self ) -> str :
104
+ return f"{ self .host } _{ self .schema } _{ self .username } "
105
+
102
106
def _connection_keys (self ):
103
107
return "host" , "schema" , "user"
104
108
Original file line number Diff line number Diff line change 1
- dbt-tests-adapter==1.4 .*
1
+ dbt-tests-adapter==1.5 .*
2
2
pre-commit~=2.21;python_version=="3.7"
3
3
pre-commit~=3.2;python_version>="3.8"
4
4
pytest
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def _get_dbt_core_version():
45
45
46
46
package_name = "dbt-hive"
47
47
# make sure this always matches dbt/adapters/hive/__version__.py
48
- package_version = "1.4 .0"
48
+ package_version = "1.5 .0"
49
49
description = """The Hive adapter plugin for dbt"""
50
50
51
51
dbt_core_version = _get_dbt_core_version ()
@@ -77,6 +77,10 @@ def _get_dbt_core_version():
77
77
"impyla==0.18" ,
78
78
"sqlparams>=3.0.0" ,
79
79
"python-decouple>=3.6" ,
80
+ # pining the protobuf version to 4.x because the dbt-core backports were messed up.
81
+ # more details in https://github.com/dbt-labs/dbt-core/issues/9830.
82
+ # TODO: remove this pin once the above issue and https://github.com/dbt-labs/dbt-core/issues/9724 is resolved.
83
+ "protobuf>=4.0.0,<5" ,
80
84
"kerberos>=1.3.0; platform_system == 'Darwin' or platform_system == 'Linux' " ,
81
85
"winkerberos>=0.9.1; platform_system == 'Windows' " ,
82
86
],
You can’t perform that action at this time.
0 commit comments