jrgemignani commented on issue #302:
URL: https://github.com/apache/age/issues/302#issuecomment-1269163122
Since there isn't a comment explaining why this issue was reopened, and the
creator of the issue didn't reopen it, I'm closing this.
Btw, @Dzordzu, the issue here is that when the query -
`SELECT * FROM cypher(current_setting('my.graph'), $$ CREATE (x: Test)
RETURN x $$) as (v agtype);`
is run, the cypher function needs the actual graph name for the transform
phase. However, by using a function for the graph name, this necessitates a
function call node. That node will run in the execution phase. So, it won't
know until execution what the graph name is. However, it needs to know the
graph name before execution.
While it is possible to execute the function manually before the execution
phase, there is an access operator passed in the function, the `.` which also
requires the execution phase to process. And then there is coercing the passed
in value to the correct type.
It does not seem likely, to me, to be able to do this at this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]