Sample Usage fixed (#4065)

This commit is contained in:
Ayush Shah 2022-04-12 02:27:18 -07:00 committed by GitHub
parent 1cd4dad5a9
commit 15766e85a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 14 deletions

View File

@ -36,11 +36,14 @@ config = """
{
"source": {
"type": "sample-usage",
"config": {
"database": "warehouse",
"service_name": "bigquery_gcp",
"sample_data_folder": "./examples/sample_data"
}
"serviceName": "sample_data",
"serviceConnection": {
"config": {
"type": "SampleData",
"sampleDataFolder": "./examples/sample_data"
}
},
"sourceConfig": {}
},
"processor": {
"type": "query-parser",
@ -54,21 +57,19 @@ config = """
"filename": "/tmp/sample_usage"
}
},
"bulk_sink": {
"bulkSink": {
"type": "metadata-usage",
"config": {
"filename": "/tmp/sample_usage"
}
},
"metadata_server": {
"type": "metadata-server",
"config": {
"api_endpoint": "http://localhost:8585/api",
"auth_provider_type": "no-auth"
"workflowConfig": {
"openMetadataServerConfig": {
"hostPort": "http://localhost:8585/api",
"authProvider": "no-auth"
}
}
}
"""

View File

@ -1,10 +1,11 @@
{
"source": {
"type": "sample-usage",
"serviceName": "bigquery_gcp",
"serviceName": "sample_data",
"serviceConnection": {
"config": {
"type": "BigQuery"
"type": "SampleData",
"sampleDataFolder": "./examples/sample_data"
}
},
"sourceConfig": {}