Skip to content

Commit

Permalink
DBT-778: Upgrade dbt-core version and dbt-hive adapater version to 1.7 (
Browse files Browse the repository at this point in the history
#149)

* dbt_core_1.7_upgrade

* dbt_core_1.7_upgrade

* DBT-782: Update readme requirement to reflect right version (#150)

* dbt_core_1.7_upgrade

---------

Co-authored-by: Noopur Sharma <[email protected]>
Co-authored-by: niteshy <[email protected]>
  • Loading branch information
3 people authored May 3, 2024
1 parent 5610dd7 commit a135838
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ This code base is now being actively developed and maintained by Cloudera.

### Requirements

Current version of dbt-hive use dbt-core 1.6.*. We are actively working on supporting the next version of dbt-core 1.7
Current version of dbt-hive use dbt-core 1.7.*. We are actively working on supporting the next version of dbt-core 1.8

Python >= 3.8
dbt-core ~= 1.6.*
dbt-core ~= 1.7.*
impyla >= 0.18

### Install
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/hive/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version = "1.6.0"
version = "1.7.0"
3 changes: 1 addition & 2 deletions dbt/adapters/hive/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from dbt.adapters.base.column import Column
from dbt.dataclass_schema import dbtClassMixin
from hologram import JsonDict

Self = TypeVar("Self", bound="HiveColumn")

Expand Down Expand Up @@ -71,7 +70,7 @@ def __repr__(self) -> str:
# table_stats[f'stats:{key}:include'] = True
# return table_stats

def to_column_dict(self, omit_none: bool = True, validate: bool = False) -> JsonDict:
def to_column_dict(self, omit_none: bool = True, validate: bool = False):
original_dict = self.to_dict(omit_none=omit_none)
# If there are stats, merge them into the root of the dict
# original_stats = original_dict.pop('table_stats', None)
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dbt-tests-adapter==1.6.*
dbt-tests-adapter==1.7.*
pre-commit~=2.21;python_version=="3.7"
pre-commit~=3.2;python_version>="3.8"
pytest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _get_dbt_core_version():

package_name = "dbt-hive"
# make sure this always matches dbt/adapters/hive/__version__.py
package_version = "1.6.0"
package_version = "1.7.0"
description = """The Hive adapter plugin for dbt"""

dbt_core_version = _get_dbt_core_version()
Expand Down

0 comments on commit a135838

Please sign in to comment.