trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selvaganesang <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #1211: TRAFODION-2722 Change purgedata to u...
Date Fri, 18 Aug 2017 22:36:38 GMT
Github user selvaganesang commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/1211#discussion_r134067996
  
    --- Diff: core/sql/src/main/java/org/trafodion/sql/HBaseClient.java ---
    @@ -648,6 +648,8 @@ public boolean truncate(String tblName, boolean preserveSplits, long
transID)
                }
                else {
                   TableName tableName = TableName.valueOf(tblName);
    +              if (admin.isTableEnabled(tableName))
    +                  admin.disableTable(tableName);
    --- End diff --
    
    Thanks @anoopsharma00.  I had used  truncate to delete the data in "_DTM_".TDDL hbase
table.  It looks like the errors were ignored in that case and hence it didn't detect this
requirement


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message