cortana-intelligence

Authorization Time Out : Azure Data Lake Store Configuration in Azure Data Factory

≯℡__Kan透↙ 提交于 2019-12-24 00:34:49
问题 We are moving the data from Azure Table Storage to Azure Data Lake Store with the help of Data Factory. As part of if I have added a linked service which connects to Azure Data Lake Store. { "name": "AzureDataLakeStoreLinkedService", "properties": { "description": "", "hubName": "xxxxxxxxxxxxxxxxxxxxxx", "type": "AzureDataLakeStore", "typeProperties": { "dataLakeStoreUri": "https://xxxxxxxxxxxxx.azuredatalakestore.net/webhdfs/v1", "authorization": "**********", "sessionId": "**********",

Select the first element in a JSON array in Microsoft stream analytics query

半腔热情 提交于 2019-12-23 14:24:13
问题 So I got a bit of a problem. I retrieve some weatherdata from an external API. This is returned as JSON and send to an Azure IoT hub. Stream analytics processes the json into a proper format, but I got a problem here. The element: Current_Condition, is of an array format. It always has one element on the [0] position. I only need to get the data of that array from that very first position, without a filter for things like id etc. Under here is the complete data { "deviceId": "aNewDevice",

Select the first element in a JSON array in Microsoft stream analytics query

梦想的初衷 提交于 2019-12-23 14:23:30
问题 So I got a bit of a problem. I retrieve some weatherdata from an external API. This is returned as JSON and send to an Azure IoT hub. Stream analytics processes the json into a proper format, but I got a problem here. The element: Current_Condition, is of an array format. It always has one element on the [0] position. I only need to get the data of that array from that very first position, without a filter for things like id etc. Under here is the complete data { "deviceId": "aNewDevice",

Using Azure Data Factory to get data from a REST API

微笑、不失礼 提交于 2019-12-18 03:41:29
问题 Is it possible to use Azure Data Factory to get data from a REST API and insert it to a Azure database table? 回答1: Data factory offers a generic HTTP connector and a specific REST connector, allowing you to do retrieve data from HTTP endpoints by using GET or POST methods. Example: HTTP Linked Service { "name": "HttpLinkedService", "properties": { "type": "Http", "typeProperties": { "authenticationType": "Anonymous", "url" : "https://en.wikipedia.org/wiki/" } } } 回答2: I have done this using

Using Azure Data Factory to get data from a REST API

有些话、适合烂在心里 提交于 2019-12-18 03:41:07
问题 Is it possible to use Azure Data Factory to get data from a REST API and insert it to a Azure database table? 回答1: Data factory offers a generic HTTP connector and a specific REST connector, allowing you to do retrieve data from HTTP endpoints by using GET or POST methods. Example: HTTP Linked Service { "name": "HttpLinkedService", "properties": { "type": "Http", "typeProperties": { "authenticationType": "Anonymous", "url" : "https://en.wikipedia.org/wiki/" } } } 回答2: I have done this using

azure.datalake.store.AdlFileSystem not found in Spark

 ̄綄美尐妖づ 提交于 2019-12-14 04:14:58
问题 I am trying to use spark sql to query a csv file placed in Data Lake Store. when I query i am getting "java.lang.ClassNotFoundException: Class com.microsoft.azure.datalake.store.AdlFileSystem not found". How can I use spark sql to query a file placed in Data Lake Store? Please help me with a sample. Example csv: Id Name Designation 1 aaa bbb 2 ccc ddd 3 eee fff Thanks in advance, Sowandharya 回答1: Presently HDInsight-Spark Clusters are not available with Azure Data Lake Storage. Once we have

Get raw voice from speech- BotBuilder v4

妖精的绣舞 提交于 2019-12-13 17:23:55
问题 Working on the Bot Builder, I'm looking for a solution where I could get the realtime speech/audio of the speaker who spoke to the bot as attachment. Is it possible? Following is my code. public async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default(CancellationToken)) { if (turnContext.Activity.Type == ActivityTypes.Message) { // Get the conversation state from the turn context. var state = await _accessors.CounterState.GetAsync(turnContext, () => new

Refresh the dataset in Azure machine learning

我是研究僧i 提交于 2019-12-11 13:14:46
问题 I have an experiment (exp) which is published as a web service (exp [Predictive Exp.]) in the azure machine learning studio, the data used by this experiment was pushed by R using AzureML package library(AzureML) ws <- workspace( id = 'xxxxxxxxx', auth = 'xxxxxxxxxxx' ) upload.dataset(data_for_azure, ws, "data_for_azure") The above thing worked, but lets say I want to update the dataset(same schema just added more rows) I tired this but this does not work: delete.datasets(ws, "data_for_azure"

Azure Stream Analytics - no output events

僤鯓⒐⒋嵵緔 提交于 2019-12-11 10:58:41
问题 I have a problem with azure stream analytics job. Job monitor shows incoming input events (from Event Hub) but there are no output events or errors. Job is really simple, just to write every input to azure blob storage: SELECT * FROM input Any suggestions what could be wrong? Update! It was a bug in Azure Stream Analytics and it's already solved by Microsoft. 回答1: Did you try to include INTO clause? SELECT * INTO [output] FROM [input] 回答2: Since you have verified that events are coming into

Call stored procedure using ADF

南笙酒味 提交于 2019-12-11 04:58:02
问题 I am loading SQL server table using ADF and after insertion is over, I have to do little manipulation using below approach Trigger (After insert) - Failed, SQL server not able to detect inserted record that I push using ADF.. **Seems to be a bug** . Stored procedure using user defined table type - Getting error Error Number '156'. Error message from database execution : Incorrect syntax near the keyword 'select'. Must declare the table variable "@a". I have created below pipeline { "name":