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

It is not friendly that the type of ExtraParams in struct Mapping is string in go-sdk #4130

Closed
3 tasks
ThreadDao opened this issue Oct 29, 2020 · 0 comments
Closed
3 tasks
Assignees
Labels
kind/enhancement Issues or changes related to enhancement
Milestone

Comments

@ThreadDao
Copy link
Contributor

Please state your issue using the following template and, most importantly, in English.

Describe the bug
It is not easy to unmarshal dimension from ExtraParams (string) when get_collection_info

// CollectionParam informations of a collection
type Mapping struct {
	// CollectionName collection name
	CollectionName string
	// Fields fields
	Fields []Field
	// ExtraParams extra params
	ExtraParams string
}
[{float 10 {} {"params":"null"}} {float_vector 101 {} {"params":"{\"dim\":128}"}}] {"params":"{\"auto_id\":false,\"segment_row_count\":5000,\"segment_row_limit\":524288}"}}

Steps/Code to reproduce behavior
Follow this guide to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.

Expected behavior
A clear and concise description of what you expected to happen.

Method of installation

  • Docker/cpu
  • Docker/gpu
  • Build from source

Environment details

  • Hardware/Softwars conditions (OS, CPU, GPU, Memory)

  • Milvus version (master or released version)
    -0.11.1

Configuration file
Settings you made in server_config.yaml or milvus.yaml

paste-file-content-here

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@ThreadDao ThreadDao added sdk/go kind/enhancement Issues or changes related to enhancement labels Oct 29, 2020
@ThreadDao ThreadDao added this to the 0.11.1 milestone Oct 29, 2020
@fishpenguin fishpenguin changed the title It is not frienfly that the type of ExtraParams in struct Mapping is string in go-sdk It is not friendly that the type of ExtraParams in struct Mapping is string in go-sdk Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

2 participants