weizuo93 commented on a change in pull request #8156:
URL: https://github.com/apache/incubator-doris/pull/8156#discussion_r816404516



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTransactionStmt.java
##########
@@ -108,13 +114,29 @@ private void analyzeWhereClause() throws 
AnalysisException {
                 txnId = ((IntLiteral) whereClause.getChild(1)).getLongValue();
             } else if (leftKey.equalsIgnoreCase("label") && 
(whereClause.getChild(1) instanceof StringLiteral)) {
                 label = ((StringLiteral) 
whereClause.getChild(1)).getStringValue();
+            } else if (leftKey.equalsIgnoreCase("status") && 
(whereClause.getChild(1) instanceof StringLiteral)) {
+                String txnStatus = ((StringLiteral) 
whereClause.getChild(1)).getStringValue();

Review comment:
       > 
   
   Thanks for your code review.




-- 
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: commits-unsubscr...@doris.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to