[ 
https://issues.apache.org/jira/browse/IGNITE-21166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Sapego updated IGNITE-21166:
---------------------------------
    Description: 
To properly support ODBC metadata requirements we should be able to provide 
user with a result set metadata for a non-executed query.

Example
Given a query:
{noformat}
select id, val1, val2 from some_table
{noformat}

This API should return an array of meta for columns id, val1 and val2 without 
actually executing it.

This is intended to be used in ODBC function 
[SQLColAttribute|https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolattribute-function]

  was:
To properly support ODBC metadata requirements we should be able to provide 
user with a result set metadata for a non-executed query.

Example
Given a query:
{noformat}
select id, val1, val2 from some_table
{noformat}

This API should return an array of size of 3 that at least contains types for 
the parameters.

This is intended to be used in ODBC function 
[SQLColAttribute|https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolattribute-function]


> Provide internal API to get a result set metadata for non-executed query
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-21166
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21166
>             Project: Ignite
>          Issue Type: New Feature
>          Components: sql
>            Reporter: Igor Sapego
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> To properly support ODBC metadata requirements we should be able to provide 
> user with a result set metadata for a non-executed query.
> Example
> Given a query:
> {noformat}
> select id, val1, val2 from some_table
> {noformat}
> This API should return an array of meta for columns id, val1 and val2 without 
> actually executing it.
> This is intended to be used in ODBC function 
> [SQLColAttribute|https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolattribute-function]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to