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

126 Коммитов

Автор SHA1 Сообщение Дата
Alex Kyllo 0ea3e528d9 Remove word 'scalable' and {} in Roxygen strings to resolve CRAN NOTEs 2023-10-11 11:39:17 -07:00
Alex Kyllo 86124d0f79 shorten long line in .rd 2023-03-16 15:38:41 -07:00
Alex Kyllo 417080aee1 add .drop, .sep, .preserve to unnest s3 method 2023-03-16 15:34:38 -07:00
Alex Kyllo faef203f27 update dplyr/tidyr function arguments to match generics 2023-03-16 15:21:52 -07:00
Alex Kyllo c8dc3b3146 s3 method consistency fixes 2023-03-15 15:25:20 -07:00
Alex Kyllo 34eff67a25 add tidyr::nest and unnest to imports so that S3 methods work 2023-02-14 14:54:25 -08:00
Alex Kyllo f9a7ef6829
Merge pull request #21 from Azure/export-1.1.0
Merge CRAN resubmission fixes for 1.1.0 back into master
2023-01-25 14:40:57 -08:00
Alex Kyllo 56518ce052
Bugfix-in (#20)
Fixed bug in KQL translation of `%in%` operator so that it now works when the right hand side is either a vector or a tabular expression.
2023-01-24 23:03:25 -08:00
Alex Kyllo ab45615312 fix and resubmit to CRAN 2022-12-20 21:13:22 -08:00
Alex Kyllo 8527843af4 export() as S3 generic for tbl_kusto and kusto_database_endpoint 2022-12-20 13:46:58 -08:00
Alex Kyllo cf404d4375 S3 method for export and more README examples 2022-12-20 12:49:16 -08:00
Alex Kyllo 8ca0bc7b67 add "cluster" to list of acceptable prop names for server 2022-12-20 11:48:13 -08:00
Alex Kyllo eaf7b06041 Added `$` as an infix operator in KQL expr 2022-12-20 07:54:36 -08:00
Alex Kyllo 66ee6d0550 add export() function 2022-12-20 07:53:23 -08:00
Alex Kyllo 85c5828af9 update group_by_prepare call for .dots deprecation 2022-12-20 07:50:21 -08:00
Alex Kyllo a7d462f2e3 add slice_sample dplyr verb 2022-12-20 07:48:54 -08:00
Alex Kyllo b2f84831f4 change default from device_code to authorization_code 2022-12-20 07:45:17 -08:00
Alex Kyllo ff95072b47 accept cluster name in place of server in kusto_database_endpoint 2022-12-20 07:36:54 -08:00
Alex Kyllo 1b42d056be Regenerate Rd files for R 4.2 2022-08-25 13:32:37 -07:00
Hong Ooi 12618f57ca rm server check 2021-10-20 19:37:24 +11:00
Hong Ooi f10344053c also request refresh, id tokens 2021-10-05 10:51:33 +11:00
Hong Ooi c2ca1b2843 pass version arg to AzureAuth 2021-10-05 10:14:55 +11:00
Hong Ooi 55a1e996ec switch to AAD v2 as default 2021-10-05 10:13:08 +11:00
Alex Kyllo 52653e6477 spelling fixes 2020-04-26 22:05:28 -07:00
Alex Kyllo 503e1b2349 add group_vars method impl for compatibility with dplyr 1.0.0 2020-04-26 21:44:32 -07:00
Alex Kyllo 0a93e17317
Delete .history 2020-01-29 13:18:25 -08:00
Alex 929b3cc029 replace use of `[[` with quo_get_expr() 2020-01-21 09:40:22 -08:00
Hong Ooi a3866a7031 minor fix to build_auth_str 2019-10-16 06:40:46 +11:00
Alex Kyllo 913075063f
Update query.R
replace "weakconsistency" with "strongconsistency"
2019-09-27 14:20:29 -07:00
Hong Ooi 180f1ef1a3 linting 2019-08-31 18:03:32 +10:00
Alex Kyllo b89652b26b condition a few tests on tidyr package version, remove some rlang functions that are deprecated in v 0.4.0 2019-08-30 17:25:32 -07:00
Hong Ooi 496dd1a26a tidy for cran 2019-07-06 02:32:48 +10:00
Alex Kyllo a35889ef8c Add nest/unnest verbs and dynamic to list columns (#50)
* add unnest verb

* add nest() verb

* add test for nest() verb

* re-run document()

* add proper group handling for nest()

* add test for unnest with multiple columns

* remove dead code

* update documentation

* fix broken .Rd files

* bugfix in parse_command_result()

* only overwrite DataType into ColumnType if it doesn't exist; add integration tests for nest/unnest
2019-05-10 10:57:12 +10:00
Alex Kyllo 4f43580c00 bugfix: regression in summarize clause generation 2019-04-22 10:43:04 -07:00
Alex Kyllo e0845b7659 remove nchar() call from kql_escape_ident 2019-04-16 11:58:19 -07:00
Alex Kyllo 388edf1b6d add compute and copy_to verbs (#45)
* add compute and copy_to verbs

* fix integration tests for compute and copy_to

* recompile documentation for compute.tbl_kusto

* remove ame_src

* qualify dplyr calls in test cases, and test copy_to where source is a query on the same db

* Update .gitignore

* review changes

* rm extraneous {}'s
2019-03-27 05:45:12 +11:00
Hong Ooi c5ad2ddb90 Support cross-cluster joining with dplyr interface (#44)
* add cluster to table spec

* test cross-cluster joining

* cross-cluster join hinting

* update doc

* fix ingest Rd

* typo

* cross-cluster hinting test
2019-03-21 08:02:03 -07:00
Hong Ooi 88b4d76894 fed login must actually always be true 2019-03-19 19:23:40 +11:00
Alex Kyllo 698a6d7a8b Include params in partial evaluation environment (#43)
* include params in environment for partial evaluation of expressions in filter() and mutate()

* include params in environment for partial evaluation of expressions in filter() and mutate()

* update docstring for tbl_kusto_abstract to reflect removal of simulate_kusto()

* replace 'setosa' with p again in filter param test

* add comment explaining vars_select usage and extract add_params_to_quosure function

* add parameterised query integration test

* require bit64 quietly
2019-03-14 13:43:42 +11:00
hong-revo db1b0c48f0 add endpoint print method 2019-03-07 22:53:25 +11:00
hong-revo fc70ff19a5 add examples to docs 2019-03-07 22:40:42 +11:00
Hong Ooi aa87296df0 Add hinting support for joins, summarise (#41)
* initial changes

* modify ops

* testing

* summarize hints

* document

* make hints more explicit, add documentation

* typo

* fix hints for joining

* add hinting integration tests

* support num_partitions hint
2019-03-05 10:34:29 -08:00
Hong Ooi 2a762ef12b Support common tenant (#38)
* support common tenant

* document

* update readme

* add missing ... arg
2019-02-22 07:55:59 -08:00
hong-revo f39e67004f require AzureStor quietly 2019-02-22 22:32:22 +11:00
Hong Ooi 7394245d58
Escape identifiers with [' '] (#35)
* fix #33: don't escape join type
* fix #32: escape lhs of mutate, rename, summarise exprs
* close #34: add print method
* add dplyr integration testing
* changes to tbl_kusto_abstract and simulate_kusto
* fix for escaping table names when table name is a Kusto function call
2019-02-22 13:24:26 +11:00
hong-revo b6e926af71 queryUri -> uri 2019-02-21 15:17:25 +11:00
hong-revo ffb24478d7 fix handling of dynamic cols 2019-02-21 00:17:36 +11:00
hong-revo ea9223bf5b fix token logic to allow for AAD 2.0 2019-02-20 20:39:36 +11:00
Alex Kyllo 0a7607e54c add base case for flatten_query that works for op_base_remote where x is not a tbl_df 2019-02-19 19:37:39 -08:00
Alex Kyllo 5aa2bef83c Add support for dates and local variables in the dplyr API (#31)
* work on adding date parameter support

* add basic support for passing as.POSIXct, as.POSIXlt, as.Date, and strptime to dplyr functions

* add partial_eval from dbplyr to look up variables in the enclosing local R environment

* typos
2019-02-16 07:43:31 +11:00