You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/11/14 07:36:12 UTC

[iotdb] branch master updated: [IOTDB-2004] change initial assignment of Long to uppercase L (#4376)

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

jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a0562a  [IOTDB-2004] change initial assignment of Long to uppercase L (#4376)
8a0562a is described below

commit 8a0562a66adf6e6553d049456053deecb81e8f50
Author: Qian.Sun <su...@yeah.net>
AuthorDate: Sun Nov 14 15:35:45 2021 +0800

    [IOTDB-2004] change initial assignment of Long to uppercase L (#4376)
---
 .../src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCast.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCast.java b/server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCast.java
index 0a1c762..b5cd32a 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCast.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCast.java
@@ -126,7 +126,7 @@ public class UDTFCast implements UDTF {
         collector.putDouble(time, value);
         return;
       case BOOLEAN:
-        collector.putBoolean(time, value != 0l);
+        collector.putBoolean(time, value != 0L);
         return;
       case TEXT:
         collector.putString(time, String.valueOf(value));