some-car-9623
04/11/2023, 4:16 PMpurple-salesmen-12745
04/11/2023, 6:24 PMwonderful-jordan-36532
04/12/2023, 9:13 AMfew-carpenter-93837
04/12/2023, 10:06 AM1'st pattern try:
project_pattern:
allow: ["1. Folder (standard)/1.1 Folder2 (standard)"]
2'nd:
allow: ["^1. Folder (standard)$"]
3'rd:
allow: ['^1. Folder (standard)$', '^1.1 Folder2 (standard)$']
And it always gives the error while ingesting, that this object isn't in the allowed pattern list.quiet-television-68466
04/12/2023, 11:13 AMdatahub_rest_default
connection that has been created. Additionally there is no emitting
step shown in DAG logs. Am I missing something obvious?busy-ghost-93490
04/12/2023, 12:07 PMadamant-sugar-28445
04/13/2023, 4:37 AMbland-appointment-45659
04/13/2023, 5:04 AMpowerful-mechanic-83241
04/13/2023, 11:03 AMkind-sunset-55628
04/13/2023, 11:45 AMimportant-tailor-54083
04/13/2023, 7:16 PMsource:
type: metabase
config:
connect_uri: '<https://xxxxx>'
username: username
password: password
Error msg
.....
Traceback (most recent call last):
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/entrypoints.py", line 179, in main
sys.exit(datahub(standalone_mode=False, **kwargs))
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/telemetry/telemetry.py", line 379, in wrapper
raise e
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/telemetry/telemetry.py", line 334, in wrapper
res = func(*args, **kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/utilities/memory_leak_detector.py", line 95, in wrapper
return func(ctx, *args, **kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 198, in run
loop.run_until_complete(run_func_check_upgrade(pipeline))
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 158, in run_func_check_upgrade
ret = await the_one_future
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 149, in run_pipeline_async
return await loop.run_in_executor(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 140, in run_pipeline_to_completion
raise e
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 132, in run_pipeline_to_completion
pipeline.run()
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 339, in run
for wu in itertools.islice(
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/ingestion/source/metabase.py", line 617, in get_workunits
yield from self.emit_card_mces()
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/ingestion/source/metabase.py", line 304, in emit_card_mces
chart_snapshot = self.construct_card_from_api_data(card_info)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/ingestion/source/metabase.py", line 351, in construct_card_from_api_data
datasource_urn = self.get_datasource_urn(card_details)
File "/tmp/datahub/ingest/venv-metabase-0.10.1/lib/python3.10/site-packages/datahub/ingestion/source/metabase.py", line 440, in get_datasource_urn
(
ValueError: not enough values to unpack (expected 4, got 2)
quiet-smartphone-60119
04/13/2023, 9:07 PMbrave-france-7945
04/13/2023, 10:58 PMbrave-france-7945
04/13/2023, 10:58 PM'failures': {'tableau-login': ['Unable to login (invalid/expired credentials or missing permissions): \n\n\t401001: Signin Error\n\t\tError signing in to Tableau Server']},
'failures': {'tableau-login': ['Unable to login (invalid/expired credentials or missing permissions): \n\n\t401001: Signin Error\n\t\tError signing in to Tableau Server']},
adamant-sugar-28445
04/14/2023, 10:36 AMquiet-rain-16785
04/14/2023, 11:03 AMglamorous-wire-83850
04/14/2023, 2:19 PMgorgeous-tent-62316
04/14/2023, 8:09 PMsome-car-9623
04/14/2023, 9:08 PMdamp-lighter-99739
04/17/2023, 7:49 AMrapid-airport-61849
04/17/2023, 8:55 AMagreeable-table-54007
04/17/2023, 3:10 PMgentle-arm-6777
04/17/2023, 3:24 PMancient-policeman-73437
04/17/2023, 3:31 PMdazzling-alarm-64985
04/17/2023, 3:44 PMloud-hospital-37195
04/17/2023, 4:10 PMstraight-hairdresser-4506
04/17/2023, 4:27 PM{
"errors": [
{
"message": "Invalid Syntax : offending token '\": {\"' at line 9 column 28",
"locations": [
{
"line": 9,
"column": 28
}
],
"extensions": {
"classification": "InvalidSyntax"
}
}
],
"data": null,
"extensions": {}
}
Here is what I cooked up with python. I am guessing, that somehow the way I am filling recipe with a json string is causing the issue. But I don't have a real solution how to include a JSON string in the query.
query = """
mutation {
createIngestionSource(
input: {
type: "mssql"
name: "some.name"
description: "some description"
config: {
recipe: "$recipe"
executorId: "default"
}
}
)
}"""
recipe = {
"source": {
"type": "mssql",
"config": {
"host_port": "host.com",
"database": "db,
"username": "user",
"password": "***",
"schema_pattern": {"allow": ["schema"]}
}
}
}
query = query.replace("$recipe", json.dumps(recipe))clever-magician-79463
04/17/2023, 4:45 PMrich-state-73859
04/17/2023, 9:28 PMNo Metadata Found
on the main page and thereβs no results if I click dbt or athena under the platform part.important-area-90857
04/18/2023, 3:04 AM