Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
As for now, we misuse SqlSchemaManager methods for getting a schema.
1. We should always use a version that is visible to a current transaction at query start, instead of getting the latest one.
2. When getting query message on remot, we wait for an actual schema version first, and then get the latest version one more time for fragment execution. However, we already know the required version and must use it, otherwise fragment can use schema "from the future".
3. Query plan cache key must have a version as well.
Also, there is a bug IgniteSchemaTable.unwrap method, we should be able to unwrap table descriptor.
Attachments
Issue Links
- blocks
-
IGNITE-19497 Sql. Switch to SqlSchemaManager implementation on top of CatalogService
- Resolved
- links to