-
Notifications
You must be signed in to change notification settings - Fork 72
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
Implement type system #92
Conversation
e75ffc5
to
c29d824
Compare
Made the RelationData abstract class template. So it can be used as a base class for other classes that represent column layout data with differenent column types.
It is usefull to be able to parse the same table more than once
test(11.4, 3.14); | ||
test(-102, 11); | ||
test(-123, 123); | ||
test(-21, -7); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Думаю, в тестах нужно ещё фиксировать, что происходит, если поделить на 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
По стандарту ub, на практике, думаю, происходит sigfpe (на линуксе). Кажется, ни то, ни то нельзя отловить в тестах.
Implements classes for types and classes describing typed columns, relational typed data. Knowing the type of data in a column is necessary to collect statistics and identify possible typos in typo mining workflow.