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

feat(ingest/bigquery_v2): enable platform instance using project id #8142

Conversation

Khurzak
Copy link
Contributor

@Khurzak Khurzak commented May 29, 2023

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label May 29, 2023
@@ -142,7 +142,7 @@ def cleanup(config: BigQueryV2Config) -> None:
@support_status(SupportStatus.CERTIFIED)
@capability(
SourceCapability.PLATFORM_INSTANCE,
"Not supported since BigQuery project ids are globally unique",
"Configurable platform instance is still not supported. Platform instance is always added using project id value",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment "still not supported" implies to me that it may be supported in the future.

Suggested change
"Configurable platform instance is still not supported. Platform instance is always added using project id value",
"Platform instance is pre-set to the BigQuery project id",

)
get_tables_for_dataset.return_value = iter([bigquery_table])

source_config_dict: Dict[str, Any] = {"project_ids": ["project-id-1"]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should turn off usage and lineage ingestion to prevent any request attempts, but this works for now

@asikowitz asikowitz merged commit 743439c into datahub-project:master Jun 5, 2023
43 of 44 checks passed
@asikowitz
Copy link
Collaborator

Thanks for your contribution!

asikowitz added a commit to asikowitz/datahub that referenced this pull request Jun 8, 2023
asikowitz added a commit to asikowitz/datahub that referenced this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants