Skip to content

Various minor fixes

Compare
Choose a tag to compare
@danield137 danield137 released this 06 May 16:13
· 238 commits to master since this release

BREAKING CHANGES:

  • None

FEATURES:

  • New option to authenticate by providing a function callback to KustoConnectionStringBuilder which returns a valid authentication token as a string, e.g.
token_provider = lambda: "{caller token}"
kcsb = KustoConnectionStringBuilder.with_token_provider("http://mykusto.kusto.windows.net", token_provider)
  • When ingesting zip and gzip files, and uncompressed file size is not provided by the caller, attempt to detect uncompressed size from the file metadata.

  • When ingesting, a user can provide inline ingestion mapping in the ingestion command instead of creating it in advance.
    We suggest to use the new columnMapping class instead of CsvColumnMapping or JsonColumnMapping.

FIXES:

  • When ingesting a file and uncompressed file size is provided by the caller, use provided uncompressed file size instead of estimating the uncompressed size from the file size or file metadata