Forum Widgets
Latest Discussions
Extending by a function output
datatable(ids: dynamic) [ dynamic(["value1", "value2"]) ] | function(ids) This above snippet works fine and returns a table datatable(date: datetime, ids: dynamic) [ datetime(2022-01-01), dynamic(["value1", "value2"]), datetime(2022-01-02), dynamic(["value3", "value4"]) ] | extend outputs = function(ids) This one however complains that extend expects a scalar and not table that the function returns datatable(date: datetime, ids: dynamic) [ datetime(2022-01-01), dynamic(["value1", "value2"]), datetime(2022-01-02), dynamic(["value3", "value4"]) ] | extend outputs = toscalar(function(ids)) When using toscalar, ids cannot be referenced. Is there a workaround? The function take in dynamic and returns a tubular expression of one row and two columnsic2092Nov 12, 2024Copper Contributor135Views0likes3CommentsSQL Server emulation layer; support for prepared statements
ADX supports very basic transformation of T-SQL to KQL, as it is limited to normal SQL statements. Currently support for prepared statements doesn't seem to be in-place. This would greatly improve security of the emulation layer by enabling prepared statements to be used. This would also allow semantic layers and customer facing analytics tools such as Vizzlyto integrate in a secured manner.vizzly_jamesOct 22, 2024Copper Contributor205Views0likes1CommentDisappearing files after ending session
Good day Any idea why my files on a Surface Hub 2s keep disappearing whenever I end session and log back in? Is there a way I can permanently keep them in my Documents folder or at the File Explorer folder and access them at anytime even after ending session? attached I uploaded two pictures. One with the created folder called JEOC Docs and in the other picture the files disappeared after ending session or login out. Like in the below picture.EGLHUBJEOC3Oct 22, 2024Copper Contributor156Views0likes1CommentConnect using SAS Token or APIKey
Hello, There is a lot of samples showing how to connect to ADX using an interactive user or a service principal but I would like to know if there is a way to connect to ADX within a non-interactive service using something like a SAS token or a kind of APIKey ? RegardsMessan APETEOct 05, 2024Copper Contributor360Views0likes3CommentsMaterialized view arg_max based on 2 columns
Hey, if I have a table that has these fields (key. ,....., updated, ingestion_time), I need to build a materialized view that gets the recently updated version for each key, and if there are multiple rows with same key andupdated, then I'll take the one with the recentingestion_time ( from the group that has the recently updated date). is that possible in kusto? it should be a valid materialized view query.ramitheeb705Aug 14, 2024Copper Contributor541Views0likes1CommentMaterialized view with inner join over 2 tables skips data
Hi, I have 2 tables which are ingested from event hubs with standard injection policy (10 minutes etc). I have created a materialized view which has roughly the following definition: .create materialized-view TransactionsWithCustDataMatView on table Transactions { Transactions | join kind=inner Customers on CustomerId | where CreatedOn > LastModifiedOn1 | summarize arg_max(LastModifiedOn1, *) by TransactionId } The problem is that sometimes a customer registers and within 1 minute also performs a transactions. However, since Customers and Transactions are different tables, each with its own ingestion (batching), it happens that sometimes the transaction of a new customer is ingested before the corresponding customer is ingested, and then the above materialized view "skips" the transaction due to the inner join. Is there a way how to control/sync the ingestions of the 2 source table, or schedule the materialized view to run with some delay of 10-20 minutes (when ingestions to both tables would have happened)? Br, DeyanDeyan_PetrovJul 24, 2024Copper Contributor437Views0likes4CommentsWhy does ADX caching result from related dimension table/mv/function
I'm testing materialized views based on the sample queries below: Lookup to another materialized view (bar_mv) storing last timestamps in field LAST_FOO_TS for some key(a,b,c) .create materialized-view with (dimensionMaterializedViews = "bar_mv") foo_mv on table events_table{ events_table |lookup materialized_view('bar_mv') on a,b,c |where TIMESTAMP > LAST_FOO_TS } Lookup to stored function (bar_v) returning last timestamps in field LAST_FOO_TS for some key(a,b,c) .create materialized-view foo_mv1 on table events_table{ events_table |lookup bar_v() on a,b,c |where TIMESTAMP > LAST_FOO_TS } In both cases, looks like ADX is caching results of the lookup materialized view/function and not refresing it for long time or ever. Is there any way to force refresh of those to get the newest values of LAST_FOO_TS in "where" condition?Bartek_insightApr 05, 2024Copper Contributor596Views0likes5CommentsIncreasing the number of scripts for Bicep deployments
We were quite surprised to run into a limit of 50 scripts per ADX cluster limit... Considering there is a limit of 10,000 databases, having a limit of 50 scripts seems wrong... Is this a bug? Anyway to increase it? Our use-case would really require that we can provision certain assets alongside our Bicep infra code. We give each customer their own database and provision certain defaults tables and table mapping assets there. We started to hit this 50 script limits just after 4 customers...tomiaspMar 06, 2024Copper Contributor686Views0likes1CommentKusto ADX plugin for Azure Devops (dashboards)
The existing kusto plugin that we are using in our Azure DevOps (Kusto and Application Insights Widget - Visual Studio Marketplace) is broken and there is no ETA on a fix. Would be great if one of you could point me to a work around/a different plugin that we could use to access kusto data from the devops dashboards.Girish_DasarathyFeb 16, 2024Microsoft244Views0likes0Comments
Resources
Tags
- Azure Data Explorer (Kusto)63 Topics
- Kusto language33 Topics
- AMA16 Topics
- Ingestion6 Topics
- Azure Data Explorer6 Topics
- Azure Data Explorer AMA5 Topics
- Microsoft Fabric5 Topics
- announcements5 Topics
- Cluster Management4 Topics