Comments (5)
this might be related to #32. What is the Python code you use to retrieve your results?
from pymonetdb.
The Python (Python 3.5) code is as stated in my opening issue:
from pymonetdb import mapi
mapiCon = mapi.Connection()
mapiCon.connect( hostname="localhost", port=50000, username= and so on....)
data = mapiCon.cmd("sSELECT .....")
from pymonetdb.
The solution seems to be:
Constrain reply size to 1000 by mapiCon.cmd("Xreply_size 1000")
I.e:
from pymonetdb import mapi
mapiCon = mapi.Connection()
mapiCon.connect( hostname="localhost", port=50000, username= and so on....)
mapiCon.cmd("Xreply_size 1000")
data = mapiCon.cmd(...myQuery...)
from pymonetdb.
Sorry for the delay, only found time to look at this now. This is not really unexpected since this is how MAPI works. Still, I'll add a helper function.
from pymonetdb.
there now is a map.connection.set_reply_size()
helper.
from pymonetdb.
Related Issues (20)
- Make code style checking stricter (mypy and flake8)
- Value error in dates HOT 1
- Problem with parameters in execute. HOT 5
- Control.status() crashes when connecting without a host name
- Add support for prepared statements HOT 4
- Properly handle multiple result sets HOT 2
- Make Cursor.execute() return None instead of -1 HOT 1
- pymonetdb can not upload to remote MonetDB server from client HOT 2
- Separate SQL errors from connection errors during query execution HOT 5
- SQLSTATE error code removed from error messages HOT 6
- Fix master branch, travis is failing HOT 1
- Re-enable travis integration HOT 1
- Support day interval type HOT 4
- `cursor.executemany` does not work as expected HOT 2
- Use of BokenPipeError breaks DBAPI compatability in 1.4.0 HOT 2
- Rename pymonetdb (back) to (python-)monetdb HOT 1
- Day interval issue? HOT 1
- Connection object leaks the password HOT 1
- slow data transfer HOT 2
- Github actions broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymonetdb.