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

Test null types for double/integers #355

Closed
sonalgoyal opened this issue Jun 21, 2022 · 1 comment
Closed

Test null types for double/integers #355

sonalgoyal opened this issue Jun 21, 2022 · 1 comment
Assignees
Milestone

Comments

@sonalgoyal
Copy link
Member

Build test cases with

csv with double and schema as double

  • what is the value returned by getAs when the values are null/0.5 gbp/gbp as values?

ditto for integers

@sonalgoyal sonalgoyal added this to the 0.3.4 milestone Jun 21, 2022
@navinrathore
Copy link
Contributor

sample input data and its internal output

       
Test Input Test Output
Double Integer Double Integer
0.55 55 0.55 55
1.234 1234 1.234 1234
34 gbp 34 null
99.56 9956 99.56 9956
56gbp 56 null 56
23 23gbp 23 null
  45 null 45
65   65 null
    null null
0.5 gbp 23 null 23
56 56 56 56
$ 64 null null
null 34 null 34
78 null 78 null
78 87 78 87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants