How realtime backward-Compatible(new column) works...
# troubleshooting
r
How realtime backward-Compatible(new column) works in Pinot. I have some events in Kafka and created one pinot realtime table .next time I have again pushed some data in Kafka with 1 new field and again executed AddTable command with updated schema(new column added in schema) and then on pinot ui did reload all segments.on ui in schema I am able to see that new column but when I am doing select * from tablename the newly added column is not showing there. Here I have added city as new column. @Jonathan Meyer
In order to reload consuming segment, you need to set a flag in the server config
pinot.server.instance.reload.consumingSegment
It is disabled by default in version
0.7.1
r
@Jackie how to set pinot.server.instance.reload.consumingSegment if I use docker to start pinot?
j
Does it take a configuration file when you start pinot using docker? Adding @Xiang Fu who has more context
x
for docker, you need to create a config file and mount it to the container then start with conf file
r
@Xiang Fu can you give me example?
x
you can follow this to check how to start pinot with config files https://docs.pinot.apache.org/developers/advanced/advanced-pinot-setup
for docker, you just need to put the config files in a directory and mount that directory to the docker container