Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] WIP fix to deduplicate drilldowns #195

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[bug] WIP fix to deduplicate drilldowns #195

wants to merge 2 commits into from

Conversation

AnthonyHewins
Copy link

This is definitely not done, but if you want to check if this is anywhere in the expected ballpark, please go ahead

@jspeis
Copy link
Contributor

jspeis commented Sep 25, 2019

@hwchen what do you think so far?

The only thing I might suggest adding so far would be a test case for the Ok case. Nice work so far @AnthonyHewins !

@hwchen
Copy link
Collaborator

hwchen commented Sep 26, 2019

Thanks again @AnthonyHewins for your work, really sorry I've been slow to respond, I'm a bit busy at the moment.

@AnthonyHewins
Copy link
Author

Thanks for the comments, I just updated my PR. Added logic to check that measures and drilldowns both exist. Also made the assertions more verbose to make sure it was picking up on the right error.

Apologize if I'm lacking a bit of knowledge in the OLAP domain...I learned about them very briefly about 3-4 years ago and it wasn't in-depth. I will put aside some time to get up to speed, it's a realm I'm going to encounter anyways at some point.

@jspeis
Copy link
Contributor

jspeis commented Oct 4, 2019

@AnthonyHewins this is looking very good! I will take a closer look tomorrow and test it out

@jspeis jspeis marked this pull request as ready for review October 4, 2019 17:22
@jspeis
Copy link
Contributor

jspeis commented Oct 4, 2019

Looks good to me so far. @hwchen in terms of hooking this up, were you thinking that this would get called in do_aggregate?

@hwchen
Copy link
Collaborator

hwchen commented Oct 8, 2019

yup @jspeis that sounds good.

@jspeis
Copy link
Contributor

jspeis commented Oct 10, 2019

@AnthonyHewins would you feel comfortable hooking up your validate function in the do_aggregate functions? (both in the regular and streaming modes?)

We're happy to help if you have any questions!

@AnthonyHewins
Copy link
Author

Absolutely, this weekend is probably when I can get around to doing that. I may have some questions along the way but I'll just post them after I make a commit

@jspeis
Copy link
Contributor

jspeis commented Oct 10, 2019 via email

@AnthonyHewins
Copy link
Author

Sorry it's taken some time, things got a little crazy the past two weeks, but I have gotten around to implementing part of it. I want to spend some time with actix so I know how to properly send the right error with FutureResponse before I push up though, once I get a chance to reach that part in the tutorial I will push up and hopefully this drawn-out PR will come to a close lol

@jspeis
Copy link
Contributor

jspeis commented Oct 31, 2019

@AnthonyHewins thanks for sharing!

EDIT: sorry misread originally. let us know whenever is good! Thanks again for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants