-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(integration/fivetran): Fivetran source ingestion integration #14
Conversation
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.
Could you please add a document like we do have in Power BI to mention the concept mapping
@@ -505,6 +506,7 @@ def get_long_description(): | |||
"nifi", | |||
"vertica", | |||
"mode", | |||
"fivetran", |
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.
why is this needed?
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.
Now we added one unit test case on fivetran source
|
||
class SnowflakeDestinationConfig(BaseSnowflakeConfig): | ||
database: str = Field( | ||
default=None, description="The fivetran connector log database." |
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.
Is there any default for the database?
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.
No
Even for log_schema config there is no default hence removing default value
default=None, | ||
description="The destination platform where fivetran connector log tables are dumped.", | ||
) | ||
snowflake_destination_config: Optional[SnowflakeDestinationConfig] = pydantic.Field( |
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.
let's rename it to destination_config
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.
But this config is specific to snowflake destination only.
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.
type is sufficient to understand SnowflakeDestinationConfig
, later we can change it to Union[SnowflakeDestinationConfig|BigQueryDestinationConfig], so let's rename it to destination_config
metadata-ingestion/src/datahub/ingestion/source/fivetran/config.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/fivetran/config.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/fivetran/fivetran.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/fivetran/fivetran_schema.py
Outdated
Show resolved
Hide resolved
default=None, | ||
description="The destination platform where fivetran connector log tables are dumped.", | ||
) | ||
snowflake_destination_config: Optional[SnowflakeDestinationConfig] = pydantic.Field( |
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.
type is sufficient to understand SnowflakeDestinationConfig
, later we can change it to Union[SnowflakeDestinationConfig|BigQueryDestinationConfig], so let's rename it to destination_config
…into fivetran-connector-integration
…into fivetran-connector-integration
@shubhamjagtap639 can we close this PR? |
Yes, I am closing this PR |
Checklist