Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Adi Lefkowitz 3ecf0c8df6 changed numField argument to be an explicit number in aggregation functions with condition tests 2021-11-09 15:28:12 +02:00
Adi Lefkowitz 4e5ac10354 array slice 2021-11-08 12:01:14 +02:00
Adi Lefkowitz 22322a2212 array slice 2021-11-08 11:55:00 +02:00
Adi Lefkowitz 09d9f7d1c2 aggregation function with condition 2021-11-07 16:37:58 +02:00
Adi Lefkowitz b57f598105 make_set_if function 2021-11-04 11:01:50 +02:00
idanbrus d9d2a192eb
Add take any function (#179) 2021-11-02 10:48:26 +02:00
idanbrus 87aec7fc75
Add day of week function (#177)
* add day_of_week

* fix test to fit KQL

* change return type

* fix typing

* add support for datetime type

* cr fix

* remove redundant import
2021-10-07 11:49:57 +03:00
Yonatan Most 9b5ce67610
Enforce type checks during tests (#168) 2021-07-28 16:02:20 +03:00
Ofri Kleinfeld 5c2f7faf2f fix dcountif test 2021-04-29 12:41:01 +03:00
Ofri Kleinfeld e7b63aba70 add rand function 2021-04-29 12:29:37 +03:00
amos-rimon 07883b2bfd
#127 - add regex functions (#139) 2021-04-07 10:42:44 +03:00
amos-rimon 7d2f1fc6c1
#91- add wildcard to functions (#137) 2021-04-04 17:09:21 +03:00
Yonatan Most 4a4a8db08f Fix argument types in hash function 2020-08-27 15:17:22 +03:00
Yonatan Most 0f6ff9a350 Allow numeric expression as mod argument to hash function 2020-08-27 14:50:42 +03:00
Amos Rimon e7642ef358 #116 - add nod parameter to hash function 2020-08-26 13:21:25 +03:00
Yonatan Most f3db6dd352 Merge remote-tracking branch 'origin/master' into pykusto-88-flagging-internal-classes
# Conflicts:
#	pykusto/_src/functions.py
#	pykusto/expressions.py
2020-07-21 14:29:55 +03:00
Yonatan Most b5532d5c20 Move code to _src for better of externally-facing names 2020-07-21 13:10:38 +03:00
Yonatan Most c51e20f35e More internal classes and constants. Unify to_kql and _subexpr_to_kql 2020-07-21 11:59:02 +03:00
Amos Rimon 011a485796 #98 - fixing pack_dictionary 2020-07-07 09:14:11 +03:00
Amos Rimon 1cdfbc089d #6 - supporting union for show tables 2020-07-01 11:52:47 +03:00
Yonatan Most 3c62c4abcf
Prevent accidental use of logical operators (#97) 2020-06-16 13:18:43 +03:00
Yonatan Most 89235ad79c
Add functions: all_of, any_of; Allow providing multiple predicates to 'where' (#87) 2020-06-15 14:52:36 +03:00
Yonatan Most 6764cd8547
Add support for Azure CLI authentication (#83) 2020-06-01 12:56:47 +03:00
Yonatan Most 325b81b456
Add anyif, percentiles_array, sample-distinct, top-hitters, countof, ingestion_time (#78)
* Added any_if, fixed some type hints, improved style

* Added percentiles_array

* Add tests

* Add support for sample-distinct + test

* Add support for top-hitters + test

* Implemented countof
closes #79

* #80 Add ingestion_time method

* Add link and fix now() return type

Co-authored-by: Yonatan Most <>
2020-05-31 11:44:08 +03:00
Yonatan Most 55ecf7602d
More array functions (#70)
More array functions
2020-04-26 18:11:05 +03:00
Yonatan Most f389ac0794 Add doc links 2020-04-23 13:45:03 +03:00
Yonatan Most 099dc77680
Fix ambiguous subtraction result type (#68)
Fix subtraction ambiguous types, and some type hints
2020-04-23 11:14:43 +03:00
Yonatan Most aa5c8152ae Rename some methods to python standards, added some missing type hints 2020-04-21 13:22:03 +03:00
Yonatan Most ccd570eddf Add max_if and min_if, change functions package to static functions, update project settings, 2020-04-21 12:04:04 +03:00
Yonatan Most e1c66952d5
Increase test coverage to 100% + fixes of discovered bugs (#60) 2020-03-18 16:25:30 +02:00
Yonatan Most dec4b41c6f
Allow different types in iff and show a warning. Import improvements (#58)
Co-authored-by: Yonatan Most <>
2020-03-09 16:52:46 +02:00
Yonatan Most aa17875c72
Autocomplete database, table and column names (#54) 2020-03-09 10:24:59 +02:00
Yonatan Most fb86bbc7a6 Remove redundant parentheses in assignment, use single quotes in tests to avoid numerous escapes 2020-02-11 15:36:31 +02:00
Yonatan Most 6786f70947
Merge pull request #44 from Azure/to_nums
To nums
2020-01-16 14:29:32 +02:00
dapole b2086e3ef5 Merge branch 'master' into to_nums
# Conflicts:
#	pykusto/functions.py
2020-01-16 14:05:29 +02:00
Yonatan Most 67fedcd6e8 Handle different and related types in iff 2020-01-14 20:52:31 +02:00
dapole 04345636f7 test tohex 2020-01-14 16:02:26 +02:00
shaike87 1a096bf3a4
Merge pull request #42 from Azure/#40-literal-dynamic
fix #40 literal dynamic
2020-01-14 11:14:44 +02:00
Yonatan Most 9375cd55e0 Merge remote-tracking branch 'origin/master' into #1-types
# Conflicts:
#	pykusto/expressions.py
2020-01-13 12:39:49 +02:00
Shai Keren 085455ebd3 Merge branch 'master' into issue-37-split
# Conflicts:
#	setup.py
2020-01-12 17:49:14 +02:00
dapole 494895a2ce test implementation of converting functions like toint 2020-01-09 20:31:54 +02:00
Yonatan Most ed956aa337 Fix handling of literal dynamic 2020-01-01 15:43:35 +02:00
Yonatan Most 78ef8ac287 Post merge fixes 2020-01-01 15:21:38 +02:00
Yonatan Most 1d2b91145d Merge remote-tracking branch 'origin/master' into #1-types
# Conflicts:
#	pykusto/expressions.py
2020-01-01 15:17:08 +02:00
Yonatan Most 9e5d250766 Improve type inference and conversion 2020-01-01 14:59:10 +02:00
Shai Keren 844fa3dacc fix #37 - split 2020-01-01 14:45:33 +02:00
Shai Keren 643e7f7ea1 fix #9 - parse_json 2020-01-01 13:25:28 +02:00
Shai Keren 42dca4bbcd Merge branch 'fix-35-refactor-types' into PyKusto-9-Implement-parse_json
# Conflicts:
#	pykusto/expressions.py
2020-01-01 12:59:14 +02:00
Shai Keren 303558e7cc Merge branch 'master' into PyKusto-9-Implement-parse_json 2019-12-29 18:42:09 +02:00
Shai Keren 914651cdf3 fix #9 - add tests for parse_json (code still needs rewriting for them to pass) 2019-12-29 18:41:33 +02:00