Description
At processing time, query entities are transformed and validated, table descriptors with properties are created.
Now in some case (thre's no keyFields and key is of complex non-sql type), ownership flag of query property is calculated at execution time (for example at first put()):
https://github.com/apache/ignite/blob/dcdb27a24a450f63487290360b265e1570534629/modules/core/src/main/java/org/apache/ignite/internal/processors/query/property/QueryBinaryProperty.java#L132
So we can't access metadata, that uses this not-yet-initialized field before we put the data.
But we already have all necessary info to set this field at processing time.
Attachments
Issue Links
- blocks
-
IGNITE-9989 JDBC v2: getPrimaryKeys always returns constant COLUMN_NAME, KEY_SEQ, PK_NAME
- Resolved
- relates to
-
IGNITE-10824 SQL: mixing _key and key columns in the DML queries must be disallowed
- Resolved
-
IGNITE-4308 Make QueryEntity.keyFields optional for caches having SQL types as keys
- Resolved
- links to