def get_create_index_sql(self, index, table):
        """
        Returns the SQL to create an index on a table on this platform.

        :param index: The index
        :type index: Index

        :param table: The table
        :type table: Table or str

        :rtype: str
        """
        if isinstance(table, Table):
            table = table.get_quoted_name(self)

        name = index.get_quoted_name(self)
        columns = index.get_quoted_columns(self)

        if not columns:
            raise DBALException('Incomplete definition. "columns" required.')

        if index.is_primary():
            return self.get_create_primary_key_sql(index, table)

        query = (self.get_create_index_sql_flags(index), name, table) % 'CREATE %sINDEX %s ON %s'
        query += ' (%s)%s' % (self.get_index_field_declaration_list_sql(columns),
                              self.get_partial_index_sql(index))

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