Skip to content

Commit

Permalink
Merge pull request #170 from azaurus1/fix-upsert-ttl-field
Browse files Browse the repository at this point in the history
Fix upsert ttl field
  • Loading branch information
azaurus1 authored Jun 21, 2024
2 parents 6f3547f + 568a6e5 commit db4a1f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go-pinot-api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func handleGetTableConfig(w http.ResponseWriter, r *http.Request) {
"dropOutOfOrderRecord":false,
"hashFunction":"NONE",
"defaultPartialUpsertStrategy":"OVERWRITE",
"metadataTTL":0.0,
"metadataTTL":84600,
"deletedKeysTTL":0.0,
"enablePreload":false,
"enableSnapshot":true
Expand Down
2 changes: 1 addition & 1 deletion model/Table.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ type UpsertConfig struct {
DefaultPartialUpsertStrategy string `json:"defaultPartialUpsertStrategy,omitempty"`
ComparisonColumns string `json:"comparisonColumn,omitempty"`
DeleteRecordColumn string `json:"deleteRecordColumn,omitempty"`
MetadataTTL int64 `json:"metadataTTL,omitempty"`
DeletedKeysTTL float64 `json:"deletedKeysTTL,omitempty"`
HashFunction string `json:"hashFunction,omitempty"`
EnableSnapshot *bool `json:"enableSnapshot,omitempty"`
EnablePreLoad *bool `json:"enablePreLoad,omitempty"`
UpsertTTL string `json:"upsertTTL,omitempty"`
DropOutOfOrderRecord *bool `json:"dropOutOfOrderRecord,omitempty"`
OutOfOrderRecordColumn string `json:"outOfOrderRecordColumn,omitempty"`
MetadataManagerClass string `json:"metadataManagerClass,omitempty"`
Expand Down

0 comments on commit db4a1f3

Please sign in to comment.