mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-24 16:44:59 +00:00
fix(ingest): unfreeze bigquery/snowflake column dataclass (#6921)
This commit is contained in:
parent
f085ec225b
commit
9f20a23e00
@ -13,7 +13,7 @@ from datahub.ingestion.source.sql.sql_generic import BaseColumn, BaseTable, Base
|
||||
logger: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass(frozen=True, eq=True)
|
||||
@dataclass
|
||||
class BigqueryColumn(BaseColumn):
|
||||
field_path: str
|
||||
is_partition_column: bool
|
||||
|
@ -45,7 +45,7 @@ class SnowflakeTag:
|
||||
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]
|
||||
|
@ -16,7 +16,7 @@ from datahub.ingestion.api.decorators import (
|
||||
from datahub.ingestion.source.sql.sql_common import SQLAlchemyConfig, SQLAlchemySource
|
||||
|
||||
|
||||
@dataclass(frozen=True, eq=True)
|
||||
@dataclass
|
||||
class BaseColumn:
|
||||
name: str
|
||||
ordinal_position: int
|
||||
|
Loading…
x
Reference in New Issue
Block a user