We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4834d commit 946bb8dCopy full SHA for 946bb8d
test/runtests.jl
@@ -32,6 +32,16 @@ end
32
@test firstrow["d"] == 0
33
@test firstrow["e"] == "test_missing"
34
end
35
+@testset "large integers" begin
36
+ rows = Tables.table([2^52 2^53 2^54])
37
+ names = [:a, :b, :c]
38
+ types = [Int64 for _ in 1:3]
39
+ json = TableView.table2json(Tables.Schema(names, types), rows, types)
40
+ firstrow = JSON.parse(json)[1]
41
+ @test firstrow["a"] == 4503599627370496
42
+ @test firstrow["b"] == "9007199254740992"
43
+ @test firstrow["c"] == "18014398509481984"
44
+end
45
@testset "normal array" begin
46
array = rand(10, 10)
47
@test showtable(array) isa WebIO.Scope
0 commit comments