Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Reconsider data types #867

Closed
nichtich opened this issue Jan 7, 2024 · 4 comments
Closed

Reconsider data types #867

nichtich opened this issue Jan 7, 2024 · 4 comments

Comments

@nichtich
Copy link
Contributor

nichtich commented Jan 7, 2024

The Table Schema tag lists several issues related to data types. These might better be discussed together. Subgroups may be:

date and times

numeric types

units

compound types

@roll roll changed the title Reconsider data types Reconsider date/time types Jan 8, 2024
@roll roll changed the title Reconsider date/time types Reconsider data types Jan 8, 2024
@peterdesmet
Copy link
Member

I agree it would be easier if these were discussed as subgroups. What would be the best forum for this? Call, discussions, grouping issues, etc.?

@khusmann
Copy link
Contributor

Can we also include categorical / ordinal types as its own group? Right now they're implemented as constraints / extensions on other types, but I think deserve first-class discussion. (relevant issue: #844)

@roll
Copy link
Member

roll commented Feb 20, 2024

In my opinion, the most pressing issue for v2 is number type ambiguity. With a simple example like this:

schema.json

fields:
  -name: value
   type: number

data.csv

value
1.1
2.2
3.3

We get into an undefined state when we need to export data into e.g. SQL because float and numeric (decimal) types are completely different both physically and logically. Table Schema doesn't provide any information regarding this similar to JSON (and JSON really suffers from it when it comes to e.g. monetary data)

@nichtich
Copy link
Contributor Author

See also this comparison of SQL data types.

@frictionlessdata frictionlessdata locked and limited conversation to collaborators Oct 21, 2024
@roll roll converted this issue into discussion #1024 Oct 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

4 participants