Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2180#discussion_r183211288
--- Diff:
datamap/lucene/src/main/java/org/apache/carbondata/datamap/lucene/LuceneFineGrainDataMap.java
---
@@ -157,6 +162,14 @@ private String getQueryString(Expression expression) {
return null;
}
+ //maximum records to return
+ if (strQuery.contains(",") && strQuery.indexOf(",") !=
strQuery.length() - 1) {
--- End diff --
It seems there is no testcase for `maxDoc`, do I miss anything?
---