Comments on: Column Mappings as a Dynamic Content in Azure Data Factory https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/ Expert Digital Insights Thu, 06 Jun 2024 17:23:31 +0000 hourly 1 By: EJ https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-153904 Thu, 06 Jun 2024 17:23:31 +0000 https://blogs.perficient.com/?p=313702#comment-153904 Having the same issue that DJ referenced in regards to the additional columns.

]]>
By: DJ https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-152578 Mon, 15 Apr 2024 19:34:18 +0000 https://blogs.perficient.com/?p=313702#comment-152578 Is already resolved:
‘Thanks for this article. In our ADF pipeline we are also using additional columns. When I add those additional columns in the mappingtable, i get the following error: ‘The column ‘columnname’ is not found in source side. How can I ensure that these columns are also loaded?’

]]>
By: DJ https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-152577 Mon, 15 Apr 2024 18:51:06 +0000 https://blogs.perficient.com/?p=313702#comment-152577 Hello Venkattaramanan V,

Thanks for this article. In our ADF pipeline we are also using additional columns. When I add those additional columns in the mappingtable, i get the following error: ‘The column ‘columnname’ is not found in source side. How can I ensure that these columns are also loaded?

Thanks in advance.

]]>
By: Bhushan Patil https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-149707 Thu, 15 Feb 2024 11:33:21 +0000 https://blogs.perficient.com/?p=313702#comment-149707 In reply to Ray.

According to me, You can set the target name at field level in your Entity class. for that you can use Hibernate Column property.
Ex.
@Column(name=”EMPLOYEE_ID”)
private Integer em_id;
I hope this can solve your problem.
Thank you, Bhushan

]]>
By: Ray https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-148600 Mon, 05 Feb 2024 11:31:18 +0000 https://blogs.perficient.com/?p=313702#comment-148600 Hello Venkattaramanan V,

i have a question regarding your stored procedure. If i have my source and target columns the same, then i get an json output, but if i have my source names diffrent (e.g. technical names from the source system) and want them to have diffrent names, i can’t get the mapping to work. It returns NULL as the json_output.

Example by using your example:

VALUES
(‘dbo’,’EMPLOYEE’, ‘[EMPLOYEE_ID, EMPLOYEE_NAME, DESIGNATION, DATE_OF_JOINING, REPORTING_MANAGER]’, ‘[em_id, em_name, desig, date_joining, manager]’)

This will return me NULL

Any idea how i can get your procedure to work like this? EMPLOYEE_ID –> em_id, EMPLOYEE_NAME –> em_name etc.

Thanks,
Ray

]]>
By: Derik https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-141501 Thu, 30 Nov 2023 12:31:58 +0000 https://blogs.perficient.com/?p=313702#comment-141501 Hello Venkattaramanan V,

Thanks for this nicely written article.
If anyone of you trying this out face an issue like: type conversion.
For example:
The given value of type Byte[] from the data source cannot be converted to type nvarchar of the specified target.

To resolve this, modify the stored procedure to allow type conversion like this:

DECLARE @json_construct varchar(MAX) = ‘{“type”: “TabularTranslator”, “mappings”: {X}, “typeConversion”: true, “typeConversionSettings”: {“allowDataTruncation”: true, “treatBooleanAsNumber”: false}}’;

Thanks,
Derik Roby

]]>
By: Santiago Osorio https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-131700 Thu, 17 Aug 2023 18:39:44 +0000 https://blogs.perficient.com/?p=313702#comment-131700 Hello Venkattaramanan V,

I faced this error: “Required property ‘sink’ is missing in payload”. The way I solved it was to double-check that my stored procedure was using the proper names:

I used to have: srccol.value as ‘source.name’, trgcol.value as ‘target.name’… , and I changed it to: srccol.value as ‘source.name’, trgcol.value as ‘sink.name’…. and it’s working now.

]]>
By: Venkattaramanan V https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-124604 Sun, 18 Jun 2023 09:33:06 +0000 https://blogs.perficient.com/?p=313702#comment-124604 Hi,

When i try to do dynamic mapping of JSON schema getting the error “Required property ‘source’ is missing in payload”. Could you please help me on how we can fix this issue.

Thanks in Advance

]]>
By: Chandan Singh https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-78020 Fri, 29 Jul 2022 07:12:53 +0000 https://blogs.perficient.com/?p=313702#comment-78020 very informative.. thanks for sharing Shubham

]]>
By: Simran Chavhan https://blogs.perficient.com/2022/07/21/column-mappings-as-a-dynamic-content-in-azure-data-factory/#comment-77996 Thu, 28 Jul 2022 14:18:56 +0000 https://blogs.perficient.com/?p=313702#comment-77996 Nicely put, Kudos Shubham!!

]]>