Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.47k stars 4.8k forks source link

[FEATURE REQ] Data Factory support for data plane queries for importing schema #30842

Closed haitsong closed 1 year ago

haitsong commented 2 years ago

Library name

Azure.ResourceManager.DataFactory

Please describe the feature.

To manipulate dataset that can be done in browser, for example, import default schema from dataset. In order to do it programmatically, we would have to construct client specifically to do data plane queries.

azure-sdk commented 2 years ago

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'ARM:0.38603914,Data Factory:0.2190817,Data Lake Storage Gen2:0.044262756'

jsquire commented 2 years ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.

xboxeer commented 2 years ago

@haitsong would you like share your code, tell us the actual behavior and expected behavior? I've noticed if I run the below code

var resourceGroup = _client.GetDefaultSubscription().GetResourceGroup("DataFactoryRG").Value;

            var dataFactoryResource=resourceGroup.GetDataFactory("elendil-df").Value;            

            var dataset = dataFactoryResource.GetFactoryDataset("SourceDataset_s2o").Value;

            var schema = dataset.Data.Properties.Schema;

The Schema is null even though I can preview the schema in portal, are you expecting this Schema to be something not null? did you used some query code and got that schema in code?

ghost commented 1 year ago

Hi, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!