bug: Document Meltano 2.2.0 requires SQLite >= 3.25.1
See original GitHub issueAs kindly reported by @pdebelak in https://github.com/meltano/meltano/pull/6323#issuecomment-1181955922, the ALTER TABLE table RENAME COLUMN oldname TO newname
syntax was introduced to SQLite only in version 3.25.1
, and so systems with a default version older than that may fail to run the migration and use Meltano.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
target-sqlite - Meltano Hub
The target-sqlite loader sends data into SQLite after it was pulled from a ... If you know the capabilities required by this plugin,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems like a quick solution by leveraging
sqlalchemy.engine.Dialect.server_version_info
. We could check the version tuple and fail with a clear message for SQLite<3.25.1. cc @aaronsteers @tayloramurphyI still think that Meltano should be shipped with the version of SQLite it expects to work with fine out of the box. Adding a dependency on https://pypi.org/project/pysqlite3-binary might be worth exploring, although it’s lacking wheels for macOS and Windows at the moment.
On amazon linux EC2 instance with meltano 2.6.0, I installed
pip install pysqlite3
and get version 3.7.* fromsqlite3 --version
I followed these instructions to upgrade sqlite version https://developpaper.com/update-sqlite-version-under-centos/
So this confirms everyone else’s findings and hopefully sheds a little light on a path forward