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

feat: Add decimal support to integration tester #361

Merged
merged 19 commits into from
Jan 25, 2024
Prev Previous commit
Next Next commit
try static
paleolimbot committed Jan 12, 2024
commit 51ded36a5b4db1ee652c912f48fceedef67e8ff1
4 changes: 2 additions & 2 deletions src/nanoarrow/utils.c
Original file line number Diff line number Diff line change
@@ -224,9 +224,9 @@ struct ArrowBufferAllocator ArrowBufferDeallocator(
return allocator;
}

const int kInt32DecimalDigits = 9;
static const int kInt32DecimalDigits = 9;

const uint64_t kUInt32PowersOfTen[] = {
static const uint64_t kUInt32PowersOfTen[] = {
1ULL, 10ULL, 100ULL, 1000ULL, 10000ULL,
100000ULL, 1000000ULL, 10000000ULL, 100000000ULL, 1000000000ULL};