-
Notifications
You must be signed in to change notification settings - Fork 2.1k
into sqlite errors are not helpful #16584
Copy link
Copy link
Open
Labels
A:database-SQLOur interactions with sqlite and any other work to interface with databases.Our interactions with sqlite and any other work to interface with databases.A:error-unhelpfulThe error message you observe is not helpful to identify the problemThe error message you observe is not helpful to identify the problemcategory:enhancementNew feature or requestNew feature or request
Description
Bug report form
- I have done a basic search of the issue tracker to find any existing issues that are similar.
- I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
When using into sqlite, resulting error is very basic and not helpful
It seems like no matter what, all that is returned on failure is this message:
Error: nu::shell::error
× Failed to prepare SQLite statement
Potentially related
How to reproduce
{ a: 1 } | into sqlite a.db{ b: 1 } | into sqlite a.db- Error message is returned
Expected behavior
As with most other errors in nushell, I might expect the error message to note something beyond Failed to prepare SQLite statement
Configuration
| key | value |
|---|---|
| version | 0.107.0 |
| major | 0 |
| minor | 107 |
| patch | 0 |
| branch | |
| commit_hash | c3a6992 |
| build_os | windows-x86_64 |
| build_target | x86_64-pc-windows-msvc |
| rust_version | rustc 1.87.0 (17067e9ac 2025-05-09) |
| rust_channel | 1.87.0-x86_64-pc-windows-msvc |
| cargo_version | cargo 1.87.0 (99624be96 2025-05-06) |
| build_time | 2025-09-03 01:35:52 +00:00 |
| build_rust_channel | release |
| allocator | standard |
| features | default, plugin, rustls-tls, sqlite, trash-support |
| installed_plugins | file 0.17.0, formats 0.107.0, gstat 0.107.0, inc 0.107.0, mime 0.107.0, polars 0.107.0, query 0.107.0 |
| experimental_options | example=false, reorder-cell-paths=false |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:database-SQLOur interactions with sqlite and any other work to interface with databases.Our interactions with sqlite and any other work to interface with databases.A:error-unhelpfulThe error message you observe is not helpful to identify the problemThe error message you observe is not helpful to identify the problemcategory:enhancementNew feature or requestNew feature or request