Skip to content

Commit 6161ea2

Browse files
brock-acrylclaude
andcommitted
fix(ingest/powerbi): resolve stack conflicts for report filters
Regenerate the workspace_apis golden so the filter-targeted input fields carry their model properties, and restore import spacing after the rebase. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 8ae3b93 commit 6161ea2

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎metadata-ingestion/tests/integration/powerbi/golden_test_workspace_apis_ingest.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3433,7 +3433,8 @@
34333433
},
34343434
"nativeDataType": "Double",
34353435
"recursive": false,
3436-
"isPartOfKey": false
3436+
"isPartOfKey": false,
3437+
"jsonProps": "{\"displayFolder\": \"Financials\", \"formatString\": \"$#,##0.00\", \"summarizeBy\": \"sum\"}"
34373438
}
34383439
},
34393440
{
@@ -3448,7 +3449,8 @@
34483449
},
34493450
"nativeDataType": "DateTime",
34503451
"recursive": false,
3451-
"isPartOfKey": false
3452+
"isPartOfKey": false,
3453+
"jsonProps": "{\"formatString\": \"yyyy-MM-dd\"}"
34523454
}
34533455
}
34543456
]

‎metadata-ingestion/tests/unit/powerbi/test_workspace_apis_mapper.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
from datahub.ingestion.source.powerbi.rest_api_wrapper.powerbi_api import PowerBiAPI
4545
from datahub.ingestion.source.powerbi.rest_api_wrapper.tmdl_parser import parse_table
4646
from datahub.metadata.schema_classes import (
47-
DatasetPropertiesClass,
4847
ChartInfoClass,
4948
DashboardInfoClass,
49+
DatasetPropertiesClass,
5050
InputFieldsClass,
5151
NumberTypeClass,
5252
OperationClass,
@@ -1747,6 +1747,8 @@ def test_measure_on_a_remote_table_chains_through_the_composite_lineage() -> Non
17471747
aspect = _extract(mapper, kpis)
17481748
assert aspect is not None
17491749
assert [u.dataset for u in aspect.upstreams] == [_urn(mapper, table)]
1750+
1751+
17501752
def test_filters_become_custom_properties_on_page_chart_and_report_dashboard() -> None:
17511753
mapper = _mapper(_config(extract_report_field_usage=True))
17521754
policies = Table(

0 commit comments

Comments
 (0)