Skip to content
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

fix(ingest): moving delta-lake connector to be 3.7+ only #5584

Merged
merged 4 commits into from
Aug 7, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions metadata-ingestion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_long_description():
"data-lake": {*data_lake_base, *data_lake_profiling},
"s3": {*s3_base, *data_lake_profiling},
"delta-lake": {*data_lake_profiling, *delta_lake},
"dbt": {"requests"} | aws_common,
"dbt": {"requests", "cached_property"} | aws_common,
"druid": sql_common | {"pydruid>=0.6.2"},
# Starting with 7.14.0 python client is checking if it is connected to elasticsearch client. If its not it throws
# UnsupportedProductError
Expand Down Expand Up @@ -376,7 +376,6 @@ def get_long_description():
"bigquery-usage",
"clickhouse",
"clickhouse-usage",
"delta-lake",
"druid",
"elasticsearch",
"ldap",
Expand Down Expand Up @@ -415,6 +414,7 @@ def get_long_description():
{
dependency
for plugin in [
"delta-lake",
"feast",
"iceberg",
"lookml",
Expand All @@ -428,6 +428,7 @@ def get_long_description():
{
dependency
for plugin in [
"delta-lake",
"iceberg",
"lookml",
]
Expand Down Expand Up @@ -482,6 +483,7 @@ def get_long_description():
dependency
for plugin in [
"athena",
"delta-lake",
"feast",
"iceberg",
]
Expand Down
4 changes: 2 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from dataclasses import dataclass, field
from datetime import datetime
from enum import Enum
from functools import cached_property
from typing import (
Any,
Callable,
Expand All @@ -21,6 +20,7 @@

import dateutil.parser
import requests
from cached_property import cached_property
from pydantic import BaseModel, root_validator, validator
from pydantic.fields import Field

Expand Down Expand Up @@ -192,7 +192,7 @@ def _any_other_only_set(self, attribute: str) -> bool:
]
return len(other_onlies) != 0

@cached_property
@cached_property # type: ignore
def node_type_emit_decision_cache(self) -> Dict[str, bool]:
node_type_for_field_map = {
"models": "model",
Expand Down