keenlabs / keen-sdk-net

A .NET SDK for the Keen IO API
MIT License
37 stars 23 forks source link

Implementing cached dataset querying #96

Closed Shalelol closed 6 years ago

Shalelol commented 7 years ago

Changes

Comments

Issues addressed

masojus commented 7 years ago

Thanks @Shalelol I will take a look! Meanwhile could you specify which Issues this resolves? Thanks!

Shalelol commented 7 years ago

Hey @masojus I've updated my initial comment to include the issues addressed so far. I also may look into addressing more of the issues related to cached datasets as my requirements grow.

masojus commented 7 years ago

Thank you @Shalelol! And don't worry about the AppVeyor failure. I imagine it's an expected failure I need to deal with but all the tests look to have passed. I presume manual testing went well? Or are there any major corner cases to watch out for?

Shalelol commented 7 years ago

@masojus So far all manual testing is working perfectly. I will inform you if any corner cases pop up.

I'm also still yet to write a unit test for GetDatasetDefinition but will be doing so shortly.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.3%) to 55.106% when pulling 6f3a5b403c4d207090b17d5dd59ca757c7d5127a on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

Shalelol commented 7 years ago

Hey @masojus, I just want to apologize for the messy state of some of the code. I just realized that I didn't really communicate how WIP this Pull Request is. I had/have every intention of coming back and cleaning everything up, things such as xml comments, moving files out and scoping usings to match the rest of the project. This is still very much an in progress project at the moment as we move all of our querying to cached querying.

I was just putting the WIP PR up nice and early so that it's on your radar =]

Thanks for your comments so far, I will make sure to clean everything up.

masojus commented 7 years ago

@Shalelol No worries. I'm just skimming it anyway, so I'll take a closer look at it later when you've tidied up a bit and think it's ready for prime time. 👍 Thanks!

tbarn commented 7 years ago

@Shalelol just wanted to say, thanks for working on this! We really appreciate it.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.3%) to 55.106% when pulling e0a6ebbe5f4ca410aede12b356c16251633a9788 on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

masojus commented 7 years ago

We don't have the Travis config merged into master yet, so I wouldn't worry too much about that one.

Shalelol commented 7 years ago

Just updated the opening comment with issues. I plan to implement #88, #91 and #92 for completeness.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-6.01%) to 51.439% when pulling dae4202d0254649bb4d7482fb47e70b20210bf69 on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-6.4%) to 51.085% when pulling 4b42fce0b52993330d5d5427c030aaeddc9c482d on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-6.3%) to 51.138% when pulling 891b1aeaedabb9d9d288676d8570150b28cf918d on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-6.2%) to 51.301% when pulling c2602e99a236e0190fa16d3a9126f13df53536b2 on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-5.9%) to 51.539% when pulling 3fcb789ddd383b4298a9b593623cdabf72689355 on clickviewapp:cached-datasets into 7f201124217b559026c8db3f07d85b3f7a61546a on keenlabs:master.

Shalelol commented 7 years ago

Coveralls likes to point out when you've been bad, but not when you're trying to improve the coverage 😞.

baumatron commented 7 years ago

I think It should hand out gold stars and/or free beers for increased coverage ⭐️ 🍻.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.1%) to 56.346% when pulling ff25092ebdbbaccb0ecb786fe5a7d986f83b9a2e on clickviewapp:cached-datasets into 72457ff57503bba4395a89f5d445b26c6065e485 on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+2.3%) to 59.724% when pulling 7674dc44563e51d0a0a82cecc9329c0a5ecf77a7 on clickviewapp:cached-datasets into 72457ff57503bba4395a89f5d445b26c6065e485 on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+3.9%) to 61.314% when pulling f90189c67817684450ce7cac5decd8ebaffa44c7 on clickviewapp:cached-datasets into 72457ff57503bba4395a89f5d445b26c6065e485 on keenlabs:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+3.9%) to 61.314% when pulling 16b6f51707a99d7c3d8da811e2e4b7cadc2621bf on clickviewapp:cached-datasets into 72457ff57503bba4395a89f5d445b26c6065e485 on keenlabs:master.

Shalelol commented 7 years ago

Hey @masojus. I've finished implementing all the Cached Dataset issues, and I've brought the coverage of Keen.Core.Dataset up to 91%. I've also gone through and added XML comments to everything that is public facing.

Could you please give this another review when you have time?

Thanks 😃.

masojus commented 7 years ago

Thank you! We'll get some eyes on this as soon as possible.

masojus commented 7 years ago

Sorry for the delay here. We're going to be merging the dotnetsummer branch shortly and will address this after that so as to also port it to .NET Standard 2.0 while we're at it.

masojus commented 6 years ago

Hello @Shalelol, we've now merged the big chunk of work we wanted to get into master before taking this PR on. Could you merge from master and update the PR? If you need help with that we can pitch in, but then we could work on getting this PR in. Thanks!

masojus commented 6 years ago

I created branch jm_UpdateCachedDatasetsBranch to get this up to date with master and continue the conversation. I'll probably close this PR and we can finish polishing that off in the new PR.

masojus commented 6 years ago

See PR #128 for a continuation of this PR.