File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -1113,7 +1113,7 @@ cdef class FileMetaData(_Weakrefable):
11131113 """
11141114 Parquet format version used in file (str, such as '1.0', '2.4').
11151115
1116- If version is missing or unparsable, will default to assuming '2.6 '.
1116+ If version is missing or unparsable, will default to assuming '2.12 '.
11171117 """
11181118 cdef ParquetVersion version = self ._metadata.version()
11191119 if version == ParquetVersion_V1:
@@ -1122,9 +1122,21 @@ cdef class FileMetaData(_Weakrefable):
11221122 return ' 2.4'
11231123 elif version == ParquetVersion_V2_6:
11241124 return ' 2.6'
1125+ elif version == ParquetVersion_V2_7:
1126+ return ' 2.7'
1127+ elif version == ParquetVersion_V2_8:
1128+ return ' 2.8'
1129+ elif version == ParquetVersion_V2_9:
1130+ return ' 2.9'
1131+ elif version == ParquetVersion_V2_10:
1132+ return ' 2.10'
1133+ elif version == ParquetVersion_V2_11:
1134+ return ' 2.11'
1135+ elif version == ParquetVersion_V2_12:
1136+ return ' 2.12'
11251137 else :
1126- warnings.warn(f' Unrecognized file version, assuming 2.6 : {version}' )
1127- return ' 2.6 '
1138+ warnings.warn(f' Unrecognized file version, assuming 2.12 : {version}' )
1139+ return ' 2.12 '
11281140
11291141 @property
11301142 def created_by (self ):
You can’t perform that action at this time.
0 commit comments