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

Supports gRPC write hints #40

Closed
killme2008 opened this issue Sep 5, 2024 · 1 comment
Closed

Supports gRPC write hints #40

killme2008 opened this issue Sep 5, 2024 · 1 comment
Assignees

Comments

@killme2008
Copy link

killme2008 commented Sep 5, 2024

Just like java sdk

GreptimeTeam/greptimedb-ingester-java#43

GreptimeTeam/greptimedb-ingester-java#44

Users can set custom table options as write hints when automatically creating tables:

  • append_mode
  • ttl
  • merge_mode
@daviderli614
Copy link
Member

daviderli614 commented Sep 23, 2024

Usage Examples:

hints = append(hints,

hints = append(hints,
  hint.Hint{Key: "ttl", Value: "3d"},
  hint.Hint{Key: "merge_mode", Value: "last_non_null"},
  hint.Hint{Key: "append_mode", Value: "false"},
)

PR: #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants