You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/11/11 16:26:40 UTC

[GitHub] [pinot] mneedham opened a new issue #7749: Error message for invalid table config

mneedham opened a new issue #7749:
URL: https://github.com/apache/pinot/issues/7749


   If I try to edit table and put in an invalid config I can see a red box in the top right, but it doesn't tell me what mistake I've made.
   
   ![Peek 2021-11-11 14-50](https://user-images.githubusercontent.com/13220/141333150-660d2313-9672-4402-8713-0b371f555cf8.gif)
   
   In the network tab of developer tools I can see what the error is:
   
   ```
   {"_code":400,"_error":"Invalid table config: baseballStats_OFFLINE with error: Cannot deserialize value of type `boolean` from String \"ff\": only \"true\" or \"false\" recognized\n at [Source: (String)\"{\"tableName\":\"baseballStats_OFFLINE\",\"tableType\":\"OFFLINE\",\"segmentsConfig\":{\"schemaName\":\"baseball\",\"replication\":\"1\",\"segmentAssignmentStrategy\":\"BalanceNumSegmentAssignmentStrategy\",\"allowNullTimeValue\":false,\"segmentPushType\":\"APPEND\"},\"tenants\":{\"broker\":\"DefaultTenant\",\"server\":\"DefaultTenant\"},\"tableIndexConfig\":{\"noDictionaryColumns\":[\"playerID\",\"teamID\"],\"rangeIndexVersion\":1,\"autoGeneratedInvertedIndex\":false,\"createInvertedIndexDuringSegmentGeneration\":false,\"loadMode\":\"HEAP\",\"enableD\"[truncated 164 chars]; line: 1, column: 608] (through reference chain: org.apache.pinot.spi.config.table.TableConfig[\"tableIndexConfig\"]->org.apache.pinot.spi.config.table.IndexingConfig[\"nullHandlingEnabled\"])"}
   ```
   
   It'd be cool if this error message was displayed somewhere on the screen. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] xiangfu0 closed issue #7749: Error message for invalid table config

Posted by GitBox <gi...@apache.org>.
xiangfu0 closed issue #7749:
URL: https://github.com/apache/pinot/issues/7749


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org