Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I Iam trying to generate Source to Target mapping in JSON, to use it in pipeline, from source column and target column comma separated list. These lists are stored in respective columns in a row for the source table. Below you can find the query. It throws "Unsupported operator for resource actuals feedback". Is it true that "FOR JSON PATH" not supported yet in subquery?
Please find the query below:
select repl_key,REPLACE('{"type": "TabularTranslator", "mappings": {m}}','{m}', (
SELECT TRIM(srccol.value) AS [source.name]
,TRIM(snkcol.value) AS [sink.name]
FROM STRING_SPLIT(CONCAT(TRIM(REPLACE(l.key_columns
,SPACE(1), SPACE(0))), ',tracking_timestamp, inactive_ind'), ',') srccol
CROSS APPLY STRING_SPLIT(CONCAT(TRIM(REPLACE(l.key_columns
,SPACE(1), SPACE(0))), ',tracking_timestamp, inactive_ind'), ',') snkcol
WHERE srccol.value = snkcol.value for json path )) AS logiDelMapping
FROM utility.repl_list l
Solved! Go to Solution.
I did look at it. It seems FOR JSON PATH is supported but not it subquery. Thanks anyways. I had to use script in foreach loop to achieve the functionality.
I did look at it. It seems FOR JSON PATH is supported but not it subquery. Thanks anyways. I had to use script in foreach loop to achieve the functionality.
Hi @pankaj_j,
I'd like to suggest you take a look the following document which mention about the limitations of t-sql query in data warehouse of hope:
T-SQL surface area - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Fabric update to learn about new features.