def get_partial_index_sql(self, index):
        """
        Adds condition for partial index.

        :param index: The index
        :type index: Index

        :rtype: str
        """
        if self.supports_partial_indexes() and index.has_option('where'):
            return index.get_option('where') % ' WHERE %s'

        return ''
dataset/ETHPy150Open sdispater/orator/orator/dbal/platforms/platform.py/Platform.get_partial_index_sql/swapped operands of `%`