Support intervalds and/or intervaldsus
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
The issue names Python timedelta and the Comdb2 intervalds/intervaldsus values but no files or tests. Start by locating the existing Python-to-Comdb2 type mappings and their tests, then determine how timedelta precision should map to each interval type. Done means durations can be stored and retrieved through the API without using numeric seconds.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
It would be convenient to store time durations directly in the DB rather than storing it as a number of seconds.
Describe the solution you'd like
Use a Python timedelta to map to the Comdb2 intervalds or intervaldsus values. This seems like a natural mapping.
Describe alternatives you've considered
The alternative is to use a double or an int (depending on the needed precision) to store the duration as a number of seconds.
- Dominant language
- Python
- Stars
- 29
- Forks
- 28
- Avg merge
- 11h 25m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bloomberg/python-comdb2
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
bloomberg/python-comdb2#80 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
bloomberg/python-comdb2#61 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
bloomberg/python-comdb2#60 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bloomberg/python-comdb2#42 · 14 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
bloomberg/python-comdb2#41 ·
All issues in bloomberg/python-comdb2
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·