Skip to content

Latest commit

 

History

History

lua

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Arrow Lua example

There are Lua example codes in this directory.

How to run

All example codes use LGI to use Arrow GLib based bindings.

Here are command lines to install LGI on Debian GNU/Linux and Ubuntu:

$ sudo apt install -y luarocks
$ sudo luarocks install lgi

Lua example codes

Here are example codes in this directory:

  • write-file.lua: It shows how to write Arrow array to file in file format.

  • read-file.lua: It shows how to read Arrow array from file in file format.

  • write-stream.lua: It shows how to write Arrow array to file in stream format.

  • read-stream.lua: It shows how to read Arrow array from file in stream format.