jariji commented on issue #473:
URL: https://github.com/apache/arrow-julia/issues/473#issuecomment-1616799800

   `Base.summarysize(df)` says 81 GB.
   
   ```jl
   julia> countmap(eltype.(eachcol(df)))
   Dict{Type, Int64} with 14 entries:
     Int64                     => 7
     Union{Missing, String15}  => 4
     Union{Missing, String127} => 11
     Union{Missing, String63}  => 3
     String15                  => 5
     Union{Missing, Int64}     => 2
     String63                  => 3
     String7                   => 6
     String127                 => 2
     Missing                   => 14
     String255                 => 1
     String31                  => 6
     Union{Missing, String31}  => 5
     Union{Missing, String255} => 2
   ```
   
   It takes ~1 second to write ~1 GB, so naively, writing 81 GB shouldn't take 
very long either, but I expect some overhead.
   
   ```jl
   julia> let r = rand(UInt8, 1024^3)
              @time open("data/temp", "w") do f
                  write(f, r)
              end
          end;
     1.118401 seconds (2.61 k allocations: 190.905 KiB, 0.87% compilation time)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to