https://pinot.apache.org/ logo
#general
Title
# general
k

kauts shukla

05/01/2021, 9:23 AM
Hello, If I add a new column in “primaryKeyColumns” in schema, How much time it would take to create indexing for the new column ?
k

Kishore G

05/01/2021, 3:31 PM
is this for upsert use case?
k

kauts shukla

05/01/2021, 3:31 PM
no
k

Kishore G

05/01/2021, 3:32 PM
primaryKeyColumns is only for upsert use case. If you want to add other indexes, you can simply update the table config and invoke reloadSegments api
k

kauts shukla

05/01/2021, 3:35 PM
My table is Realtime table without upsert that means i can’t update primary index. Is it I have to re ingest the whole data again and create schema again
?
k

Kishore G

05/01/2021, 3:35 PM
No, you dont have to
please take a look at the doc link I sent you
k

kauts shukla

05/01/2021, 3:36 PM
Just schma change and upload segemnts will work for me ?
ok
k

Kishore G

05/01/2021, 3:37 PM
not upload, its reload. its just asking the servers to reload the segment during which it will generate missing indices
k

kauts shukla

05/01/2021, 3:37 PM
ok thanks …