fix(ingest): fix lookml platform URN (#2742)

This commit is contained in:
Kevin Hu 2021-06-22 13:55:29 -07:00 committed by GitHub
parent a89094da5b
commit 4ddc4c28be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ class LookMLSource(Source): # pragma: no cover
stamp = AuditStamp(time=sys_time, actor=actor)
schema_metadata = SchemaMetadata(
schemaName=looker_view.view_name,
platform=self.source_config.platform_name,
platform=f"urn:li:dataPlatform:{self.source_config.platform_name}",
version=0,
fields=fields,
primaryKeys=primary_keys,

View File

@ -28,7 +28,7 @@
{
"com.linkedin.pegasus2avro.schema.SchemaMetadata": {
"schemaName": "my_view",
"platform": "looker",
"platform": "urn:li:dataPlatform:looker",
"version": 0,
"created": {
"time": 1615443388000,