blue-zoo-89533
10/16/2021, 5:00 PMDataHub CLI version: 0.8.15.7
Python version: 3.8.10 (default, Sep 28 2021, 16:10:42)
[GCC 9.3.0]
blue-zoo-89533
10/16/2021, 6:05 PMdatahub ingest -c bq.yml
[2021-10-16 18:04:11,101] INFO {datahub.cli.ingest_cli:57} - Starting metadata ingestion
[2021-10-16 18:04:14,418] INFO {datahub.cli.ingest_cli:59} - Finished metadata ingestion
Source (bigquery) report:
{'failures': {},
'filtered': [],
'tables_scanned': 5,
'views_scanned': 1,
'warnings': {},
'workunit_ids': [--],
'workunits_produced': 6}
Sink (datahub-rest) report:
{'failures': [], 'records_written': 6, 'warnings': []}
blue-zoo-89533
10/16/2021, 6:10 PMsource:
type: "bigquery"
config:
env: "DEV"
sink:
type: "datahub-rest"
config:
server: "<http://localhost:8080>"
witty-keyboard-20400
10/18/2021, 12:49 PM{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:cg,kv_entity,PROD)") {
schemaMetadata {
fields {
fieldPath
}
}
}
}
The response is an error message:
{
"errors": [
{
"message": "An unknown error occurred.",
"locations": [
{
"line": 5,
"column": 5
}
],
"path": [
"dataset",
"schemaMetadata"
],
"extensions": {
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}
}
],
"data": {
"dataset": {
"schemaMetadata": null
}
}
}
However, my GMS is running fine which I verified using the same dataset urn, but queried on ownership info, which worked.
Could anyone help me understand what is wrong in my query.
Basically I'm looking for GraphQL queries wherein:
1. Given a dataset URN and field path mention, the response gives list of all the field names.
2. field name is specified in query, and the response returns the names of all the datasets which have field with the matching name.
3. Glossary term is specified in the query and the response returns the names of all the fields (and datasets) to which the glossary term is tagged.high-notebook-40979
10/20/2021, 4:46 AMcurl --location --request POST '<http://10.110.120.10:9002/api/v2/graphql>' \
--header 'Cookie: <my_cookie>' \
--data-raw '{
"operationName": "listGroups",
"variables": {
"input": {
"start": 0,
"count": 25
}
},
"query": "query listGroups($input: ListGroupsInput!) {\n listGroups(input: $input) {\n start\n count\n total\n groups {\n urn\n type\n name\n info {\n displayName\n description\n email\n __typename\n }\n memberCount: relationships(\n input: {types: [\"IsMemberOfGroup\"], direction: INCOMING, start: 0, count: 1}\n ) {\n total\n __typename\n }\n __typename\n }\n __typename\n }\n}\n"
}'
Response
{
"errors": [
{
"message": "An unknown error occurred.",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"listGroups"
],
"extensions": {
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}
}
],
"data": {
"listGroups": null
}
}
modern-nail-74015
10/20/2021, 6:53 AMmodern-nail-74015
10/20/2021, 6:55 AMmodern-nail-74015
10/20/2021, 7:09 AMmodern-nail-74015
10/21/2021, 1:19 AMrevocation_endpoint
in my own .well-known/openid-configuration
, but it seems not been called?modern-nail-74015
10/21/2021, 8:26 AMhandsome-football-66174
10/22/2021, 3:49 PMred-pizza-28006
10/26/2021, 6:48 PMbrief-lock-26227
10/29/2021, 4:19 PMgradlew build
is failing:
> Task :docs-website:generateGraphQLDocumentation FAILED
yarn run v1.22.0
$ docusaurus docs:generate:graphql
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module './fp/_baseConvert'
Require stack:
- /Users/patrick/src/datahub/docs-website/node_modules/lodash/fp.js
- /Users/patrick/src/datahub/docs-website/node_modules/wait-on/lib/wait-on.js
- /Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/webpack/plugins/WaitPlugin.js
- /Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/webpack/server.js
- /Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/commands/build.js
- /Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/index.js
- /Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/bin/docusaurus.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._resolveFilename (/Users/patrick/src/datahub/docs-website/node_modules/module-alias/index.js:49:29)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/patrick/src/datahub/docs-website/node_modules/lodash/fp.js:2:18)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/patrick/src/datahub/docs-website/node_modules/lodash/fp.js',
'/Users/patrick/src/datahub/docs-website/node_modules/wait-on/lib/wait-on.js',
'/Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/webpack/plugins/WaitPlugin.js',
'/Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/webpack/server.js',
'/Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/commands/build.js',
'/Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/lib/index.js',
'/Users/patrick/src/datahub/docs-website/node_modules/@docusaurus/core/bin/docusaurus.js'
]
}
error Command failed with exit code 1.
I tried googling this but didn't find a solution. Any suggestions?busy-dusk-4970
10/29/2021, 4:22 PMcurved-magazine-23582
11/01/2021, 1:47 PMview in powerbi
buttons are working for charts, dataflow, datajobs, but not datasets. I am not sure what I am doing wrong here with datasets. Below is snippet of dataset json,
{
"entity": {
"value": {
"com.linkedin.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,Data Architecture,PROD)",
"aspects": [
{
"com.linkedin.common.Ownership": {
"owners": [
{
"owner": "urn:li:corpuser:dataservices",
"type": "DATAOWNER"
}
],
"lastModified": {
"actor": "urn:li:corpuser:dataservices",
"time": 0
}
}
},
{
"com.linkedin.dataset.DatasetProperties": {
"description": "",
"tags": [],
"customProperties": {
"Refreshable": "True"
},
"externalUrl": "<https://app.powerbi.com/groups/a4998c5d-fab6-46b0-99cc-490d3df28981/datasets/91a530c4-d39a-44ac-84b4-08e2942153a7/details>"
}
},
{
"com.linkedin.common.Status": {
"removed": false
}
},
{
"com.linkedin.schema.SchemaMetadata": {
"schemaName": "Data Architecture-schema",
"platform": "urn:li:dataPlatform:powerbi",
"version": 0,
"created": {
"actor": "urn:li:corpuser:dataservices",
"time": 0
},
"lastModified": {
"actor": "urn:li:corpuser:dataservices",
"time": 0
},
"hash": "",
"platformSchema": {
"com.linkedin.schema.KafkaSchema": {
"documentSchema": "{\"type\":\"record\",\"name\":\"Data Architecture-schema\",\"namespace\":\"com.linkedin.dataset\",\"doc\":\"\",\"fields\":[]}"
}
},
"fields": []
}
},
{
"com.linkedin.common.BrowsePaths": {
"paths": [
"/prod/powerbi/samtec - pbi test environment/data architecture"
]
}
}
]
}
}
}
}
faint-hair-91313
11/03/2021, 4:23 PMfaint-hair-91313
11/03/2021, 4:23 PMadamant-van-40260
11/08/2021, 2:59 AMcurved-magazine-23582
11/08/2021, 5:37 AMrefined-apple-6340
11/08/2021, 9:04 PMrefined-apple-6340
11/08/2021, 9:59 PMrefined-apple-6340
11/08/2021, 9:59 PMrefined-apple-6340
11/08/2021, 11:06 PMmysterious-park-53124
11/11/2021, 4:30 AMred-pizza-28006
11/12/2021, 2:48 PMnice-planet-17111
11/15/2021, 2:41 AMbillions-tent-29367
11/17/2021, 12:15 AMrefined-apple-6340
12/01/2021, 7:23 PMrefined-apple-6340
12/02/2021, 2:58 PMrefined-apple-6340
12/03/2021, 7:33 PM