Error on setting key field as column valuue in update sink

Shivani Tyagi 106 Reputation points
2022-10-17T14:25:41.9+00:00

Hi,

I am trying to build the simple update data flow, when I am setting the update key column as Employee ID column,

251123-image.png

getting the error as -

251060-image.png

It also says that integer values are not accepted -
251098-image.png

I am stuck with this. Any help is highly appreciated.

Thank you,
Shivani Tyagi

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2022-10-31T22:19:33.017+00:00

    Hello @Shivani Tyagi ,

    Thanks for the question and using MS Q&A platform.

    I tried to reproduce the error you have noticed and observed that Column operands are not allowed in literal expressions error is thrown when the key column provided has curly brackets {}. From the image you have shared, I don't see your source or sink columns having curly backets, but you have included it in the Key column selection which is causing this problem.

    255833-image.png

    To avoid the datatype error, I would recommend deleting the Key column using the Delete option as shown in below GIF and select it from the dropdown and it should help overcome the problem you are facing.

    255846-df-updatekeyissue.gif

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.