diff --git a/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java b/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java index 9e0ac1ba7e..e64fff26af 100644 --- a/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java +++ b/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java @@ -171,7 +171,6 @@ @Slf4j public class SqlLanguagePlugin extends PolyPlugin { - public static final String LIMIT = "limit"; @Getter @VisibleForTesting private static boolean isInit = false; @@ -223,7 +222,7 @@ public static void startup() { private static QueryContext removeLimit( QueryContext queryContext ) { String lowercase = queryContext.getQuery().toLowerCase(); - if ( !lowercase.contains( LIMIT ) ) { + if ( !lowercase.contains( "limit" ) ) { return queryContext; }