зеркало из
1
0
Форкнуть 0
Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
mayamarom10 4f9af0f592
Changed dataframe_from_result_table function (#538)
* Added dictionary options as parameters for type matching for dataframe_from_result_table func

* reformatted the file

* reformatted the file

* reformatted the file

* Fixes after PR

* Fixes after PR

* Fixes after PR

* Fixes after PR

* Fixes after PR

* For python 3.7 3.8

* Nullable bools fix

* Nullable bools fix

* Nullable bools fix

* Nullable bools fix2

* PR comment fixes

* LRU cache default paramaters for python 3.7

* LRU cache maxsize=1

* modified changes requested

* black
2024-06-17 09:59:54 +03:00
Eitan Moed 921249ccd8
User/t eitanmoed/distributed tracing (#419)
* added distributed_trace decorator to data sdk

* added distributed tracing example to sample app

* cleaner syntax

* added telemetry class

* formatted

* reverted kcsb

* reverted kcsb2

* ingestfrom* query,cntrlcmd, tracing added no test

* ingestfrom* query,cntrlcmd, tracing added no test post format

* ingestfrom* tracing added

* ingestion_properties added

* pretest and prenotes

* added notes

* kusto telemetry class created

* formatted

* removed file

* tests

* async implementation

* fixed uuid value attribute telemetry issue

* revert in kcsb

* fixed async trace

* fixed async get token

* added context dict of get_token

* added tracing attribute abstraction for descriptors and improved encapsulation of ClientRequestionProperties, IngestionProperties to include tracing attributes

* edited tests to to consider context call before get_token call during trace

* increased testing

* removed irrelevant constants

* removed unneccesary nesting

* test specific responses

* merged conflicts

* removed unused dependencies

* reformat

---------

Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2023-02-08 11:27:33 +02:00
AsafMah 3677504633
Formatting 2023-02-07 12:57:41 +02:00
AsafMah 218475845b
Added wellknownendpoints.json to manifest, to include in source release + bump version (#437) 2022-11-30 13:58:34 +02:00
AsafMah a20b69ac34
Added closability to the clients (#418) 2022-11-22 15:42:27 +02:00
ronmonetaMicro 435192e11b
query only mode fix - added nosource option. appropriate JSON fields … (#425)
Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-11-03 15:27:11 +02:00
Yihezkel Schoenbrun 3be500d851
Minor verbiage fixes (#427) 2022-10-31 09:40:48 +02:00
ronmonetaMicro 73e337b816
ignorefirstrecord fix (#413)
Co-authored-by: AsafMah <asafmahlev@microsoft.com>
Co-authored-by: Eitan Moed <101040590+enmoed@users.noreply.github.com>
2022-09-20 17:05:15 +03:00
AsafMah 2935d189eb
Simplified quickstart object creation (#409) 2022-08-11 11:50:43 +03:00
AsafMah d103c70918
Quick start - remove extra keys + upper case format (#408) 2022-08-10 11:37:36 +03:00
AsafMah 00216ba1e9
Update oneclick_instruction_box.md 2022-08-10 09:43:47 +03:00
AsafMah 764f7e7162
typo 2022-08-10 09:43:37 +03:00
ronmonetaMicro e7e9ef6cb1
t-ronmoneta/python sample app (#403)
* Basic Setup

* Utils - authentications

* Utils Queries

* Utils Ingestions - and done

* Sampleapp basic setup + moved AuthenticationModeOptions to Utils from sample_app

* Pre ingestion querying

* Ingestion

* Python sample app refactoring - done

* Fixed instructions

* black formatted

* Fixes by PR

* PR with black

* dataclasses fixes

* README and req fixes

Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-08-07 11:15:47 +03:00
AsafMah 77d89cbf87
Remove required ingestion mapping (#366) 2022-02-01 09:41:46 +02:00
Yihezkel Schoenbrun 1933b04c88
Fix README (#377) 2022-01-27 14:02:27 +02:00
Yihezkel Schoenbrun 1a8a90e859
Demonstrate bools in configs since that's what the UI will create, and include upgrade instructions in README (#371) 2022-01-17 15:16:21 +02:00
Yihezkel Schoenbrun b94c46637c
Handle both strings and bools in configs (#370) 2022-01-17 09:11:21 +02:00
Yihezkel Schoenbrun 4c672929bd
Fix mapping_required to _mapping_required (#369) 2022-01-16 17:28:40 +02:00
AsafMah e3f852ae70
IngestionProperties Improvements (#363)
* - Renamed IngestionMappingType to IngestionMappingKind to align with other SDKs
- Added advanced checks for column mappings, see https://github.com/Azure/azure-kusto-java/pull/205
- Added missing formats and mappings
- Renamed "ingestion_mapping" parameter to "column_mappings" for clarity and alignment

* Make mapping_required private

* black

* PR comments

* PR comment - caller provides text

Co-authored-by: Yihezkel Schoenbrun <yihezkel@schoenbrun.net>
2022-01-16 12:26:38 +02:00
AsafMah 05ce08d9e8
Fixed uuid and types (#364) 2022-01-11 08:54:06 +02:00
AsafMah 66f6d66a2a
Update minimum python to 3.7 (#361)
* Update python to 3.7
2022-01-05 14:02:17 +02:00
Yihezkel Schoenbrun 3e25fe8511
Enhance DataFormat (#354)
* Enhance DataFormat

Note: I didn't realize (until the merge conflicts now) that Asaf recently made some changes to is_mapping_required and is_binary/is_compressible. I don't think his PR affects any of my changes here, except for a decision regarding whether we want is_binary or is_compressible. I'm open to either, but prefer the former if we have any reason to care whether a format is binary other than to determine if it's compressible, and otherwise prefer the latter.

I will discuss this with relevant people.

* Satisfy black

* Changed order of import statements and renamed value_, per Asaf's comments

* Change value_ to kusto_value everywhere

* Fix merge: Newest merge with master (managed streaming) included in the ingest package imports of data_format from ingest, when this PR moves data_format to data

Now no need for the export of data_format in ingest's __init__. Though this is a breaking change, we're intending to do a major version bump soon anyway (see the recently merged managed streaming PR, referenced above).
2021-12-23 11:12:30 +02:00
Yihezkel Schoenbrun c2fef08e98
Add features and fix bugs in Quickstart for parity with Java (#353)
* Add features and fix bugs in Quickstart for parity with Java

* Black
2021-12-20 15:05:47 +02:00
Yochai Gilad d25e0b869c
Quick Start Sample App (#339)
* Checkpoint

* Auth works

* cert based auth

* split and reorder authentication
Add references to public docs

* Checkpoint - need to attempt once with OneClick

* Ready for integration with OneClick

* Set the table schema

* PR comments

* lint

* A self contained sample for download (independent of One Click)

* nit

* print sample data

* cosmetics, typing, bug fix

* read config from json

* PR comments

* checkpoint - loop over files, ingest from blob not yet supported

* Checkpoint - ingest form blob

* Rename json file

* Readme changes

* link fix

* nit changes

* checkpoint

* readme

* integrate with one click

* messages

* wait for user

* button name change

* post review

* changes after talking with Tal

* markdown highlighting

* integrate with markdown parser for function injection

* fix markdown titles

* download link place holder

* Rename README.MD to README.md
2021-11-01 11:49:19 +02:00