Skip to content

Conversation

@quintonparker
Copy link
Contributor

No description provided.

@ashtul
Copy link
Contributor

ashtul commented Apr 30, 2020

@quintonparker
Can you please add a test?

@gkorland gkorland requested a review from mnunberg April 30, 2020 20:45
@mnunberg
Copy link
Contributor

@quintonparker can you add a test for this?

@mnunberg
Copy link
Contributor

lgtm otherwise

@quintonparker quintonparker force-pushed the value-error-issue-67 branch from b6f1e71 to 455ecdf Compare May 11, 2020 14:05
@quintonparker
Copy link
Contributor Author

@mnunberg oops. my bad. rebased with a test

This object automatically created in the `AggregateRequest.group_by()`
"""
def __init__(self, fields, reducers):
if not fields:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quintonparker
Why remove this and then remove the test?
Aren't they both relevant?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @ashtul

see #67

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically, aggregation queries that is possible on the cli is not reproducible with redisearch-py because this code is enforcing the fields var to be non-empty

@gkorland gkorland linked an issue Jul 5, 2020 that may be closed by this pull request
@gkorland gkorland merged commit 0d6f17f into RediSearch:master Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants