Share via

Azure Table Writes and Updates

Sri Madhu 0 Reputation points
2025-06-04T10:18:49.8533333+00:00

Hi Team , I have few columns along with two audit columns in azure table like refresh type and last modified , once the full load completes in adf , I need to update the refresh type to Incremental and update the last modified , can someone help if this is possible.

@KranthiPakala-MSFT has been answered in one question but I was facing issue like duplicate columns were present even there is single column , can you please help me with the same.

Thanks in advance

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


1 answer

Sort by: Most helpful
  1. Alex Burlachenko 20,505 Reputation points MVP Volunteer Moderator
    2025-06-04T12:12:57.3166667+00:00

    hi there )) thanks for dropping this question on the portal, its super relevant for anyone working with azure tables and adf.

    so u got these audit columns in ur azure table right. refresh type and last modified. u want to update them after a full load finishes in adf. U gotta understand how azure table updates work. When u update an entity, u need to include all the properties, not just the ones u wanna change. otherwise, the missing ones will get wiped out. Now about that duplicate columns issue u mentioned. this usually happens when u try to update an entity but u dont include the original values for all properties. adf might treat it like a new set of columns instead of an update.

    before u do the update, fetch the current entity from the table. this gives u all the existing values. then, modify only the fields u wanna change (refresh type to incremental, last modified to current timestamp). send the entire entity back with the updates. no missing fields, no duplicates ))

    if ur using a web activity or a stored proc in adf, bw sure the payload includes everything. u can also use the azure table storage dataset with upsert, but watch out for those properties. an good example of table operations in adf.

    if ur still seeing duplicates, check if u accidentally mapped the same column twice in ur sink dataset. happens to the best of us :)) hope this clears things up.

    Best regards,

    Alex

    and "yes" if you would follow me at Q&A - personaly thx.
    P.S. If my answer help to you, please Accept my answer
    PPS That is my Answer and not a Comment
    

    https://ctrlaltdel.blog/

    0 comments No comments

Your answer

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