Code Monkey home page Code Monkey logo

kusto-tool's Introduction

Lifecycle:Experimental

kusto-tool

A high-level Python library and CLI to make it easier to use Azure Data Explorer (aka Kusto), especially for data scientists.

Experimental, work-in-progress, unstable API.

Documentation

TODO

Database API

Table management

  • .set-or-append table
  • .set-or-replace table
  • .drop table
  • .append table
  • .create table
  • .create-merge table

Function management

  • .create-or-alter function
  • .drop function

Query limit settings

  • set notruncation etc.

Policy management

  • retention policy
  • sharding policy

Access management

  • .show [table|database] principals
  • .add [table|database] [users|admins]

Query expression API

  • project
  • where
  • distinct
  • summarize
  • join
  • parenthesize or/and expressions
  • extend
  • order by, sort
  • asc, desc
  • evaluate
  • take, limit
  • mv-expand
  • Inspect columns from table by querying
  • sample
  • sample-distinct
  • mv-apply
  • datatable
  • facet
  • find
  • fork
  • getschema
  • invoke
  • lookup
  • parse
  • partition
  • pivot
  • range
  • search
  • serialize
  • top, top-hitters
  • Kusto prefix function translator class
  • special types (datetime, timespan, dynamic)
  • nice error messages when column not found in table etc.

Agg functions

  • sumif
  • countif
  • dcountif
  • binary_all_and
  • binary_all_or
  • binary_all_xor
  • make_bag / make_set / make_list
  • arg_max, arg_min, take_any, take_anyif
  • avgif
  • hll, hll_merge
  • max, maxif, min, minif
  • percentiles, percentiles_array, percentilesw
  • stdev, stdevif
  • tdigest, tdigest_merge
  • variance, variancep, varianceif

Other functions and operators

  • [start|end]of[day|week|month|year]
  • between
  • typecasting: real(), long(), datetime() etc.
  • math functions: log, sin, cos etc.
  • string functions: strlen etc.
  • null
  • date functions: getyear, getmonth etc.
  • case / iff
  • hash
  • welch_test
  • array_ functions

kusto-tool's People

Contributors

alexkyllo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.