def _connect(self):
        if self._conf_defs['connection_type'] == DSN:
            conn_string = self._conf_defs['connection_string'] % 'DSN=%s'
            self.logger.debug('Connect to {0}'.format(conn_string))
            self._conn = pyodbc.connect(conn_string, unicode_results=True)
        elif self._conf_defs['connection_type'] == CONNECTION_STRING:
            self._conn = pyodbc.connect(self._conf_defs['connection_string'], unicode_results=True)
        else:
            #TODO need to be implemented based on connection string
            raise HydroException("Vertica connection string connection is not implemented")
dataset/ETHPy150Open Convertro/Hydro/src/hydro/connectors/vertica.py/VerticaConnector._connect/swapped operands of `%`