def parameterize(self, tables):
        column = {self.CREATE: "codelet_date_created",
                  self.MODIFY: "codelet_date_modified"}[self.type]
        op = {self.BEFORE: "<=", self.AFTER: ">="}[self.relation]
        cond = (column, column, op) % "IF(ISNULL(%s), 0, %s %s ?)"
        return cond, [self.date], [], False
dataset/ETHPy150Open earwig/bitshift/bitshift/query/nodes.py/Date.parameterize/swapped operands of `%`