mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-28 03:08:53 -06:00
Comment fixes
This commit is contained in:
@@ -464,8 +464,8 @@ func (td TableDelta) GetSummary(ctx context.Context) (*TableDeltaSummary, error)
|
||||
}, nil
|
||||
}
|
||||
|
||||
// TODO: Modified columns (rename, add) without a data change are not
|
||||
// accounted for here, `dataChanged` is true when it should be false
|
||||
// TODO: Renamed columns without a data change are not accounted for here,
|
||||
// `dataChanged` is true when it should be false
|
||||
dataChanged, err := td.HasHashChanged()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@@ -2528,7 +2528,7 @@ var DiffSummaryTableFunctionScriptTests = []queries.ScriptTest{
|
||||
},
|
||||
{
|
||||
Query: "SELECT * from dolt_diff_summary(@Commit3, @Commit4, 't');",
|
||||
Expected: []sql.Row{{"t", "modified", true, true}}, // TODO: data change should be false for added column
|
||||
Expected: []sql.Row{{"t", "modified", true, true}},
|
||||
},
|
||||
{
|
||||
Query: "SELECT * from dolt_diff_summary(@Commit3, @Commit5, 't');",
|
||||
|
||||
Reference in New Issue
Block a user