trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsharma00 <>
Subject [GitHub] incubator-trafodion pull request #1211: TRAFODION-2722 Change purgedata to u...
Date Fri, 18 Aug 2017 22:28:25 GMT
Github user anoopsharma00 commented on a diff in the pull request:
    --- Diff: core/sql/src/main/java/org/trafodion/sql/ ---
    @@ -648,6 +648,8 @@ public boolean truncate(String tblName, boolean preserveSplits, long
                else {
                   TableName tableName = TableName.valueOf(tblName);
    +              if (admin.isTableEnabled(tableName))
    +                  admin.disableTable(tableName);
    --- End diff --
    HBase truncate api requires table to be disabled.
    truncate api enables the table after truncation.

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