Repository navigation
Troubleshooting
Robin Kooyman edited this page Dec 2, 2026
·
4 revisions
Find the error text in the tables below. Beacon shows install errors in the INSTALL result and in beacon.system.plugins.
| Error text | Cause | Fix |
|---|---|---|
plugin SDK ABI 6, Beacon needs 7 |
The plugin uses an SDK of another Beacon version. | Set the SDK to the Beacon version of the server. Run cargo update -p beacon-plugin-sdk. Build again. |
plugin built for DataFusion FFI <a>, Beacon has <b> |
The plugin uses another DataFusion major version. | The same fix. |
no archive for df<major>-<target> or any |
The release has no archive for the DataFusion version or the target of the server. | Build the archive for that target. Check the SDK version. |
SHA256SUMS not found at <url> |
The release or the folder has no SHA256SUMS. |
Use the release workflow. Or run the pack script, which writes SHA256SUMS. |
SHA256SUMS has no entry for <file> |
SHA256SUMS does not list the archive. |
Write SHA256SUMS again for all archives. |
plugin '<name>' requires Beacon <range>, this is Beacon <version> |
plugin.beacon does not match the server. |
Install a release for this Beacon version. Or change plugin.beacon. |
invalid plugin name '<name>' |
The name has other characters, or starts with a digit. | Use lowercase letters, digits and _. Start with a letter. |
plugin '<name>' needs [native] or [sql] |
The manifest has neither table. | Add [native], [sql] or both. |
native library <file> is missing: the plugin has <files> |
The archive is for another platform, or native.library names another file. |
Install the archive for the platform of the server. Check native.library against lib.name. |
native library <file> is missing: the plugin has no library file |
The archive has no library. | Pack with --library and --target. |
the library has no beacon_plugin_abi symbol |
The library has no export macro. | Add beacon_plugin_sdk::export_plugin!(...) to lib.rs. |
plugin exports no functions, no file formats and no table types |
The export macro gives nothing. | Add scalar = ..., formats = ... or tables = ... to the macro. |
unknown export_plugin! key `<key>`: use scalar, formats or tables |
A compile error: the macro has an unknown key. | Use scalar, formats or tables. |
plugin init failed: <message> |
functions() failed or panicked. |
Read the message. A common cause is a builder without returns. |
plugin file formats failed: <message> |
formats() failed or panicked. |
Read the message. |
plugin table types failed: <message> |
tables() failed or panicked. |
Read the message. |
function '<f>' of plugin '<p>' collides with <owner> |
A function name or alias is in use. | Start each name with the plugin name. |
the file format key `<key>` is already in use |
The format name is in use. A built-in format can hold it. | Use another format name. |
the table type `<name>` is a built-in table type |
Beacon has a table type with that name. | Use another name. Start it with the plugin name. |
the table type `<name>` is already in use by a file format |
A format has that name. | Use another name. |
the table type `<name>` is already in use by plugin '<p>' |
Another plugin has a table type with that name. | Use another name. |
table type `<name>` of plugin '<p>' collides with a file format of the same plugin |
A format and a table type of the plugin have the same name. | Give them different names. |
invalid table type name `<name>`: use lower case a-z, 0-9 and _ |
The table type name has other characters. | Use lowercase a-z, 0-9 and _. |
invalid file format name or extension `<text>` |
A format name or extension has other characters. | Use lowercase a-z, 0-9 and _. |
the function `read_<name>` is already in use |
Another format or table function has that name. | Change the format name. |
the manifest name '<a>' does not match the plugin name '<b>' |
The name after INSTALL is not plugin.name. |
Use plugin.name after INSTALL. |
plugin SQL files may hold only CREATE FUNCTION |
A SQL file has another statement. | Keep only CREATE FUNCTION statements. |
the plugin folder <dir> already exists |
A folder with the plugin name is in the plugins directory. | Run UNINSTALL <name>. Delete a broken folder by hand. |
| Error text | Cause | Fix |
|---|---|---|
file format `<name>` is not installed |
The plugin of the format is uninstalled. | Install the plugin again. |
read_<name> has no option `<key>`. Valid options: ... |
The options struct has an unknown field. | Use a field of table_function_args. |
read_<name> takes no options |
The format has no table_function_args. |
Remove the options struct. |
cannot read the schema of <path> |
infer_schema failed for one file. |
Read the next part of the message. Check the file. |
plugin function '<name>' panicked: <message> |
The function body panicked. | Return an error with exec_err! instead. |
file format <name> cannot write |
COPY to a format whose can_write is false. |
Implement write and return true from can_write. |
file format <name> supports only COPY and append writes |
An overwrite to a table of a plugin format. | Use COPY or INSERT INTO. |
file format <name>: cannot write <path> |
write returned an error. |
Read the next part of the message. |
the write ordering names column `<col>`, which is not in the input |
write_ordering names a column that the query does not give. |
Return only input columns from write_ordering. |
table '<t>' needs plugin '<p>', and the plugin is uninstalled |
The plugin of the table type is uninstalled. | Install the plugin again and restart the server. |
Table name '<name>' is not valid: use only letters, digits, '_' and '-' |
A new table name has another character, such as a space. | Rename the table. |
'<f>' belongs to plugin '<p>'; use UNINSTALL <p> |
DROP FUNCTION on a plugin function. |
Use UNINSTALL. |
| Problem | Cause | Fix |
|---|---|---|
| A filter on a plugin function prunes no files. | The function has no planner hook. | Add implies, or bounds and propagate. See Planner hooks. |
| Rows are missing with a planner hook. | The implies or propagate rule is too narrow. |
Make the rule correct for each row. A wider rule is always correct. |
| The Beacon server stops at a query. | A fault in native code, such as an out-of-bounds access in unsafe code. |
Remove unsafe code. Test with the unit tests and in a test server. |
| A query on a plugin format is slow, or other queries wait. | A poll does much CPU work, or blocks. | Keep each poll short. Do not block in async code. |
cargo build fails with beacon plugins need panic = "unwind". |
The profile sets panic = "abort". |
Remove the setting. |
| The release workflow stops at "Read the manifest". | The tag is not v<plugin.version>. |
Push a tag that matches the manifest. |
A new tag in BEACON_PLUGINS does not update the plugin. |
Beacon installs only a plugin that is not installed. | Run UNINSTALL, then INSTALL with the new tag. |
Host::of fails in a test. |
The session is not from Beacon. | In a test, implement HostApi and build the host with Host::new. |
| The memory of the server grows after updates. | Each install of a native plugin loads one more library. | Restart the server. |
For Beacon v2.1.0-rc4 (SDK ABI 7, DataFusion 55). Template repository: maris-development/beacon-plugin-template.