Comments (4)
Why do you want to do select without limit?
Note, you may specify limit 1000000000. But if you really have 1000000000 tuples, tarantool will serve only this query until all 100000000 tuples will be sent. No other queries will be processed at the same moment. (well, it is not exact truth, but quite close to truth).
And all those 1000000000 tuples will be materialized in go connector. Even if tuple contains one integer, response first will be read into 1-4GB buffer, then deserialized into 4GB array (if you use typed query).
So I ask you again: why do you want select without limit?
Perhaps I just don't understand exactly your use case.
from go-tarantool.
Simply in the original (in lua, tarantool console) there is no limit in plane select. That's why I asked. I looked at the type of the variable - it was uint32 - values is 0 to 4294967295 and I take this. Anyway, thank you! Without this library work with tarantool in golang would be very sad! )
from go-tarantool.
There is default limit in lua's select (iirc, i could be mistaken)
It is just not so cheap to make default value in Go: either it is hidden allocation, or another function name. So we decided to make it always explicit.
May be, next api version (if ever happens) will use struct as named arguments, so omitted fields will be default
May this issue be closed?
from go-tarantool.
Maybe in lua's select the limit not explicitly declared and maybe exist default limit, I do not know exactly, because in documentation i don't find something about it.
Yep, you can close the issue. Thank you for replay and for your work! Спасибо )
from go-tarantool.
Related Issues (20)
- v2: invalid delete(, insert?) and splice update operations HOT 9
- readme: add external types import to example
- ci: unable to install Tarantool on MacOS
- v2: improve pool.Connect interface
- v2: broken build with `-tags go_tarantool_ssl_disable`
- Suddenly go-openssl broken for go-tarantool HOT 1
- Support IPROTO_TUPLE_FORMATS
- ci: bad file descriptor for Tarantool
- crud: typed batches HOT 2
- Support IPROTO_IS_SYNC
- Cant GetTyped if one of tarantool response keys is non-string typed HOT 4
- pool: improve pool.Connect logic
- pool: add abiliry to make a request by an instance name
- gomod: bump go to 1.20
- pool: get status of an instance via WATCH_ONCE
- Update the code to go 1.20
- go-tarantool/v2/pool.Add: no logs on single connection failure HOT 2
- Can't get space length via tarantool.crud HOT 4
- Replace no longer works as expected on v2? HOT 1
- Integer/Unsigned number no longer valid since 3.x+v2? HOT 5
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 go-tarantool.