Re: Special case treatment of shape validation failure?

> On 2021-04-30, at 02:06:03, 'Kjetil Kjernsmo' via James <james@dydra.com> wrote:
> 
> Dear all,
> 
> I have been entertaining the idea of use shape constraints in query 
> execution planning. There are some papers about that too.
> 
> Then, it occurred to me that there is a special case of that, where the 
> query contains a graph pattern that itself fails validation, and thus would 
> return no results. It would probably be a lot faster to validate the graph 
> pattern and return no results than to create a plan, execute the plan and 
> then arrive at the same conclusion. 

it happens more often than one might expect with valid graph patterns for which some statement pattern happens to yield no solution.

> 
> ..
> 
> Should we have some mechanism to communicate that? On the protocol? Or 
> should this be kept entirely as an implementation detail that would not be 
> communicated? Or doesn't it make sense at all for the query engine and 
> dataset creation to be operating under mutually exclusive assumptions?

what about adding a response media type?
---
james anderson | james@dydra.com | http://dydra.com

Received on Friday, 30 April 2021 01:11:36 UTC