Conversation
This is a pre-requisite for using column OID-s instead of names in the _source. Phase 1: Collect new columns and do a schema update. Don't create a Lucene document with source at this point. Phase 2: Index. Target references still might have unassigned OID since this is only a preparation step.
33fb254 to
877a5c3
Compare
|
Actually unreviewed commit is this one - which is about removing minNodeVersion and using only Relevant comment from the old PR:
And reply:
Also, in a follow up #14636, where OID is actually written to the source, we have kind of |
server/src/main/java/io/crate/execution/ddl/tables/AddColumnTask.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/crate/execution/ddl/tables/AddColumnTask.java
Outdated
Show resolved
Hide resolved
server/src/test/java/io/crate/execution/ddl/tables/AddColumnResponseTest.java
Outdated
Show resolved
Hide resolved
server/src/test/java/io/crate/execution/ddl/tables/AddColumnResponseTest.java
Outdated
Show resolved
Hide resolved
server/src/test/java/io/crate/execution/ddl/tables/AddColumnTaskTest.java
Outdated
Show resolved
Hide resolved
8e8f391 to
4a8bf85
Compare
This is a pre-requisite for using column OID-s instead of names in the _source.
Phase 1: Collect new columns and do a schema update. Don't create a Lucene document with source at this point.
Phase 2: Update Indexer targets using new
AddColumnResponse.Actually writing OID in the source to be followed in #14636
Supersedes #14617 (same but resolved conflicts after last drop-column rebase (replaced test assertions to use new ReferenceAssert, introduced in #14632 and #14634) + squashed already reviewed commits for the phase 1)