tree: 10e2f3fb00b96bb498be20aa167df3ef6ff474e8 [path history] [tgz]
  1. Makefile.am
  2. meson.build
  3. read-batch.lua
  4. read-stream.lua
  5. README.md
  6. write-batch.lua
  7. write-stream.lua
c_glib/example/lua/README.md

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-batch.lua: It shows how to write Arrow array to file in batch mode.

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

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

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