Skip to content
Snippets Groups Projects
Commit e70e657f authored by Robert Butora's avatar Robert Butora
Browse files

removes ordering query results by obs_collection

parent 210cb1b0
No related branches found
No related tags found
No related merge requests found
...@@ -136,9 +136,6 @@ public class DbObstap ...@@ -136,9 +136,6 @@ public class DbObstap
if(qArgs.maxrec != null) if(qArgs.maxrec != null)
theQuery += " LIMIT " + qArgs.maxrec; theQuery += " LIMIT " + qArgs.maxrec;
//theQuery += " ORDER BY obs_collection";
LOGGER.fine(theQuery); LOGGER.fine(theQuery);
List<String> pubdidList = new ArrayList<>(); List<String> pubdidList = new ArrayList<>();
...@@ -215,12 +212,10 @@ public class DbObstap ...@@ -215,12 +212,10 @@ public class DbObstap
+ inputRegion + " @> " + dbRegion + " AS dbInsideInput FROM obscore WHERE (obs_publisher_did IN (\'" + inputRegion + " @> " + dbRegion + " AS dbInsideInput FROM obscore WHERE (obs_publisher_did IN (\'"
+commaSepPubdids+"\'))"; +commaSepPubdids+"\'))";
theQuery += " ORDER BY obs_collection";
//LOGGER.fine(theQuery);
List<Obstap> obstapList = new ArrayList<>(); List<Obstap> obstapList = new ArrayList<>();
LOGGER.fine(theQuery);
LOGGER.fine("Connecting to: " + dbConnArgs.uri() LOGGER.fine("Connecting to: " + dbConnArgs.uri()
+ " with optional user/pwd: " + dbConnArgs.userName() +" / "+ dbConnArgs.password() ); + " with optional user/pwd: " + dbConnArgs.userName() +" / "+ dbConnArgs.password() );
try( try(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment