Quantco / tabulardelta

Simplify table comparisons.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

feature request: Add the option to provide a where condition #5

Open DominikZuercherQC opened 2 months ago

DominikZuercherQC commented 2 months ago

It would increase userfriendliness if an optional filter condition could be passed to a comparator (eg the SqlCompyreComparator) that allows to prefilter the two tables before comparing them

AaronTacke commented 2 months ago

Should the condition be a SQLAlchemy condition (e.g. sa.column("col_name") == 2) or rather raw sql (e.g. col_name = 2)?