-
Notifications
You must be signed in to change notification settings - Fork 3k
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): profiling - Changing profiling defaults #6640
Conversation
metadata-ingestion/src/datahub/ingestion/source/snowflake/snowflake_profiler.py
Outdated
Show resolved
Hide resolved
|
||
|
||
@dataclass | ||
class DetailedProfilerReport(SQLSourceReport): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in general, I want to move towards shorter inheritance hierarchies. This should be DetailedProfilerReportMixin
and should not inherit from SQLSourceReport
, and instead the inheriting classes should inherit from this and SQLSourceReport
metadata-ingestion/src/datahub/ingestion/source/bigquery_v2/bigquery_schema.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/bigquery_v2/bigquery.py
Outdated
Show resolved
Hide resolved
last_altered: datetime | ||
size_in_bytes: int | ||
rows_count: int | ||
columns: List[SqlTableColumn] = field(default_factory=list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👍
last_altered: datetime | ||
comment: str | ||
ddl: str | ||
class BigqueryView(BaseView): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For 100% correctness, this can be changed and the columns field can be removed. However, it's probably good enough as-is so no need to change it
class BigqueryView(BaseView): | |
class BigqueryView(BaseView[BigqueryColumn]): |
Checklist