Github user vladimirtkach commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1139#discussion_r171579096
  
    --- Diff: 
contrib/storage-jdbc/src/main/java/org/apache/drill/exec/store/jdbc/JdbcStorageConfig.java
 ---
    @@ -17,13 +17,15 @@
      */
     package org.apache.drill.exec.store.jdbc;
     
    +import com.fasterxml.jackson.annotation.JsonFilter;
     import org.apache.drill.common.logical.StoragePluginConfig;
     
     import com.fasterxml.jackson.annotation.JsonCreator;
     import com.fasterxml.jackson.annotation.JsonProperty;
     import com.fasterxml.jackson.annotation.JsonTypeName;
     
     @JsonTypeName(JdbcStorageConfig.NAME)
    +@JsonFilter("passwordFilter")
    --- End diff --
    
    To apply filter:
    1) Mark the entity with you want to filter out fields from.
    2) Create filter provider and register property filter with reference to 
your entity
    3) When creating ObjectWriter pass your filter provider


---

Reply via email to