azure / azurekusto Goto Github PK
View Code? Open in Web Editor NEWR interface to Azure Data Explorer, aka Kusto
License: Other
R interface to Azure Data Explorer, aka Kusto
License: Other
{dbplyr}, {rlang}, and a few other dependencies have evolved significantly since this package was written. Need to rewrite the dplyr translation backend, probably taking a direct dependency on {dbplyr} instead of reimplementing much of its internals.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
New issue since GH doesn't allow transferring across orgs
Some specific use cases require username/password rather than an AAD token
Hi AzureKusto R package authors.
Firstly, thank you for the wonderful package!
Forgive me if I am missing something obvious, but is it possible to use dbWriteTable to write a table into a specific folder in Kusto? I cannot seem to figure out how to do this. Help is appreciated!
I think AzureKusto could be a great tool for data scientist using R. But I have trouble to set it up correctly. After I installed AzureKusto library, I run the following code but got an error:
testpoint<-kusto_database_endpoint(server="https://kusto.xxxx.microsoft.com",database="test")
res2<-run_query(testpoint, "buildsetcalculator | take 20")
The second line throws out an error as follows:
res2<-run_query(testpoint, "buildsetcalculator | take 20")
Error: $ operator is invalid for atomic vectors
Even if I run an incorrect query as follows, the error is same
res2<-run_query(testpoint, "dfasqrwe")
Unlike the server address used in example, this cluster server address has the name of cluster 'xxxx' behind 'kusto'. It may be the reason.
Thanks for developing AzureKusto!
Hello there!
Suggested change to wrap the param names in square brackets in the method build_param_list. This would enable us to auto-create tables with periods in the column names (i.e. for the sample R "iris" dataset for instance). However, I don't know if this would have adverse effects elsewhere in the code, so leaving it to you to figure out whether this is the right fix, thanks!
build_param_list <- function(query_params)
{
ps <- mapply(function(name, value)
{
type <- switch(class(value)[1],
"logical"="bool",
"numeric"="real",
"integer64"="long",
"integer"="int",
"Date"="datetime",
"POSIXct"="datetime",
"string"
)
paste(name, type, sep=":")
}, paste0('[', names(query_params), ']'), query_params)
paste0("(", paste(ps, collapse=", "), ")")
}
I received an error: Kusto.Cloud.Platform.Storage.PersistentStorage.PersistentStoragePathDoesNotExistException
when querying a Kusto cluster with the default options "queryconsistency": "weakconsistency".
We should remove this from the default options, as weakconsistency can result in query failures under certain cluster configurations.
Also, it appears that passing query options as arguments to run_query
is not correctly overriding the default options.
Thanks for your work on this package, its really helpful!
I'm having trouble getting around the default timeout settings when running KQL through AzureKusto.
It doesn't look like norequesttimeout = true is having any impact when inside KQL query. I'm wondering if there is a way to specify this at connection?
the is.kql
function doesn't seem to exist, so %in%
errors. %in~
seems to work (for vectors) however, as a workaround.
Line 247 in 43fab40
New issue since GH doesn't allow transferring across orgs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.