Skip to content
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

[core] add precision and scale to applicable types #39

Closed
6 tasks
rudolfix opened this issue Jun 27, 2022 · 0 comments · Fixed by #646
Closed
6 tasks

[core] add precision and scale to applicable types #39

rudolfix opened this issue Jun 27, 2022 · 0 comments · Fixed by #646
Assignees

Comments

@rudolfix
Copy link
Collaborator

rudolfix commented Jun 27, 2022

add precision and scale settings to following types

  • represent precision and scale as column hints for decimal types
  • precision for strings and binaries is a number of characters/bytes
  • precision for integers is number of bits
  • precision for time is number of digits of part of second (3 - mili, 6 - micro, 9 - nano)
  • accept decimal(9,1) from code and when loading schema, translate that to separate hints
  • we can leave the validation of the precision to the database engine - during schema creation
@rudolfix rudolfix self-assigned this Jun 27, 2022
@rudolfix rudolfix mentioned this issue Jun 27, 2022
11 tasks
@rudolfix rudolfix changed the title add precision and scale to applicable types [core] add precision and scale to applicable types Jul 8, 2022
@rudolfix rudolfix assigned steinitzu and unassigned rudolfix Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants