Skip to content

Commit

Permalink
create_arrow_columns function
Browse files Browse the repository at this point in the history
Co-authored-by: Radosław Waśko <[email protected]>
  • Loading branch information
JaroslavTulach and radeusgd authored Jun 11, 2024
1 parent bce1892 commit 37343e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Benchmarks/src/Table/Arithmetic.enso
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ type Data
arrow_u self = self.arrow.at 3
arrow_z self = self.arrow.at 4

create num_rows = Data.Value (create_table num_rows) <|
create num_rows = Data.Value (create_table num_rows) (create_arrow_columns num_rows)

create_arrow_columns num_rows =
column_to_arrow v:Vector -> Array =
builder = int64_new.new v.length
v.map e-> builder.append e
Expand Down

0 comments on commit 37343e4

Please sign in to comment.