Commit b7f5995a by Suma Shivaprasad

Compilation error on java 1.8 - GraphBackedDiscoveryService(shwethags via sumasai)

parent 8e8b51b8
...@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES: ...@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
ALL CHANGES: ALL CHANGES:
ATLAS-1036 Compilation error on java 1.8 - GraphBackedDiscoveryService (shwethags via sumasai)
ATLAS-1034 Incorrect Falcon hook impl class name in Falcon hook shim (mneethiraj via shwethags) ATLAS-1034 Incorrect Falcon hook impl class name in Falcon hook shim (mneethiraj via shwethags)
ATLAS-347 Atlas search APIs should allow pagination of results (shwethags) ATLAS-347 Atlas search APIs should allow pagination of results (shwethags)
ATLAS-639 Exception for lineage request (svimal2106 via shwethags) ATLAS-639 Exception for lineage request (svimal2106 via shwethags)
......
...@@ -140,7 +140,7 @@ public class GraphBackedDiscoveryService implements DiscoveryService { ...@@ -140,7 +140,7 @@ public class GraphBackedDiscoveryService implements DiscoveryService {
//If the final limit is 0, don't launch the query, return with 0 rows //If the final limit is 0, don't launch the query, return with 0 rows
if (validatedExpression instanceof Expressions.LimitExpression if (validatedExpression instanceof Expressions.LimitExpression
&& ((Expressions.LimitExpression) validatedExpression).limit().rawValue() == 0) { && ((Integer)((Expressions.LimitExpression) validatedExpression).limit().rawValue()) == 0) {
return new GremlinQueryResult(dslQuery, validatedExpression.dataType(), return new GremlinQueryResult(dslQuery, validatedExpression.dataType(),
scala.collection.immutable.List.empty()); scala.collection.immutable.List.empty());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment