This is an automated email from the ASF dual-hosted git repository.
rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new c0dd8f0e7e7 [hotfix] Fix size of PyFlink INT(#25511)
c0dd8f0e7e7 is described below
commit c0dd8f0e7e74289883d1cb3aee704fa5549791b4
Author: Lukas Schwerdtfeger <[email protected]>
AuthorDate: Wed Apr 9 11:28:42 2025 +0200
[hotfix] Fix size of PyFlink INT(#25511)
Fixes wrong PyFlink documentation of the INT datatype size from 2 byte to 4
byte.
---
flink-python/pyflink/table/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-python/pyflink/table/types.py
b/flink-python/pyflink/table/types.py
index 99e6676d687..2311ba714df 100644
--- a/flink-python/pyflink/table/types.py
+++ b/flink-python/pyflink/table/types.py
@@ -2471,7 +2471,7 @@ class DataTypes(object):
@staticmethod
def INT(nullable: bool = True) -> IntType:
"""
- Data type of a 2-byte signed integer with values from -2,147,483,648
+ Data type of a 4-byte signed integer with values from -2,147,483,648
to 2,147,483,647.
:param nullable: boolean, whether the type can be null (None) or not.