carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumarvishal09 <>
Subject [GitHub] carbondata pull request #909: [CARBONDATA-1049] avoid logging raw data into ...
Date Tue, 30 May 2017 14:14:22 GMT
Github user kumarvishal09 commented on a diff in the pull request:
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/util/
    @@ -522,4 +522,16 @@ public static String checkAndCreateCarbonStoreLocation(String factStoreLocation,
         return aggType;
    +  /**
    +   * the method prepares and return the message mentioning the reason of badrecord
    +   *
    +   * @param columnName
    +   * @param dataType
    +   * @return
    +   */
    +  public static String prepareFailureReason(String columnName, DataType dataType) {
    --- End diff --
    Once data loading is done or step which is handling bad record is finished map will be
discarded so it is ok(Only when bad record is enabled). My intention for this comment was
to create this message only once, don't create this for each bad record. Or you can do lazy
creation, when you found first bad record then create the message, from next time use the
same message.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message