Use ObjectID as time/date for MongoDB
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
Feature request
In MongoDB the ObjectID contains a timestamp. This timestamp defaults to the time the ObjectID was created and thus is a very good way to keep track of creation date without adding another field.
Unfortunately, Metabase considers this field to be strictly an id, and thus can't group, select nor display the field as a date (i.e. group by month, select later than date X and show it as a human readable date).
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating MongoDB field handling in Metabase and trace how fields are typed, grouped, filtered, and displayed; the work is done when an ObjectID timestamp can be treated as a human-readable date for those operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, mongodb
- Domain
- data-visualization, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100