Skip to content

Commit

Permalink
Fix typo in test constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Aug 3, 2021
1 parent 89b40ce commit f18a0a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
public abstract class BaseIcebergConnectorTest
extends BaseConnectorTest
{
private static final Pattern WITH_CLAUSE_EXTRACTER = Pattern.compile(".*(WITH\\s*\\([^)]*\\))\\s*$", Pattern.DOTALL);
private static final Pattern WITH_CLAUSE_EXTRACTOR = Pattern.compile(".*(WITH\\s*\\([^)]*\\))\\s*$", Pattern.DOTALL);

private final FileFormat format;

Expand Down Expand Up @@ -694,7 +694,7 @@ private String getTablePropertiesString(String tableName)
{
MaterializedResult showCreateTable = computeActual("SHOW CREATE TABLE " + tableName);
String createTable = (String) getOnlyElement(showCreateTable.getOnlyColumnAsSet());
Matcher matcher = WITH_CLAUSE_EXTRACTER.matcher(createTable);
Matcher matcher = WITH_CLAUSE_EXTRACTOR.matcher(createTable);
return matcher.matches() ? matcher.group(1) : null;
}

Expand Down

0 comments on commit f18a0a5

Please sign in to comment.