Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hande = NULL correctly #108

Open
mitchshepherd opened this issue Jan 19, 2023 · 0 comments
Open

Hande = NULL correctly #108

mitchshepherd opened this issue Jan 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mitchshepherd
Copy link

Query

where: ' ( targettype = NULL ) AND ( attacktype = NULL ) '

Causes this error

{
  "message": "KoopProvider: response with invalid 500 status",
  "statusCode": 500,
  "body": {
    "errorResponse": {
      "statusCode": 500,
      "status": "Error handling request",
      "messageCode": "RESTAPI-SRVEXERR",
      "message": "XDMP-BADRDFVAL: plan.execute(plan.sparql(\" *{ SELECT type properties geometry { { SELECTCONSTRAIN  {  <http://marklogic.com/templateview>  . } FILTER (targettype eq null-node {} and attacktype eq null-node {}) ORDER BY OFFSET ?offset OFFSET \\\"0\\\"^^<http://www.w3.org/2001/XMLSchema#unsignedLong> LIMIT ?limit } FETCHCONTENT (FROM DocId TO doc) BIND (\\\"Feature\\\" AS type) BIND (object-node { \\\"url\\\": url, \\\"OBJECTID\\\": OBJECTID } AS properties) BIND (Q{http://marklogic.com/xdmp}unpath(\\\"//geometry\\\", (), doc) AS geometry) } }\"), {offset:0, limit:500000}) -- "
    }
  }
}

Copied issue from koop-provider-marklogic by jkerr5 commented on Nov 22, 2017


Check if this is still an issue
jkerr5 commented 3 days ago

@mitchshepherd mitchshepherd added the bug Something isn't working label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant