db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Vyvyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6117) Extend the Table Functions java interface to pass more query context information from Derby
Date Thu, 21 Mar 2013 15:39:15 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609043#comment-13609043
] 

David Vyvyan commented on DERBY-6117:
-------------------------------------

Original forum discussion:
http://apache-database.10148.n7.nabble.com/Limitations-of-Table-Functions-vs-old-VTIs-td127988.html#a127995
                
> Extend the Table Functions java interface to pass more query context information from
Derby
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6117
>                 URL: https://issues.apache.org/jira/browse/DERBY-6117
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.8.3.0
>            Reporter: David Vyvyan
>
> General requirement is to extend the Table Functions java interface (through RestrictedVTI
or another interface) and pass more context information from Derby to Table Functions - esp
in query execution phase.
> Greater urgency is required for the first 2 items below, especially the ability to access
the original SQL which was available with VTIs. This is critical to the GaianDB project -
we extract HINTs from the query (where we pass meta data like user credentials), and also
extract full original complex predicate expressions (involving functions etc - which cannot
be expressed with a Restriction) - to push on in our query prorogation...
> In order of importance + simplicity:
> --------------------------------------------------
> 1 - Original SQL (this used to be available with VTIs through VTIEnvironment for both
compilation and execution phases)
> 2 - Name of function that was called
> 3 - User Info (ID, etc) - (this can currently be passed in the SQL hint)
> 4 - Richer predicate expressions (incl functions, etc)
> 5 - Context within Join query (e.g. inner or outer table, join type)
> 6 - Other Query Plan information
> 7 - Anything else...?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message