NIFI-5644 Fixed typo in getWrappedQuery method of AbstractDatabaseFetchProcessor class

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4106.
This commit is contained in:
karthik.kadajji 2020-03-03 13:17:04 +01:00 committed by Pierre Villard
parent 852d2f3210
commit 2cf4fde686
No known key found for this signature in database
GPG Key ID: BEE1599F0726E9CD
1 changed files with 2 additions and 2 deletions

View File

@ -316,8 +316,8 @@ public abstract class AbstractDatabaseFetchProcessor extends AbstractSessionFact
}
}
protected static StringBuilder getWrappedQuery(DatabaseAdapter dbAdaper, String sqlQuery, String tableName) {
return new StringBuilder("SELECT * FROM (" + sqlQuery + ") " + dbAdaper.getTableAliasClause(tableName));
protected static StringBuilder getWrappedQuery(DatabaseAdapter dbAdapter, String sqlQuery, String tableName) {
return new StringBuilder("SELECT * FROM (" + sqlQuery + ") " + dbAdapter.getTableAliasClause(tableName));
}
protected static String getMaxValueFromRow(ResultSet resultSet,