ODATA doesn't support expand in ADF

Bajaj, Smita 1 Reputation point
2021-12-13T04:09:19.887+00:00

Hi,
The expand verb does not seem to work in ADF with the ODATA connector. This means that we cannot fetch the child / nested items. The select works fine but not expand. Anyone has experience or workaround with this ?

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

1 answer

Sort by: Most helpful
  1. svijay-MSFT 5,256 Reputation points Microsoft Employee Moderator
    2021-12-13T16:17:48.177+00:00

    Hello @Bajaj, Smita ,

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

    From this doc and from my testing ODATA connector - unfortunately, currently there is no support for the complex object type at this point of time.

    Reference : https://learn.microsoft.com/en-us/azure/data-factory/connector-odata?tabs=data-factory

    157185-image.png

    Having said, I had recently answered a thread dealing a similar requirement.

    Thread : https://learn.microsoft.com/en-us/answers/questions/638195/odata-query-expand-is-not-executed-in-adf-copy-act.html

    You could make use of REST API Connector and Mapping Data flow to make the necessary transformation to achieve the required output - You could get the nested output - flatten it to tabular structure and consume it for the further steps.

    Note: Please refer to the comment of the answer for the RESTAPI + Data Flow Implementation.

    157226-image.png

    Hope this will help. Please let us know if you have 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
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

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.