Fix operator mistake of expression OR (#8452)
Fix operator mistake of expression OR (#8452)

* Add realization for updating version of derived segments in MaterializedView

* add unit test, and change code style for the sake of ease of understanding

* fix document's mistake of expression

nishantmonu51/druid,gianm/druid,michaelschiff/druid,jon-wei/druid,gianm/druid,himanshug/druid,jon-wei/druid,Fokko/druid,deltaprojects/druid,deltaprojects/druid,jon-wei/druid,gianm/druid,monetate/druid,Fokko/druid,implydata/druid,mghosh4/druid,pjain1/druid,nishantmonu51/druid,himanshug/druid,pjain1/druid,mghosh4/druid,implydata/druid,druid-io/druid,gianm/druid,implydata/druid,himanshug/druid,druid-io/druid,monetate/druid,nishantmonu51/druid,deltaprojects/druid,nishantmonu51/druid,mghosh4/druid,mghosh4/druid,Fokko/druid,pjain1/druid,monetate/druid,nishantmonu51/druid,jon-wei/druid,pjain1/druid,himanshug/druid,gianm/druid,druid-io/druid,leventov/druid,gianm/druid,michaelschiff/druid,michaelschiff/druid,Fokko/druid,leventov/druid,Fokko/druid,leventov/druid,monetate/druid,Fokko/druid,druid-io/druid,nishantmonu51/druid,michaelschiff/druid,gianm/druid,druid-io/druid,monetate/druid,pjain1/druid,leventov/druid,monetate/druid,implydata/druid,implydata/druid,himanshug/druid,leventov/druid,michaelschiff/druid,michaelschiff/druid,mghosh4/druid,pjain1/druid,Fokko/druid,mghosh4/druid,pjain1/druid,monetate/druid,deltaprojects/druid,mghosh4/druid,deltaprojects/druid,jon-wei/druid,jon-wei/druid,jon-wei/druid,deltaprojects/druid,nishantmonu51/druid,implydata/druid,deltaprojects/druid,michaelschiff/druid