[
https://issues.apache.org/jira/browse/IGNITE-28725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ignite TC Bot updated IGNITE-28725:
-----------------------------------
Description:
Document CREATE TABLE behavior when CACHE_NAME points to an already existing
cache.
This task documents the behavior introduced by:
* IGNITE-25712 / https://github.com/apache/ignite/pull/12452 - SQL tables
created by DDL on existing caches are handled as SQL-created tables for
PK/index metadata.
* IGNITE-26755 / https://github.com/apache/ignite/pull/12453 - CREATE TABLE
with CACHE_NAME can define a SQL table on an existing non-indexed cache, with
schema compatibility checks.
Documentation scope:
* Explain that CACHE_NAME can point either to a new cache or to an existing
cache.
* Document that existing caches with query entities/indexed types are rejected
as already indexed.
* Document schema compatibility rules and the Invalid schema error.
* Mention that DDL table creation does not change existing cache configuration
such as affinity settings.
was:
Document CREATE TABLE behavior when CACHE_NAME points to an already existing
cache.
The docs should describe when creating a SQL table on an existing cache is
allowed, schema compatibility rules, the Invalid schema error, and the
restriction for caches that already have query entities/indexed types. Also
note that DDL does not change existing cache configuration such as affinity
settings.
> Document CREATE TABLE behavior for existing caches
> --------------------------------------------------
>
> Key: IGNITE-28725
> URL: https://issues.apache.org/jira/browse/IGNITE-28725
> Project: Ignite
> Issue Type: Task
> Reporter: Ignite TC Bot
> Assignee: Ignite TC Bot
> Priority: Major
> Labels: ise, sql-cache-ddl-consistency
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Document CREATE TABLE behavior when CACHE_NAME points to an already existing
> cache.
> This task documents the behavior introduced by:
> * IGNITE-25712 / https://github.com/apache/ignite/pull/12452 - SQL tables
> created by DDL on existing caches are handled as SQL-created tables for
> PK/index metadata.
> * IGNITE-26755 / https://github.com/apache/ignite/pull/12453 - CREATE TABLE
> with CACHE_NAME can define a SQL table on an existing non-indexed cache, with
> schema compatibility checks.
> Documentation scope:
> * Explain that CACHE_NAME can point either to a new cache or to an existing
> cache.
> * Document that existing caches with query entities/indexed types are
> rejected as already indexed.
> * Document schema compatibility rules and the Invalid schema error.
> * Mention that DDL table creation does not change existing cache
> configuration such as affinity settings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)