wooden-chef-22394
07/27/2022, 8:22 AMsource:
type: clickhouse
config:
# Coordinates
host_port: ******:8123
# Credentials
username: default
password:
# Options
platform_instance: DatabaseNameToBeIngested
include_views: True # whether to include views, defaults to True
include_tables: True # whether to include views, defaults to True
sink:
type: datahub-rest
config:
server: http://*****:18080
It said 'password is incorrect'.
DatabaseException: Orig exception: Code: 516. DB::Exception: default: Authentication failed: password is incorrect or there is no user with such name. (AUTHENTICATION_FAILED) (version 22.5.1.2079 (official build))
mysterious-nail-70388
07/27/2022, 9:21 AMhallowed-lawyer-5424
07/27/2022, 5:24 PMmysterious-pager-59554
07/27/2022, 7:28 PMechoing-alligator-70530
07/27/2022, 7:47 PMgifted-knife-16120
07/27/2022, 7:31 PM,
{
"expectation_context": {
"description": null
},
"expectation_type": "expect_column_values_to_match_regex",
"kwargs": {
"column": "account_type",
"regex": "^(CLIENT)$"
},
"meta": {}
}
cool-vr-73109
07/28/2022, 8:25 AMbrainy-intern-50400
07/28/2022, 12:44 PMsquare-hair-99480
07/28/2022, 1:50 PMprod/snowflake/database/schema/table
but what if I ingest metadata from another account would I get something like prod/snowflake/account/database/schema/table
?alert-fall-82501
07/28/2022, 2:19 PMdazzling-insurance-83303
07/28/2022, 2:30 PMallow_deny_patterns
from wider community… please see my thread from the below starting point.
Thanks!
https://datahubspace.slack.com/archives/CUMUWQU66/p1658979688399899?thread_ts=1658807355.706189&cid=CUMUWQU66shy-chef-10188
07/28/2022, 2:57 PM{
"auditHeader": null,
"entityType": "dataset",
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:hive,SampleHiveDataset,PROD)",
"entityKeyAspect": null,
"changeType": "UPSERT",
"aspectName": "datasetUsageStatistics",
"aspect": {
"value": "{\"timestampMillis\": 1623888000000, \"eventGranularity\": {\"unit\": \"DAY\", \"multiple\": 1}, \"partitionSpec\": {\"type\": \"FULL_TABLE\", \"partition\": \"FULL_TABLE_SNAPSHOT\"}, \"uniqueUserCount\": 1, \"totalSqlQueries\": 2, \"topSqlQueries\": [\"select * from `test`\"], \"userCounts\": [{\"user\": \"urn:li:corpuser:xx\", \"count\": 2, \"userEmail\": \"xx\"}], \"fieldCounts\": [{\"fieldPath\": \"complaint_description\", \"count\": 2}, {\"fieldPath\": \"last_update_date\", \"count\": 2}, {\"fieldPath\": \"complaint_type\", \"count\": 2}, {\"fieldPath\": \"unique_key\", \"count\": 2}, {\"fieldPath\": \"source\", \"count\": 1}, {\"fieldPath\": \"city\", \"count\": 1}, {\"fieldPath\": \"map_tile\", \"count\": 1}, {\"fieldPath\": \"longitude\", \"count\": 1}, {\"fieldPath\": \"state_plane_y_coordinate\", \"count\": 1}, {\"fieldPath\": \"map_page\", \"count\": 1}, {\"fieldPath\": \"status_change_date\", \"count\": 1}, {\"fieldPath\": \"latitude\", \"count\": 1}, {\"fieldPath\": \"incident_zip\", \"count\": 1}, {\"fieldPath\": \"status\", \"count\": 1}, {\"fieldPath\": \"created_date\", \"count\": 1}, {\"fieldPath\": \"county\", \"count\": 1}, {\"fieldPath\": \"owning_department\", \"count\": 1}, {\"fieldPath\": \"street_name\", \"count\": 1}, {\"fieldPath\": \"close_date\", \"count\": 1}, {\"fieldPath\": \"street_number\", \"count\": 1}, {\"fieldPath\": \"incident_address\", \"count\": 1}, {\"fieldPath\": \"state_plane_x_coordinate\", \"count\": 1}, {\"fieldPath\": \"council_district_code\", \"count\": 1}, {\"fieldPath\": \"location\", \"count\": 1}]}",
"contentType": "application/json"
},
"systemMetadata": {
"lastObserved": 1626739200000,
"runId": "test-hivequery-usage",
"registryName": null,
"registryVersion": null,
"properties": null
}
}
best-receptionist-79324
07/28/2022, 4:34 PMupstream_table_1 = UpstreamClass(
dataset=builder.make_dataset_urn("DEPENDENCY_MAP", "upstream_table_4", "DEV"),
type=DatasetLineageTypeClass.TRANSFORMED,
)
upstream_tables: List[UpstreamClass] = [upstream_table_1]
upstream_table_2 = UpstreamClass(
dataset=builder.make_dataset_urn("DEPENDENCY_MAP", "upstream_table_3", "DEV"),
type=DatasetLineageTypeClass.TRANSFORMED,
)
upstream_tables.append(upstream_table_2)
# Construct a lineage object.
upstream_lineage = UpstreamLineage(upstreams=upstream_tables)
# Construct a MetadataChangeProposalWrapper object.
lineage_mcp = MetadataChangeProposalWrapper(
entityType="dataset",
changeType=ChangeTypeClass.UPSERT,
entityUrn=builder.make_dataset_urn("DEPENDENCY_MAP", "downstream", "DEV"),
aspectName="upstreamLineage",
aspect=upstream_lineage,
)
# Emit metadata
emitter.emit_mcp(lineage_mcp)
Thanks!
--Robadamant-napkin-88678
07/28/2022, 10:31 PMechoing-alligator-70530
07/28/2022, 10:05 PMmagnificent-notebook-88304
07/29/2022, 6:20 AMflat-painter-78331
07/29/2022, 7:54 AMflat-painter-78331
07/29/2022, 7:55 AMmysterious-nail-70388
07/29/2022, 10:07 AMhallowed-bear-93832
07/29/2022, 11:01 AMkind-whale-32412
07/29/2022, 5:30 PMself.report.report_workunit
then I do not see the workunit being sent to the server. I couldn't figure out why, so I'm asking here.
Is there a way to submit lineage work with this workunit system?lemon-terabyte-66903
07/29/2022, 5:39 PMkind-whale-32412
07/30/2022, 7:23 PMFailed to convert urn to entity key: urns parts and key fields do not have same length
I get this error. I am wondering what does it refer here as key fields, and how can I debug this? This is for superset ingestion that uses Trinocrooked-holiday-47153
08/01/2022, 8:28 AMbetter-orange-49102
07/28/2022, 12:50 PMalert-fall-82501
07/28/2022, 2:17 PMlively-farmer-38551
08/01/2022, 9:51 PMalert-football-80212
08/01/2022, 12:10 PMlimited-cricket-18852
08/02/2022, 12:01 PMalert-fall-82501
08/02/2022, 12:02 PM