Hi team, in 1.4.0 enableSnapshot and enablePreload...
# general
a
Hi team, in 1.4.0 enableSnapshot and enablePreload are deprecated and replaced with snapshot and preload?
m
Yes, that seems to be a rename of the configs.
a
But while updating this enableSnapshot to snapshot I m getting this error Invalid table config: iot_last_session_events_test_REALTIME with error: Cannot deserialize value of type
org.apache.pinot.spi.utils.Enablement
from Boolean value (token
JsonToken.VALUE_TRUE
) at [Source: REDACTED (
StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION
disabled); line: 1, column: 2753] (through reference chain: org.apache.pinot.spi.config.table.TableConfig["upsertConfig"]->org.apache.pinot.spi.config.table.UpsertConfig["snapshot"])
m
@Jackie ^^
a
checked the source code i guess now available values are ENABLE, DISABLE rather than true false
j
The enum is ‘ENABLE’
👍 1
@Arnav Correct. We need this change to differentiate false from unset vs Disabled