Update types of datetime values passed to SQL's `CAST();`
Open
Nobody has claimed this yet.
datetime
sql
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
CAST can accept only integer values for year, month, day,
hour, min, sec, usec, msec, nsec and tzoffset.
timestamp can be integer or double.
Requested by @ligurio in https://github.com/tarantool/tarantool/commit/f57be571b5e4cc8d57c7e97c15b52df37ad6f12c.
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.
Research direction
Locate the documentation for SQL CAST and review how the datetime value types are described. Update the listed fields so year, month, day, hour, min, sec, usec, msec, nsec, and tzoffset accept integers, while timestamp accepts integers or doubles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100