Set MAX_COLUMN to 32000 #442
-
Hi, I want to use sqlite3 via Python with a large number of columns. I'm able to compile the amalgation with the right flag set. But when I then build apsw What am I missing here? Completely new to apsw but it seamed as a good way to achive what I'm after. Any help is much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Short answer is run this which combines everything into one step:
You'll note messages about Create a [build_ext]
definevalues = SQLITE_MAX_COLUMN=32000
[build]
# download corresponding sqlite release
fetch = True
# all extensions included
enable_all_extensions = True
# for Cursor.description_full
enable = COLUMN_METADATA Run this to make a wheel:
Then install the wheel whose filename will differ based on your Python version and cpu:
|
Beta Was this translation helpful? Give feedback.
-
Thx for thte quick answer. It tried both approaches (and I uninstalled apsw before installing) but I still see this in the shell.
|
Beta Was this translation helpful? Give feedback.
-
You can use
|
Beta Was this translation helpful? Give feedback.
Short answer is run this which combines everything into one step:
You'll note messages about
install
going away and the above will stop working at some point. This is the proper way of doing it.Create a
setup.apsw
file like the following. It is the pypi template with yourdefinevalues
added:Run this to make a wheel:
Then install the wheel whose filename will…