Giter Club home page Giter Club logo

klipboard's People

Contributors

asafmah avatar yogilad avatar

Watchers

 avatar  avatar

klipboard's Issues

Lines mode

Quick actions should have a "Let me parse scheme using KQL" mode (or lines mode).
In this mode Quick actions will send each line of data into a single string column.
The user can parse rows manually.
Fits unstructured data such as logs.

Clipboard History

Last X data items (not files) pasted to Kusto

  • Download the data to a file, then work on the file

AutoDetect IgnoreFirstLine

Send the first line of a text file and the text file itself for schema operator,
The first line is a header if it is all strings and it is different then the other lines schema.

Consider limiting the number of rows sent to the "full" schema detection to make it faster (e,g, send up to 100 rows)

Logs

Consider using Serilog for background logging
Consider pushing logs to action UX

Inline Query Bugs

  • Structured query should convert empty string columns to empty strings ""
  • Process more rows for schema detection.
  • If there's a disagreement use string instead of max property

Auto Correct Column Names

  • Replace disallowed chars with place holders (e.g. underscore)
  • Auto complete names for empty column names

Sign out

Need sign out, better user management and actual connection string sort

Support multiple free text KQL parsing macros

free text query should support multiple KQL parsing macros.
Macros should be named
Macros should appear as sub menu of ingestion command
Free text option and macros should be available for external data and temp table query

Kusto fails to process TSVs with escaped tabs

Kusto does not support Windows's quotation escaped TSV format, so Tabular data with escaped tabs causes an error about varying column numbers.

Options to fix - provide user with Clipboard Tabular-Data processing options:

  1. Default - as today - works for most users
  2. Convert TSV to CSV - CPU costly but has Unicode Support
  3. Get ASCII / LATIN1 ASCII - works best with English / Numeric data
  4. Get Code Page ASCII data - works for local machines (Was unable to figure this out yet)

Example code for converting Tabular data to Latin1CSV:

 var stream = Clipboard.GetData(DataFormats.CommaSeparatedValue) as MemoryStream;
 var bytes = stream.ToArray();
 var data = System.Text.ASCIIEncoding.Latin1.GetString(bytes);

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.