When I add the following configuration to a realti...
# general
n
When I add the following configuration to a realtime table it gives error in the server:
Copy code
"fieldConfigList": [
    {
      "name": "oid",
      "encodingType": "RAW",
      "indexTypes": [],
      "indexes": {
        "forward": {
          "chunkCompressionType": "SNAPPY",
          "deriveNumDocsPerChunk": false,
          "rawIndexWriterVersion": 2
        }
      },
      "tierOverwrites": null
    } 
  }
Copy code
2024-03-26T09:30:48.585Z ERROR starter.helix.SegmentOnlineOfflineStateModelFactory$SegmentOnlineOfflineStateModel HelixTaskExecutor-message_handle_thread_10 onBecomeConsumingFromOffline:85 Caught exception in state transition OFFLINE -> CONSUMING for table: metrics3_REALTIME, segment: metrics3__2__0__20240326T0930Z
org.apache.pinot.segment.spi.index.MergedColumnConfigDeserializer$ConfigDeclaredTwiceException: Configuration is declared in two different ways for column oid
        at org.apache.pinot.segment.spi.index.MergedColumnConfigDeserializer$OnConflict$1.merge(MergedColumnConfigDeserializer.java:78) ~[pinot-all-1.0.0-jar-with-dependencies.jar:1.0.0-b6bdf6c9686b286a149d2d1aea4a385ee98f3e79]
        at org.apache.pinot.segment.spi.index.MergedColumnConfigDeserializer.deserialize(MergedColumnConfigDeserializer.java:52) ~[pinot-all-1.0.0-jar-with-dependencies.jar:1.0.0-b6bdf6c9686b286a149d2d1aea4a385ee98f3e79]
        at org.apache.pinot.segment.spi.index.AbstractIndexType.getConfig(AbstractIndexType.java:65) ~[pinot-all-1.0.0-jar-with-dependencies.jar:1.0.0-b6bdf6c9686b286a149d2d1aea4a385ee98f3e79]
How can avoid this error, this is the only place I've mentioned
oid
column in the table configuration file. This type of configuration is described here. https://docs.pinot.apache.org/basics/indexing/forward-index#raw-forward-index-configuration