Skip to content

Commit

Permalink
fix(ingest): unfreeze bigquery/snowflake column dataclass (#6921)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate authored Jan 9, 2023
1 parent f085ec2 commit 9f20a23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger: logging.Logger = logging.getLogger(__name__)


@dataclass(frozen=True, eq=True)
@dataclass
class BigqueryColumn(BaseColumn):
field_path: str
is_partition_column: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _id_prefix_as_str(self) -> str:
return f"{self.database}.{self.schema}.{self.name}"


@dataclass(frozen=True, eq=True)
@dataclass
class SnowflakeColumn(BaseColumn):
character_maximum_length: Optional[int]
numeric_precision: Optional[int]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from datahub.ingestion.source.sql.sql_common import SQLAlchemyConfig, SQLAlchemySource


@dataclass(frozen=True, eq=True)
@dataclass
class BaseColumn:
name: str
ordinal_position: int
Expand Down

0 comments on commit 9f20a23

Please sign in to comment.