Alice
05/02/2022, 3:05 PMorg.apache.pinot.spi.config.table.FieldConfig$IndexType
from String \“TIMESTAMP\“: not one of the values accepted for Enum class: [INVERTED, FST, JSON, H3, TEXT, SORTED, RANGE]\n at [Source: (String)\“{\“tableName\“\“test time index\“,\“tableType\“\“REALTIME\“,\“segmentsConfig\“{\“schemaName\“\“test_time_index\“,\“timeColumnName\“\“created on\“,\“timeType\“\“MILLISECONDS\“,\“allowNullTimeValue\“true,\“replicasPerPartition\“\“1\“,\“retentionTimeUnit\“\“DAYS\“,\“retentionTimeValue\“\“30\“,\“segmentPushType\“\“APPEND\“,\“completionConfig\“{\“completionMode\“\“DOWNLOAD\“}},\“tenants\“{},\“fieldConfigList\“[{\“name\“\“timestamp\“,\“encodingType\“\“DICTIONARY\“,\“indexTypes\“[\“TIMESTAMP\“],\“time\“[truncated 3199 chars]; line: 1, column: 483] (through reference chain: org.apache.pinot.spi.config.table.TableConfig[\“fieldConfigList\“]->java.util.ArrayList[0]->org.apache.pinot.spi.config.table.FieldConfig[\“indexTypes\“]->java.util.ArrayList[0])“}
Part of my table schema is:
“dateTimeFieldSpecs”: [
{
“name”: “timestamp”,
“dataType”: “TIMESTAMP”,
“format”: “1MILLISECONDSEPOCH”,
“granularity”: “1:MILLISECONDS”
}
And part of my table config is:
“fieldConfigList”: [
{
“name”: “timestamp”,
“encodingType”: “DICTIONARY”,
“indexTypes”: [“TIMESTAMP”],
“timestampConfig”: {
“granularities”: [
“DAY”,
“WEEK”,
“MONTH”
]
}
}
]
Any idea how to fix it?Mayank
Mayank
Alice
05/02/2022, 3:12 PMJackie
05/02/2022, 6:24 PMAlice
05/03/2022, 1:17 AM