You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2022/11/27 05:38:59 UTC

[iotdb] branch beyyes/fix_slot created (now cfb7b030f7)

This is an automated email from the ASF dual-hosted git repository.

caogaofei pushed a change to branch beyyes/fix_slot
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at cfb7b030f7 fix bug in ASTVisitor

This branch includes the following new commits:

     new cfb7b030f7 fix bug in ASTVisitor

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: fix bug in ASTVisitor

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

caogaofei pushed a commit to branch beyyes/fix_slot
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit cfb7b030f739104d7c9afef65a14b7b80db15893
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Sun Nov 27 13:37:06 2022 +0800

    fix bug in ASTVisitor
---
 .../src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
index cc453de4dd..f1f0b0e236 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
@@ -3029,7 +3029,7 @@ public class ASTVisitor extends IoTDBSqlParserBaseVisitor<Statement> {
             new TSeriesPartitionSlot(Integer.parseInt(ctx.seriesSlot.getText())));
     if (ctx.timeSlot != null) {
       getRegionIdStatement.setTimeSlotId(
-          new TTimePartitionSlot(Integer.parseInt(ctx.timeSlot.getText())));
+          new TTimePartitionSlot(Long.parseLong(ctx.timeSlot.getText())));
     }
     return getRegionIdStatement;
   }