189 Commits

Author SHA1 Message Date
stevedodson
4bb73215a0
Resolving inconsistent __repr__ test on python 3.5 (#98) 2019-12-12 12:51:29 +01:00
Michael Hirsch
79fdb1727e
Add Support for Series Histograms (#95)
* add support for series plotting
* update docs for series plotting support
* add tests for series plotting
* fix typo
* adds comment to ed_hist_series
2019-12-11 14:51:47 -05:00
Camilla
40a584dcc2
Adds build status sticker to README and runs test on different Python versions (#84)
* Adds build status sticker to README

* Adds Python version to test matrix

* Adds debug echo message

* Adds back Python 3.5.3 to test matrix
2019-12-11 15:41:34 +01:00
stevedodson
c5730e6d38
Feature/python 3.5 (#93)
* Adding python 3.5 compatibility.

Main issue is ordering of dictionaries.

* Updating notebooks with 3.7 results.

* Removing tempoorary code.

* Defaulting to OrderedDict for python 3.5 + lint all code

All code reformated by PyCharm and inspection results analysed.
2019-12-11 14:27:35 +01:00
stevedodson
9a2d55f3c8
Feature/pandas.0.25.3 (#92)
* Resolving pandas link

* Removing temporary file
2019-12-10 19:22:27 +01:00
stevedodson
e8a0fbb9f3
Feature/pandas.0.25.3 (#91)
* Added example notebooks + pytest for these notebooks1

* Fixed paths

* Fixing link in docs

* Minor update for pandas 0.25.3

* Updates for pandas 0.25.3

* Fixing doc links with pandas 0.25.3 update.

* Reverting overwrite to changes to notebooks.
2019-12-10 16:05:37 +01:00
stevedodson
133b227b93
Added example notebooks + pytest for notebooks (#87)
* Added example notebooks + pytest for these notebooks1

* Fixed paths

* Fixing link in docs

* Adding cleaner demo_notebook
2019-12-10 15:27:13 +01:00
stevedodson
206276c5fa
Adding Apache 2 copyright header to all .py files (#86) 2019-12-06 09:44:05 +00:00
stevedodson
f06219f0ec
Feature/refactor tasks (#83)
* Significant refactor of task list in operations.py

Classes based on composite pattern replace tuples for
tasks.

* Addressing review comments for eland/operations.py

* Minor update to review fixes

* Minor fix for some better handling of non-aggregatable fields: https://github.com/elastic/eland/issues/71

* Test for non-aggrgatable value_counts

* Refactoring tasks/actions

* Removing debug and fixing doctest
2019-12-06 08:46:43 +00:00
Michael Hirsch
f263e21b8a Better Handling of Non Aggregatable Fields (#85)
* updates ecommerce mapping to include non-aggregatable text field

* updates exists tests and adds new tests for non-aggregatable field

* better handling on non-aggregatable fields

* fixes formatting

* swaps series in assertion

* adds newline
2019-12-06 08:20:09 +00:00
Francesco Vigliaturo
99bfea42b6
Added support for 2 date formats: (#70)
* Adds support for multiple date formats
2019-12-04 17:42:50 +01:00
stevedodson
13141645f7
Merge pull request #82 from stevedodson/feature/fix_nested_not_filters
Feature/fix nested not filters
2019-12-03 15:32:31 +00:00
Stephen Dodson
1423aaad2d Adding minor fixes to last PR 2019-12-03 14:07:05 +00:00
Stephen Dodson
57857277cd Merge remote-tracking branch 'upstream/master' into feature/fix_nested_not_filters 2019-12-03 14:03:03 +00:00
Stephen Dodson
bf6c56878a Correcting license files + fixing bug in filter
LICENSE and NOTICE conform to Elastic policy. Bug in
nested negated filters fixed.

Also, some limited cleanup.
2019-12-03 13:56:49 +00:00
Camilla
b56588463c
Merge pull request #81 from Winterflower/pull-request-job
Refactors tests and adds config to fix SSL issue
2019-12-03 14:20:01 +01:00
Winterflower
3e82d43351 Merge branch 'pull-request-job' of https://github.com/Winterflower/eland into pull-request-job 2019-12-02 20:32:30 +01:00
Winterflower
10e1adb680 Removes code duplication in test code 2019-12-02 20:31:53 +01:00
Camilla
5a5f38e28a
Merge branch 'master' into pull-request-job 2019-12-02 20:26:10 +01:00
Winterflower
33674088ca Refactors eland tests to accept pre-configured client 2019-12-02 20:23:40 +01:00
Winterflower
9c15e237ca Adds env variable to pass test suite version into container 2019-12-02 20:22:07 +01:00
Camilla
4b2daa9ddc
Merge pull request #80 from Winterflower/pull-request-job
Adds Pull Request job for eland CI
2019-12-02 18:15:54 +01:00
Winterflower
7f8d384f03 Adds pull request CI job for eland 2019-12-02 17:29:17 +01:00
Winterflower
4e6305c24a Removes stripping of http from url 2019-12-02 17:29:17 +01:00
Winterflower
32cd181065 Adds pull request CI job for eland 2019-12-02 17:22:34 +01:00
Winterflower
8aadc33687 Removes stripping of http from url 2019-12-02 17:18:40 +01:00
Camilla
d3caf663c5
Merge pull request #77 from Winterflower/max-compilations-limit
Increase script.max_compilations_rate
2019-12-02 13:13:29 +01:00
Winterflower
08357126cb Adds function to increase script.max_compilations_rate to prevent test failures 2019-12-02 13:08:47 +01:00
Camilla
9e176f08f3
Merge pull request #75 from Winterflower/ci-setup
Fixes misconfigured env variable for CI setup
2019-12-02 11:54:21 +01:00
Winterflower
9571fcb2fa Fixes misconfigured env variable 2019-12-02 11:46:07 +01:00
Camilla
99ae4057f4
Merge pull request #61 from Winterflower/ci-setup
Eland CI Setup
2019-11-29 10:19:06 +01:00
Winterflower
beaf719201 Making run_build.sh executable 2019-11-29 08:58:31 +01:00
Winterflower
8a9e83d0e5 Removes line that sets run_build.sh as executable and adds Python versions to test_matrix.yml 2019-11-28 13:50:05 +01:00
Winterflower
78b4a2291b Drops default Python version of Dockerfile to 3.7, because Pandas 0.25.1 is not compatible with Python 3.8 and Pandas 0.25.2 is breaking some eland tests 2019-11-27 21:29:26 +01:00
Winterflower
9ab411984a Adds extra step to Dockerfile build to take advantage of layer caching and avoid repulling dependencies in requirements.txt if they don't change 2019-11-27 21:05:02 +01:00
Winterflower
83d0c3de38 Adds helpful statement to know which ES instance you are connecting to 2019-11-27 21:03:47 +01:00
Winterflower
ce477021c1 Strips hostname from extra http if present in string to prevent failures in low level Python socket module 2019-11-27 21:03:03 +01:00
Michael Hirsch
a3dd86075a
String Arithmetics: __add__ ops (#68)
* adds support for __add__ ops for string objects and literals

* adds tests for string arithmetic

* updates comment in numeric field resolution

* adds op_type parameter for numeric_ops
2019-11-27 10:44:17 -05:00
Winterflower
ba1c932823 Making run_build script an executable during container build 2019-11-26 16:28:24 +01:00
Winterflower
cc8a27398a Adding newline to end of file 2019-11-26 13:57:32 +01:00
Winterflower
80aec42d10 Add shebang header to run_tests 2019-11-26 13:56:41 +01:00
stevedodson
33f5495352
Merge pull request #67 from stevedodson/feature/user_guide
Reformat and cleanup based on PyCharm inspect and reformat
2019-11-26 12:17:00 +00:00
Stephen Dodson
93dadc054c Fixing docstring format 2019-11-26 11:10:18 +00:00
Stephen Dodson
86686ebb18 Reformat and cleanup based on PyCharm 2019-11-26 11:02:46 +00:00
Winterflower
1c9b8f1298 Adding run_build script 2019-11-25 21:07:37 +01:00
Winterflower
c5b479b4f9 Adding line to read ES hostname from docker env var 2019-11-25 20:41:58 +01:00
Winterflower
12236078a8 Adding -r flag to pip install command and fixing name of Dockerfile in run-tests 2019-11-25 19:50:19 +01:00
Winterflower
d0aa84a894 First attempt at suitable Dockerfile and config for building Docker image for eland 2019-11-25 19:15:37 +01:00
Winterflower
ad118fcbad Adding 7.5 snapshot in test matrix 2019-11-25 18:14:20 +01:00
stevedodson
5ce315f55c
Merge pull request #64 from stevedodson/feature/arithmetics
Series arithmetics, series metric aggs, series docs
2019-11-25 16:17:12 +00:00