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

470 Коммитов

Автор SHA1 Сообщение Дата
Dominik Jain cae719f0d9
Fix helpers.to_pandas_timedelta returning incorrect pd.Timedelta (#306)
* Fix helpers.to_pandas_timedelta returning incorrect pd.Timedelta
for string inputs that span less than one day

* Fixed timespan conversion for case where span is more than 1 day
and contains no second decimals

Co-authored-by: Yihezkel Schoenbrun <yihezkel@schoenbrun.net>
2021-03-17 12:32:40 +02:00
Yihezkel Schoenbrun 01543ccf2e
Handle possibility of HTTPConnection.default_socket_options being None (#307)
* Though we expect that HTTPConnection.default_socket_options will always be defined, handle the case where it isn't for robustness.

* Black formatting
2021-03-17 11:37:26 +02:00
AsafMah fb597f9acd
Async io v2 (#299)
* Added new async io API to azure-kusto-data
2021-03-14 13:26:34 +02:00
Yochai Gilad 41967a5540
MSAL Interactive Login (#303)
* interactive login

* lint

* do not test interactive auth by default

* lint

* Fix bugs
Make tests work with source code (test.bat change)

* bug fix (missing aad fed security flag)
Make e2es run with interactive login

* bug fix

* Make error context more clear

* Fix in exceptions

* fix the fix

* fix name of provider

* PR comments

* reverting test.bat changes due to problems
2021-03-02 17:31:24 +02:00
AsafMah d509817c89
Fixed typos (#302) 2021-02-18 12:28:57 +02:00
Yihezkel Schoenbrun 14cad1a420
Fix support for unidentifiable OSes (#301)
* When setting TCP Keep-Alive socket options, return empty list if we can't identify the OS

* Add unit tests
2021-02-15 11:32:12 +02:00
Ariel Yehezkely 337e4b7711
bump version 2.0.0 (#295) 2021-01-07 10:25:46 +02:00
Ariel Yehezkely b5adda2e6b
support w3clogfile format (#294) 2021-01-06 14:53:12 +02:00
JF6 fbce34a0b5
Error handling for temp file when using Dataframes (#290)
Co-authored-by: jfsix <jfsix@hotmail.com>
Co-authored-by: Ariel Yehezkely <aryehezk@microsoft.com>
2021-01-06 10:20:33 +02:00
Yochai Gilad b31f88b03a
Az token provider failure instructs to call az login (#293) 2021-01-06 10:15:18 +02:00
Yihezkel Schoenbrun fc50cf7a68
Rename KustoIngestClient to QueuedIngestClient for readability. (#270)
This is a breaking change requiring upgrading the major version, yet is a minor, cosmetic/readability change. This will therefore wait before being merged until a more necessary breaking change is being merged as well.
2021-01-05 17:31:27 +02:00
Yihezkel Schoenbrun 3ff62b0661
Remove legacy IngestionProperties names (#277)
* Remove legacy IngestionProperties names (backwards compatibility no longer needed)

* Add comma for Black
2021-01-05 13:38:19 +02:00
Ariel Yehezkely a646559cef
Lazy query results (#291) 2021-01-05 12:59:26 +02:00
Christian Coello b19bdd98c4
Update azure cli docs (#289)
* Update sample to include az cli auth

* Remove outdated comment and mention az cli

* Clarify az cli difference with azure-kusto-python

Co-authored-by: Yochai Gilad <yogilad@microsoft.com>

* Update azure-kusto-data/tests/sample.py

Co-authored-by: Yochai Gilad <yogilad@microsoft.com>

Co-authored-by: Yochai Gilad <yogilad@microsoft.com>
2020-12-23 21:06:44 +02:00
Yochai Gilad 5742e515d6
E2E is tollerant to missing environment (#287)
* E2E is tollerant to missing environment

* lint
2020-12-20 12:43:14 +02:00
Yochai Gilad 4c370ea6dc
Migrate from ADAL to MSAL (#281)
* Add cloud settings auto detection to python

* Fix UTs

* Linter

* Checkpoint

* Checkpoint

* Checkpoint

* checkpoint - before manual tests

* Some fixes

* Device Auth works

* Cleanup security.py
Remove Adal dependecies

* UTs pass

* Add and fix tests

* Fix for MSI

* Fix for MSI #2

* Cert auth works

* After running Black

* syntax not supported by python 3.5

* PR Comments

* fix the annoying black

* PR comments
Need to test MSA account with user/password

* Provider Tests: Checkpoint

* Tests: Checkpoint

* Proper tests

* Linter

* Linter again

* checkpoint

* All tests pass

* Minor changes

* Simpler Cloud Info

* bug fix

* Remove an exception which is no longer relevant

Co-authored-by: Ariel Yehezkely <aryehezk@microsoft.com>
2020-12-09 12:07:08 +02:00
Yihezkel Schoenbrun a6e4184281
Support TCP Keep-Alives and expose the retry parameter (#280)
* Support TCP Keep-Alives and expose the retry parameter in the KustoClient init function

* Black reformatting

* Add socket_options to default socket_options so they won't be lost

* Make Black happy

* Remove "retries" from being constructor parameter, and only be settable via a separate method

* Removed socket parameter TCP_KEEPINTVL ignored by Windows (determined via testing)

* Black wants an extra space before the comment. Whatever Black wants...
2020-12-02 04:29:57 +02:00
Yihezkel Schoenbrun d14ff0ccd0
Support norequesttimeout ClientRequestProperty (#279)
* Support norequesttimeout ClientRequestProperty by setting the timeout to its maximum (1h30s) + client-server delta.

* Adjust to black's formatting

* Align timeouts with .NET SDK, so that the 30 second client-server delta is not added twice to the existing timeouts.
2020-11-22 16:26:40 +02:00
Yochai Gilad c33c599c97
change azure identity dependency name from using (.) to using (-) as a seperator (#275) 2020-10-25 10:41:17 +02:00
Ariel Yehezkely 09ebbaa2af
Bump version 1.0.3 (#272) 2020-10-11 19:28:17 +03:00
Yihezkel Schoenbrun 4f560bab64
Clean up data (drop created table) after running E2E tests (#269)
* Clean up data (drop created table) after running E2E tests.

I remove a separate function that drops the table which was executed before starting the tests. Since the generated table name includes a second-based timestamp, this should only be necessary if the previous execution was *started* within 1 second of the current execution, including the time it took to create the table. As surprising as that might be (even if it failed immediately after creating the table and was then reexecuted), the function must've been added when this or some other situation that made this necessary was encountered. Adding randomness to the table's name should solve the same issue, but faster to reduce the E2E's already long runtime.

* Make black happy
2020-09-22 12:51:52 +03:00
Yihezkel Schoenbrun 66f7b31808
Add wrong endpoint detection (#267)
* Add wrong endpoint detection

* Rename client class

* Add except error types

* Add endpoint validation logic to blob ingestion

* Add test for wrong endpoint detection feature

* Do not enter wrong-endpoint-detection feature's flow if the hostname starts with "ingest-"

* Return an empty string if "show version" doesn't successfully execute
2020-09-21 12:41:00 +03:00
Yochai Gilad 3e32efb444
Users/yogilad/server error handling (#268)
* Better handling for 404 error from server

* simplified none check
2020-09-21 08:54:17 +03:00
Ariel Yehezkely f1c218be99
Support independent clouds URIs (#266) 2020-09-08 16:20:59 +03:00
K Rahul Reddy 41dc8e8e67
Fixed a typo (#247)
Fixed the spelling from `tenet id` to `tenant id`.
2020-08-06 12:35:56 +03:00
Ariel Yehezkely 12f2422335
Fix few typos (#262) 2020-08-06 12:33:05 +03:00
Ariel Yehezkely 9fc001073c
Parse decimal when using pandas (#261) 2020-08-04 13:39:35 +03:00
Yochai Gilad 2df5f755a8
version bump v1.0.2 (#260) 2020-07-29 14:47:05 +03:00
Yochai Gilad 422bc8da46
bug: sni auth options is not used (#259)
* bug: sni auth options is not used

* Checkpoint:
* Remote runner
* Test authorization

* token provider requires aad_fed_security set to true to work

* * remote runner works
* lint

* directory cleanup failure tolerance

* checkpoint: App ID & Key works

* move to kusto data (where auth is)

* remove remote test script from this repository
will find a new home for it later on
2020-07-29 14:32:28 +03:00
Yochai Gilad b2f40a1124
bump v1.0.1 (#257) 2020-07-23 15:18:11 +03:00
Yochai Gilad 37ac7ebbb2
Fix for msi auth (#255)
* Fix for msi auth
The azure.identity token result is different then msrestazure
2020-07-23 10:26:04 +03:00
Yochai Gilad 54875b16f1
bump version to 1.0.0 (#253) 2020-07-12 14:47:36 +03:00
Yochai Gilad 7497823a11
Switch from msrestazure to azure.identity to obtain MSI Tokens (#251)
* MSI: switch from msrestazure to azure.identity
This is a breaking change

* Add suggestion to exception message
2020-07-12 14:16:33 +03:00
Yochai Gilad 2c6a14ab03
Users/yogilad/sni auth (#252)
* Add suport for auth with certificate subject name and issuer
2020-07-12 08:30:36 +03:00
Ariel Yehezkely f9852bfcc5
Rasie exception when az cli token not found - Closes #240 (#250) 2020-07-09 12:54:35 +03:00
Yochai Gilad fd323e51c7
Fix missing exception message in KustoServiceError exception class (#241) 2020-06-11 11:40:10 +03:00
ohad bitton 9395507b6b
Fix version taking (#243) 2020-06-02 11:11:00 +03:00
Daniel Dubovski 24a9177434
Bump version (#239)
* Bump version

* Update _version.py
2020-05-31 11:07:53 +03:00
Daniel Dubovski 918a00ce5a
Update README.rst 2020-05-24 16:01:20 +03:00
Daniel Dubovski e356589b7b
Update README.rst 2020-05-24 16:00:59 +03:00
Daniel Dubovski 774d94efe2
Update README.md 2020-05-24 16:00:11 +03:00
Daniel Dubovski 4ccb261203
Update README.md 2020-05-24 15:59:41 +03:00
Daniel Dubovski d34ab9c929
Minor fixes to e2e (#238) 2020-05-24 15:57:09 +03:00
Daniel Dubovski f0a1693f8d
passing env vars to build pipe 2020-05-24 14:11:11 +03:00
Daniel Dubovski d1f6e25382
add e2e tests 2020-05-24 14:02:23 +03:00
Daniel Dubovski 82d4771541
V1.0.0 (#237) 2020-05-24 13:43:08 +03:00
Daniel Dubovski d7110f6f78
contrib.md + license note + test fixes (#232)
* contrib.md + license note + test fixes

* black for py > 3.6

* pr fixes

Co-authored-by: Daniel Dubovski <>
2020-05-18 09:26:19 +03:00
Yochai Gilad 4b9cea7f65
Test pr template - take #2 (#231) 2020-05-12 11:07:58 +03:00
Yochai Gilad 23eeb13bde
Move the template file to .github (#230) 2020-05-12 11:01:07 +03:00
Yochai Gilad aa568dfddb
Add a pull request template including a future Feature Release comment request (#229) 2020-05-12 10:48:48 +03:00