Skip to content

IGNITE-19500 IndexManager should listen CatalogService events instead of configuration#2254

Merged
tkalkirill merged 60 commits into
apache:catalog-featurefrom
gridgain:ignite-19500
Aug 1, 2023
Merged

IGNITE-19500 IndexManager should listen CatalogService events instead of configuration#2254
tkalkirill merged 60 commits into
apache:catalog-featurefrom
gridgain:ignite-19500

Conversation

@tkalkirill
Copy link
Copy Markdown
Contributor

@AMashenkov AMashenkov force-pushed the catalog-feature branch 2 times, most recently from 2175f4e to 2690ecd Compare June 29, 2023 13:03
…ite-19500

# Conflicts:
#	modules/catalog/src/test/java/org/apache/ignite/internal/catalog/CatalogServiceSelfTest.java
#	modules/index/src/main/java/org/apache/ignite/internal/index/IndexManager.java
Signed-off-by: ibessonov <bessonov.ip@gmail.com>
Comment thread modules/index/src/main/java/org/apache/ignite/internal/index/IndexManager.java Outdated
Comment thread modules/index/src/main/java/org/apache/ignite/internal/index/IndexManager.java Outdated
await(((TableManager) node.tables()).createTableAsync(schTblAllSql.name(), DEFAULT_ZONE_NAME, tblCh ->
SchemaConfigurationConverter.convert(schTblAllSql, tblCh)
));
sql(String.format("CREATE TABLE %s(\"%s\" INTEGER PRIMARY KEY, \"TIMESTAMP\" TIMESTAMP(9))", kvTblName, keyCol));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you drop DATETIME column?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a nuance here, here I left org.apache.ignite.sql.ColumnType#DATETIME which in SQL has the org.apache.calcite.sql.type.SqlTypeName#TIMESTAMP, but I can’t use org.apache.ignite.sql.ColumnType#TIMESTAMP because in SQL it is type org.apache.calcite.sql.type.SqlTypeName#TIMESTAMP_WITH_LOCAL_TIME_ZONE which does not currently work here is the IGNITE-17376 and IGNITE-19274.

I looked at the mapping in org.apache.ignite.internal.sql.engine.util.TypeUtils#columnType.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Let's add these tickets to comment as well, or disable the test with these tickets numbers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did it

Comment thread modules/index/src/main/java/org/apache/ignite/internal/index/IndexManager.java Outdated
@tkalkirill tkalkirill merged commit 30f3af1 into apache:catalog-feature Aug 1, 2023
@tkalkirill tkalkirill deleted the ignite-19500 branch August 1, 2023 08:30
tkalkirill added a commit to gridgain/apache-ignite-3 that referenced this pull request Aug 1, 2023
tkalkirill added a commit that referenced this pull request Sep 14, 2023
* IGNITE-19500 IndexManager should listen CatalogService events instead of configuration (#2254)

* IGNITE-20102 Fix hanging C#/C++ tests due to IndexManager switch to catalog (#2383)

* IGNITE-20236 Get rid of DistributionZonesConfigurationSchema#defaultDataStorage (#2456)

* IGNITE-20244 Replace the use of constants from the DistributionZoneManager with constants from CatalogUtils and CatalogService (#2459)

* IGNITE-19497 Sql. Switch to SqlSchemaManager implementation on top of CatalogService (#2441)

* IGNITE-20215 DistributionZoneRebalanceEngine should listen CatalogService events instead of configuration (#2448)

* IGNITE-20114 DistributionZoneManager should listen CatalogService events instead of configuration (#2415)

* IGNITE-19499 TableManager should listen CatalogService events instead of configuration (#2500)

* IGNITE-20332 Fixed DistributionZoneManager.onUpdateFilter handling. (#2574)

* IGNITE-20331 Cleanup the code after switching TableManager to the catalog (#2577)

---------

Co-authored-by: amashenkov <andrey.mashenkov@gmail.com>
Co-authored-by: Andrew V. Mashenkov <AMashenkov@users.noreply.github.com>
Co-authored-by: Sergey Uttsel <uttsel@gmail.com>
Co-authored-by: Pavel Pereslegin <xxtern@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants