-
Notifications
You must be signed in to change notification settings - Fork 135
[IGNITE-19496] Sql. Implement SqlSchemaManager on top of CatalogService. #2100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
92d545b to
64c5797
Compare
...es/catalog/src/main/java/org/apache/ignite/internal/catalog/descriptors/TableDescriptor.java
Outdated
Show resolved
Hide resolved
...ql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/ImplicitCastsTest.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/apache/ignite/internal/sql/engine/exec/rel/TableScanNodeExecutionTest.java
Outdated
Show resolved
Hide resolved
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/TypeUtils.java
Outdated
Show resolved
Hide resolved
korlov42
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lowka, the patch is enormous! Let's derive all TestCatalog-related refactoring to a separate ticket, leaving here only implementation of SchemaManager over catalog with necessary self tests
|
Updated PR, changes related to integration of a catalog backed schema manager has been removed. |
...l-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/PrepareServiceImpl.java
Outdated
Show resolved
Hide resolved
...l-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/PrepareServiceImpl.java
Outdated
Show resolved
Hide resolved
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/schema/IgniteIndex.java
Show resolved
Hide resolved
revert IgniteIndex modifications.
fix tests. fix index comment.
# Conflicts: # modules/table/src/main/java/org/apache/ignite/internal/table/distributed/schema/NonHistoricSchemas.java
|
Resolved conflicts. |
|
After discussion with Pavel, I updated sql schema manager to use length field. |
Provides implementation of SqlSchemaManager backed by catalog + removes constraints that require primary key columns from TableDescriptor constructor.
Adds Implementation of IgniteTable (
IgniteSchemaTable) that supports only planning related operations (with execution related methods throwing exceptions). Index related methods are moved toIgniteSchemaIndex.