Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL lua FROM community;
LOAD lua FROM community;
Try it in a temporary SQL session with lua already loaded. Queries run in this tab; examples using files or services need their own setup.
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
SELECT lua('return "Hello " .. context', 'World');
Provided by isaacbrodsky. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
Adds support for the Lua embedded scripting language to DuckDB.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- isaacbrodsky/duckdb-lua
- License
- MIT
- Maintainers
- isaacbrodsky
- Written in
- C++
- Build source
f630ad32898f- Build definition
- Community descriptor