dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Unify DOLT_DIFF CLI and SQL table function logic

Open elianddb opened this issue 4 months ago • 0 comments

The DOLT_DIFF implementation currently duplicates core behavior between the CLI (dolt/go/cmd/dolt/commands/diff.go) and the SQL table function (dolt/go/libraries/doltcore/sqle/dtablefunctions/dolt_diff.go).

We should extract shared helpers that parse and normalize diff options. Consolidation will reduce maintenance overhead, and prevent subtle inconsistencies in flags and error handling.

For further context visit dolthub/dolt#9790.

elianddb avatar Sep 08 '25 20:09 elianddb