def find(
        self,
        dataset_rows: "DataTable",
        node: Node,
        fields: Sequence[str],
        type=None,
        conds=None,
        order_by=None,
    ) -> Iterator[tuple[Any, ...]]:
        """
        Finds nodes that match certain criteria and only looks for latest nodes
        under the passed node.
        """
        dr = dataset_rows
        fields = [dr.col_name(f) for f in fields]
        query = self._find_query(
            dr,
            node.path,
            fields=fields,
            type=type,
            conds=conds,
            order_by=order_by,
        )
        return self.db.execute(query)

        Finds nodes that match certain criteria and only looks for latest nodes
        under the passed node.
        
src/datachain/data_storage/warehouse.py