You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "zhangjingcun (Jira)" <ji...@apache.org> on 2022/03/11 10:53:00 UTC

[jira] [Created] (FLINK-26607) There are multiple MAX_LONG_VALUE value errors in pyflink code

zhangjingcun created FLINK-26607:
------------------------------------

             Summary: There are multiple MAX_LONG_VALUE value errors in pyflink code
                 Key: FLINK-26607
                 URL: https://issues.apache.org/jira/browse/FLINK-26607
             Project: Flink
          Issue Type: Bug
          Components: API / Python
    Affects Versions: 1.14.4
            Reporter: zhangjingcun


There are multiple MAX_LONG_VALUE values sys. In pyflink code maxsize

MAX_LONG_VALUE = sys.maxsize

*maxsize* attribute of the *sys* module fetches the largest value a variable of data type *Py_ssize_t* ** can store. It is the Python platform’s pointer that dictates the maximum size of lists and strings in Python. The size value returned by maxsize depends on the platform architecture:
 * *32-bit:* the value will be 2^31 – 1, i.e. 2147483647
 * *64-bit:* the value will be 2^63 – 1, i.e. 9223372036854775807



--
This message was sent by Atlassian Jira
(v8.20.1#820001)