abundant-apartment-78179
05/02/2023, 7:52 AMrapid-appointment-83078
05/02/2023, 10:18 AMfierce-animal-98957
05/02/2023, 4:26 PMbland-orange-13353
05/03/2023, 9:50 AMcolossal-autumn-78301
05/03/2023, 3:35 PMarray
then in the UI the dataset page becomes white blank
page. And, when we include a struct
in the pdl
, the UI shows the new aspect
as tab
in the dataset but the fields in the struct are not shown.
Examples (note- these pdls are in separate files):
PDLs:
namespace a.b.c
record TestRec{
name: string
desc: optional string
}
record NewAspectRecord {
name: string
isRequired: boolean
description: string
restrictions: optional array[string]
testRec: TestRec
}
the aspect pdl is
namespace a.b.c
@Aspect = {
"name": "newAspect",
"autoRender": true,
"renderSpec": {
"displayType": "tabular", // or properties
"key": "newRecords",
"displayName": "Dataset Consumption Contract"
}
}
record NewAspect {
rules: array[NewAspectRecord]
}
Here, due to `1`: restrictions
in NewAspectRecord
the UI goes blank for the dataset, 2
: due to the testRec
of type TestRec
, the UI is there but TestRec
does not get rendered?
PS: we do add to entity-registry.yaml and build and install works.
Are we doing something wrong?lively-table-90009
05/04/2023, 1:07 AM<http://MY_SCHEMA.MY|MY_SCHEMA.MY>_TABLE
and it returns a list of results when I just want one result. I see that you need the urn
to get a dataset directly. What is the best way to accomplish this?average-lock-95905
05/04/2023, 7:13 AMfrom datahub.ingestion.run.pipeline import Pipeline
from datahub.ingestion.run.pipeline import Pipeline
# The pipeline configuration is similar to the recipe YAML files provided to the CLI tool.
pipeline = Pipeline.create(
{
"source": {
"type": "mysql",
"config": {
"username": "user",
"password": "pass",
"database": "db_name",
"host_port": "localhost:3306",
},
},
"sink": {
"type": "datahub-rest",
"config": {"server": "<http://localhost:8080>"},
},
}
)
# Run the pipeline and report the results.
pipeline.run()
pipeline.pretty_print_summary()
I'm using above code to ingest data into datahub, is there a way to add cloumn description while ingesting the data??proud-dusk-671
05/04/2023, 10:06 AM$ datahub ingest rollback --run-id e25bf8dd-d006-44d5-8b9e-9f7c9e5057af -f
Failed to execute operation
INTERNAL SERVER ERROR
billions-baker-82097
05/04/2023, 4:12 PMalert-piano-20790
05/05/2023, 9:21 AMwide-ghost-47822
05/05/2023, 11:22 AMwide-battery-62896
05/05/2023, 12:14 PMproud-dusk-671
05/05/2023, 12:49 PMdatahub docker quickstart --restore
a. I want to specifically know what happens to my previous data
b. Will datahub reach a bad stateproud-dusk-671
05/05/2023, 12:56 PM2023-05-05 12:52:41,783 [application-akka.actor.default-dispatcher-6] WARN o.e.j.j.spi.PropertyFileLoginModule - Exception starting propertyUserStore /etc/datahub/plugins/frontend/auth/user.props
bulky-scientist-8960
05/05/2023, 2:10 PMicy-kitchen-54364
05/05/2023, 6:42 PMsilly-nest-50341
05/08/2023, 3:22 AMproud-dusk-671
05/08/2023, 4:12 PMEventEnvelope(event_type='EntityChangeEvent_v1', event=EntityChangeEvent({'entityType': 'dataset', 'entityUrn': 'urn:li:dataset:(urn:li:dataPlatform:snowflake,user.l0.company_info,PROD)', 'category': 'TAG', 'operation': 'ADD', 'modifier': 'urn:li:tag:pii', 'parameters': None, 'auditStamp': AuditStampClass({'time': 1683562084007, 'actor': 'urn:li:corpuser:datahub', 'impersonator': None, 'message': None}), 'version': 0, '__parameters_json': {'tagUrn': 'urn:li:tag:pii'}}), meta={'kafka': {'topic': 'PlatformEvent_v1', 'offset': 4415, 'partition': 0}})
cold-london-92205
05/09/2023, 12:22 AM2023-05-09 00:21:10,599 [application-akka.actor.default-dispatcher-9] ERROR auth.sso.oidc.OidcCallbackLogic - Failed to perform post authentication steps. Redirecting to error page.
errror from GMS
2023-05-09 00:21:10,595 [qtp1645547422-24] WARN c.d.a.a.AuthenticatorChain:80 - Authentication chain failed to resolve a valid authentication. Errors: [(com.datahub.authentication.authenticator.DataHubSystemAuthenticator,Failed to authenticate inbound request: Provided credentials do not match known system client id & client secret. Check your configuration values...), (com.datahub.authentication.authenticator.DataHubTokenAuthenticator,Failed to authenticate inbound request: Authorization header missing 'Bearer' prefix.)]
Our configs are based here: https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-google and I can confirm that the values wasnโt updated or changed.
Feedback would be highly appreciated. Thank you!adamant-postman-92176
05/09/2023, 12:24 AMlate-notebook-97260
05/09/2023, 4:58 AMfrom datahub.ingestion.graph.client import DatahubClientConfig, DataHubGraph
from datahub.metadata.schema_classes import SchemaMetadataClass
from datahub.metadata.schema_classes import UpstreamLineageClass
table_urn = "urn:li:dataset:(urn:li:dataPlatform:looker,Revenue_SOX.explore.payments_promos_SOX,PROD)"
graph = DataHubGraph(DatahubClientConfig(server=gms_server , token= datahub_gms_api_token))
current_schema_metadata = graph.get_aspect(
entity_urn=table_urn,
aspect_type=UpstreamLineageClass)
astonishing-father-13229
05/09/2023, 7:41 AMbland-orange-13353
05/09/2023, 9:23 AMbland-orange-13353
05/09/2023, 9:29 AMkind-solstice-88514
05/09/2023, 9:40 AMfast-oxygen-9103
05/10/2023, 2:22 PMmysterious-table-75773
05/11/2023, 9:03 AMdazzling-daybreak-52128
05/11/2023, 3:22 PMaverage-nail-72662
05/11/2023, 4:23 PMfuture-table-91845
05/11/2023, 5:41 PM