shwin opened a new issue, #11529:
URL: https://github.com/apache/pinot/issues/11529

   Say you have a field defined on a table like:
   ```
   {
           "name": "chain",
           "encodingType": "RAW",
           "indexType": "TEXT",
           "indexTypes": [
             "TEXT"
           ],
           "indexes": null,
           "tierOverwrites": null,
           "properties": {"fstType":  "native"}      
   },
   ```
   
   You run into some issues 
(https://gist.github.com/shwin/a80c8c648d9251723e4a6cf2699023eb) loading 
segments, so you switch that back to a regular text index:
   ```
   {
           "name": "chain",
           "encodingType": "RAW",
           "indexType": "TEXT",
           "indexTypes": [
             "TEXT"
           ],
           "indexes": null,
           "tierOverwrites": null
   },
   ```
   
   And you reload all your segments, expecting that the NATIVE indices would be 
dropped, and LUCENE indices added. This is not the case. The reload 
documentation is not clear on this front, eg, the UI says: `Reloads all 
segments of the table to apply changes such as indexing, column default values, 
etc`; I'd expect that to include the above change.
   
   The alternative is to:
   1. drop the original text index
   2. reload all segments
   3. add the updated text index back
   4. reload all segments
   
   But this is obviously inferior to just updating the index config and doing a 
single load. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to