You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2022/05/06 09:22:08 UTC

[GitHub] [drill] vdiravka commented on pull request #2530: DRILL-8207: Fix typo in JDBC config

vdiravka commented on PR #2530:
URL: https://github.com/apache/drill/pull/2530#issuecomment-1119421766

   Looks like we can be case insesitive here by adding:
   ```
   ObjectMapper mapper = new ObjectMapper();
   mapper.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES, true);
   ```
   in
   ```
     public LogicalPlanPersistence(DrillConfig conf, ScanResult scanResult, ObjectMapper mapper) {
       // The UI allows comments in JSON. Since we use the mapper
       // here to serialize plugin configs to/from the pe
       this.mapper = mapper
           .configure(JsonParser.Feature.ALLOW_COMMENTS, true);
   ```


-- 
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: dev-unsubscribe@drill.apache.org

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