Columns of Oracle Dataset are Not Shown in API Response

Vegnesa, Savio 0 Reputation points
2024-03-06T06:24:54.78+00:00

Hi team,

I have created one Dataset in Azure Data Factory using Oracle, and i want to get the Column of this dataset using API. I've encountered an issue while attempting to fetch columns for an Oracle dataset in Azure Data Factory using the API. Despite utilizing the following endpoint:

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}?api-version=2018-06-01

I'm unable to retrieve the columns for the Oracle dataset. The response I receive does not include the expected column information.

User's image

Could you please assist in identifying the correct API endpoint or any additional steps required to fetch the columns for Oracle datasets via the API?

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

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2024-03-07T13:09:01.91+00:00

    Hi Vegnesa, Savio ,

    Welcome to Microsoft Q&A platform and thanks for posting your query.

    As per my understanding, you are trying to fetch the column names out of the oracle table using REST API call on the dataset via ADF, however, the output is not coming as expected. Please let me know if that is not the clear understanding.

    I tried to reproduce your scenario with Azure SQL table since I do not have oracle table to repro right now but I got the expected result. Kindly check if you are doing something incorrectly.

    Kindly make sure the table is selected in the dataset and schema has been imported. Try to import the schema again and run the pipeline

    I used web activity to make the REST api call using the above URL you shared and it gave expected result. Here is more details:

    User's image

    User's image

    Hope it helps. Kindly accept the answer by clicking on Accept answer button if it helped. In case you have any further query, kindly let us know in comment. Thankyou


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.