Closed killme2008 closed 1 month ago
Usage Examples:https://github.com/GreptimeTeam/greptimedb-ingester-go/blob/b07ec74f356ce7e853bc18664e0bdb42b6b64404/examples/hint/main.go#L93
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: https://github.com/GreptimeTeam/greptimedb-ingester-go/pull/48
Just like java sdk
https://github.com/GreptimeTeam/greptimedb-ingester-java/pull/43
https://github.com/GreptimeTeam/greptimedb-ingester-java/pull/44
Users can set custom table options as write hints when automatically creating tables:
append_mode
ttl
merge_mode