-
Notifications
You must be signed in to change notification settings - Fork 123
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
ee.FeatureCollection
to ee.Dictionary
#373
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #373 +/- ##
==========================================
+ Coverage 90.85% 90.90% +0.04%
==========================================
Files 27 27
Lines 1663 1671 +8
Branches 78 78
==========================================
+ Hits 1511 1519 +8
Misses 130 130
Partials 22 22 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a general appreciation I love this PR as it solves an issue I open n the Google issue tracker a long time ago.
Appart from the comments I made on specific code, I'm asking myself a question, what error do we want to raise when the user specify a keycolumn that leads to duplicate id ?
- not the same number of parameters ? then we go all the way to the Dictionary setup and and values and key will not have the same length
- cannot use duplicate keys ? then same but we never use distinct on the keys
I think 2 is preferable (and that's what you coded) but I don't know if it was on purpose.
Answering to your general comment. Yes, it was on purpose. I actually wrote it down in the docstings. This is the perfect moment to express my follow up idea: I tried to applied a grouped reducer ( |
#368 (review)