removing recomputation
This commit is contained in:
@@ -197,9 +197,7 @@ message ColumnDefinition {
|
||||
// MONEY rounding applied before a value is stored.
|
||||
MoneyRounding rounding = 4;
|
||||
|
||||
// When true, the submitted script result is validated normally and the
|
||||
// stored value is also refreshed when one of its dependencies later changes.
|
||||
bool recompute_on_dependency_change = 5;
|
||||
reserved 5;
|
||||
}
|
||||
|
||||
// Response after table creation (success + DDL preview).
|
||||
|
||||
@@ -167,8 +167,7 @@ message StoredTableScript {
|
||||
string description = 5;
|
||||
// Complete allowlist of data inputs that may be exposed to this script.
|
||||
repeated ScriptDependency dependencies = 6;
|
||||
// Whether changes to dependency rows trigger authoritative server propagation.
|
||||
bool recompute_on_dependency_change = 7;
|
||||
reserved 7;
|
||||
}
|
||||
|
||||
message ScriptDependency {
|
||||
|
||||
@@ -75,7 +75,7 @@ message TableColumn {
|
||||
|
||||
// True for a user-defined column whose logic should be recomputed whenever
|
||||
// one of its dependencies changes. False for system and foreign-key columns.
|
||||
bool recompute_on_dependency_change = 5;
|
||||
reserved 5;
|
||||
|
||||
// True when the server created this as a companion of another logical column.
|
||||
bool generated = 6;
|
||||
|
||||
@@ -137,8 +137,7 @@ message PostTableDataResponse {
|
||||
// The id of the inserted row.
|
||||
int64 inserted_id = 3;
|
||||
|
||||
// Rows whose stored script values changed through dependency propagation.
|
||||
repeated RecomputedRow recomputed_rows = 4;
|
||||
reserved 4;
|
||||
|
||||
// Revision committed for the inserted row.
|
||||
int64 row_revision = 5;
|
||||
@@ -213,19 +212,12 @@ message PutTableDataResponse {
|
||||
// The id of the updated row.
|
||||
int64 updated_id = 3;
|
||||
|
||||
// Rows whose stored script values changed through dependency propagation.
|
||||
repeated RecomputedRow recomputed_rows = 4;
|
||||
reserved 4;
|
||||
|
||||
// Revision committed for the updated row.
|
||||
int64 row_revision = 5;
|
||||
}
|
||||
|
||||
message RecomputedRow {
|
||||
string table_name = 1;
|
||||
int64 row_id = 2;
|
||||
int64 row_revision = 3;
|
||||
}
|
||||
|
||||
// Soft-delete a single row.
|
||||
message DeleteTableDataRequest {
|
||||
// Required. Profile (schema) name.
|
||||
@@ -246,8 +238,7 @@ message DeleteTableDataResponse {
|
||||
// True if a row was marked deleted (id existed and was not already deleted).
|
||||
bool success = 1;
|
||||
|
||||
// Rows whose stored script values changed through dependency propagation.
|
||||
repeated RecomputedRow recomputed_rows = 2;
|
||||
reserved 2;
|
||||
}
|
||||
|
||||
// Fetch a single non-deleted row by id.
|
||||
|
||||
Reference in New Issue
Block a user