Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-8471: [C++][Integration] Represent 64 bit integers as strings#7292
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
e14f60a47ce0f82e97dffdbdd293bf372271ec2517File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -255,7 +255,7 @@ static const char* JSON_EXAMPLE = R"example( | ||
| "fields": [ | ||
| { | ||
| "name": "foo", | ||
| "type": {"name": "int", "isSigned": true, "bitWidth": 32}, | ||
| "type": {"name": "int", "isSigned": true, "bitWidth": 64}, | ||
| "nullable": true, "children": [] | ||
| }, | ||
| { | ||
| @@ -272,7 +272,7 @@ static const char* JSON_EXAMPLE = R"example( | ||
| { | ||
| "name": "foo", | ||
| "count": 5, | ||
| "DATA": [1, 2, 3, 4, 5], | ||
| "DATA": ["1", "2", "3", "4", "5"], | ||
bkietz marked this conversation as resolved.
Outdated
Uh oh!There was an error while loading. Please reload this page. | ||
| "VALIDITY": [1, 0, 1, 1, 1] | ||
| }, | ||
| { | ||
| @@ -289,7 +289,7 @@ static const char* JSON_EXAMPLE = R"example( | ||
| { | ||
| "name": "foo", | ||
| "count": 4, | ||
| "DATA": [1, 2, 3, 4], | ||
| "DATA": ["-1", "0", "9223372036854775807", "-9223372036854775808"], | ||
| "VALIDITY": [1, 0, 1, 1] | ||
| }, | ||
| { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -646,6 +646,14 @@ template <typename T, typename R = void> | ||
| using enable_if_physical_unsigned_integer = | ||
| enable_if_t<is_physical_unsigned_integer_type<T>::value, R>; | ||
| template <typename T> | ||
| using is_physical_integer_type = | ||
| std::integral_constant<bool, is_physical_unsigned_integer_type<T>::value || | ||
| is_physical_signed_integer_type<T>::value>; | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure 100%. but, is this indentation correct? MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. C++ indentation is deferred to | ||
| template <typename T, typename R = void> | ||
| using enable_if_physical_integer = enable_if_t<is_physical_integer_type<T>::value, R>; | ||
| // Like is_floating_type but excluding half-floats which don't have a | ||
| // float-like c type. | ||
| template <typename T> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -26,7 +26,8 @@ class GoTester(Tester): | ||
| CONSUMER = True | ||
| # FIXME(sbinet): revisit for Go modules | ||
| GOPATH = os.getenv('GOPATH', '~/go') | ||
| HOME = os.getenv('HOME', '~') | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the change, just set MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know why | ||
| GOPATH = os.getenv('GOPATH', os.path.join(HOME, 'go')) | ||
| GOBIN = os.environ.get('GOBIN', os.path.join(GOPATH, 'bin')) | ||
| GO_INTEGRATION_EXE = os.path.join(GOBIN, 'arrow-json-integration-test') | ||
Uh oh!
There was an error while loading. Please reload this page.