Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] TypeError raised in inserting vectors with async set true #200

Closed
BossZou opened this issue Apr 29, 2020 · 0 comments
Closed

[BUG] TypeError raised in inserting vectors with async set true #200

BossZou opened this issue Apr 29, 2020 · 0 comments
Labels
help wanted Extra attention is needed kind/bug Something isn't working

Comments

@BossZou
Copy link
Contributor

BossZou commented Apr 29, 2020

Describe the bug
See (#2172)[https://github.com/milvus-io/milvus/issues/2172]

@BossZou BossZou added kind/bug Something isn't working help wanted Extra attention is needed labels Apr 29, 2020
BossZou added a commit that referenced this issue May 15, 2020
* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>
@BossZou BossZou closed this as completed May 15, 2020
BossZou added a commit that referenced this issue May 29, 2020
* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* Ready to develop v0.2.12

Signed-off-by: yhz <[email protected]>

* add attribute name in stub

Signed-off-by: yhz <[email protected]>

* Prepare version 0.2.11 (#210)

* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* update exxample

Signed-off-by: yhz <[email protected]>

* add retry

Signed-off-by: yhz <[email protected]>

* .

Signed-off-by: yhz <[email protected]>

* Ready to release version 0.2.12

Signed-off-by: Yhz <[email protected]>
BossZou added a commit that referenced this issue Jun 13, 2020
* Update doc link

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* Start to develop v0.2.11

Signed-off-by: Yhz <[email protected]>

* update for hybrid

Signed-off-by: Yhz <[email protected]>

* add hybrid api

Signed-off-by: Yhz <[email protected]>

* update hybrid insert

Signed-off-by: yhz <[email protected]>

* add hybrid search

Signed-off-by: yhz <[email protected]>

* add search hybrid

Signed-off-by: Yhz <[email protected]>

* update hybrid searach example

Signed-off-by: Yhz <[email protected]>

* fix error when rpc timeout

Signed-off-by: yhz <[email protected]>

* Update hybrid api

Signed-off-by: yhz <[email protected]>

* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* Ready to develop v0.2.12

Signed-off-by: yhz <[email protected]>

* add attribute name in stub

Signed-off-by: yhz <[email protected]>

* Prepare version 0.2.11 (#210)

* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* update exxample

Signed-off-by: yhz <[email protected]>

* add retry

Signed-off-by: yhz <[email protected]>

* .

Signed-off-by: yhz <[email protected]>

* update grpc codegen for hybrid usage

Signed-off-by: Yhz <[email protected]>

* update hybrid api

Signed-off-by: Yhz <[email protected]>

* examples

Signed-off-by: yhz <[email protected]>

* Add new API called 'reload_segments' temporarily

Signed-off-by: yhz <[email protected]>

* add

Signed-off-by: yhz <[email protected]>

* Ready to release version 0.2.12

Signed-off-by: Yhz <[email protected]>

* Add sdk statistics badges (fix #220)

Signed-off-by: Yhz <[email protected]>

* Merge

Signed-off-by: yhz <[email protected]>

* Return 2-D empty result if response is empty

Signed-off-by: yhz <[email protected]>

* Fix http get entity by id issue

Signed-off-by: yhz <[email protected]>

* Add single connection pool

Signed-off-by: yhz <[email protected]>

* Add SingleScopedConn

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* enlarge timeout to 30

Signed-off-by: yhz <[email protected]>

* Set default pool is sightenthread

Signed-off-by: yhz <[email protected]>

* Add keepalive time

Signed-off-by: yhz <[email protected]>

* Remove __del__

Signed-off-by: Yhz <[email protected]>

* Preprepare for v0.2.13

Signed-off-by: Yhz <[email protected]>

* Prepare for v0.2.13

Signed-off-by: Yhz <[email protected]>

* Remove surplus grpc import

Signed-off-by: Yhz <[email protected]>

* Update example and readme

Signed-off-by: Yhz <[email protected]>

* Ut pass

Signed-off-by: Yhz <[email protected]>
BossZou added a commit that referenced this issue Jul 20, 2020
* Update doc link

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* Start to develop v0.2.11

Signed-off-by: Yhz <[email protected]>

* update for hybrid

Signed-off-by: Yhz <[email protected]>

* add hybrid api

Signed-off-by: Yhz <[email protected]>

* update hybrid insert

Signed-off-by: yhz <[email protected]>

* add hybrid search

Signed-off-by: yhz <[email protected]>

* add search hybrid

Signed-off-by: Yhz <[email protected]>

* update hybrid searach example

Signed-off-by: Yhz <[email protected]>

* fix error when rpc timeout

Signed-off-by: yhz <[email protected]>

* Update hybrid api

Signed-off-by: yhz <[email protected]>

* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* Ready to develop v0.2.12

Signed-off-by: yhz <[email protected]>

* add attribute name in stub

Signed-off-by: yhz <[email protected]>

* Prepare version 0.2.11 (#210)

* add new api search_by_ids

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: Yhz <[email protected]>

* fix typo

Signed-off-by: Yhz <[email protected]>

* fix search by ids error

Signed-off-by: Yhz <[email protected]>

* add search_by_ids test case

Signed-off-by: Yhz <[email protected]>

* use connection pool

Signed-off-by: yhz <[email protected]>

* async api pass

Signed-off-by: Yhz <[email protected]>

* add async examples

Signed-off-by: Yhz <[email protected]>

* Fix TypeError raised in inserting vectors with async set true (#200)

Signed-off-by: Yhz <[email protected]>

* add timeout for async APIs

Signed-off-by: Yhz <[email protected]>

* add API close

Signed-off-by: Yhz <[email protected]>

* optimzie code

Signed-off-by: Yhz <[email protected]>

* remove terminate() in pool

Signed-off-by: Yhz <[email protected]>

* deprated connect

Signed-off-by: Yhz <[email protected]>

* get collection info failed when info is null (fix #201)

Signed-off-by: yhz <[email protected]>

* fix

Signed-off-by: yhz <[email protected]>

* update http handler

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* filter -1 result

Signed-off-by: Yhz <[email protected]>

* Update APIs names

Signed-off-by: yhz <[email protected]>

* update future done not raise exception

Signed-off-by: Yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* Fix excepted exceptions if async invoke with timeout (#207)

Signed-off-by: yhz <[email protected]>

* remove api compacity

Signed-off-by: yhz <[email protected]>

* add more params in pool

Signed-off-by: yhz <[email protected]>

* add pool try_connect and pre_ping params

Signed-off-by: yhz <[email protected]>

* remove parms recycle

Signed-off-by: yhz <[email protected]>

* update for http handler

Signed-off-by: Yhz <[email protected]>

* update example

Signed-off-by: yhz <[email protected]>

* update readme

Signed-off-by: yhz <[email protected]>

* update

Signed-off-by: yhz <[email protected]>

* rename project name

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.11

Signed-off-by: yhz <[email protected]>

* update async example

Signed-off-by: yhz <[email protected]>

* update exxample

Signed-off-by: yhz <[email protected]>

* add retry

Signed-off-by: yhz <[email protected]>

* .

Signed-off-by: yhz <[email protected]>

* update grpc codegen for hybrid usage

Signed-off-by: Yhz <[email protected]>

* update hybrid api

Signed-off-by: Yhz <[email protected]>

* examples

Signed-off-by: yhz <[email protected]>

* Add new API called 'reload_segments' temporarily

Signed-off-by: yhz <[email protected]>

* add

Signed-off-by: yhz <[email protected]>

* Ready to release version 0.2.12

Signed-off-by: Yhz <[email protected]>

* Add sdk statistics badges (fix #220)

Signed-off-by: Yhz <[email protected]>

* Merge

Signed-off-by: yhz <[email protected]>

* Return 2-D empty result if response is empty

Signed-off-by: yhz <[email protected]>

* Fix http get entity by id issue

Signed-off-by: yhz <[email protected]>

* Add single connection pool

Signed-off-by: yhz <[email protected]>

* Add SingleScopedConn

Signed-off-by: yhz <[email protected]>

* ..

Signed-off-by: yhz <[email protected]>

* enlarge timeout to 30

Signed-off-by: yhz <[email protected]>

* Set default pool is sightenthread

Signed-off-by: yhz <[email protected]>

* Add keepalive time

Signed-off-by: yhz <[email protected]>

* P test V0.3.33

Signed-off-by: yhz <[email protected]>

* Fix has_partition bug in http handler

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.14

Signed-off-by: yhz <[email protected]>

* Prepare for v0.2.14

Signed-off-by: yhz <[email protected]>

* Remove hybrid example

Signed-off-by: yhz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant