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

Pavel Tupitsyn updated IGNITE-23185:
------------------------------------
    Description: 
IgniteCatalog API allows creating tables using a strongly-typed object model 
(generates and executes SQL for you from a *TableDefinition*).

However, there is no way to get the *TableDefinition* for an existing table. 
Use cases:
* Inspect table information in a strongly-typed way (as opposed to executing an 
Ignite-specific SQL query and extracting the data from a ResultSet)
* Get the definition of an existing table and create another one with similar 
settings (using *TableDefinition.toBuilder*)

> Add tableDefinition and zoneDefinition methods to IgniteCatalog
> ---------------------------------------------------------------
>
>                 Key: IGNITE-23185
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23185
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.1
>
>
> IgniteCatalog API allows creating tables using a strongly-typed object model 
> (generates and executes SQL for you from a *TableDefinition*).
> However, there is no way to get the *TableDefinition* for an existing table. 
> Use cases:
> * Inspect table information in a strongly-typed way (as opposed to executing 
> an Ignite-specific SQL query and extracting the data from a ResultSet)
> * Get the definition of an existing table and create another one with similar 
> settings (using *TableDefinition.toBuilder*)



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

Reply via email to