We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b67a79 commit 2c646a5Copy full SHA for 2c646a5
python/pyspark/sql/types.py
@@ -368,8 +368,10 @@ class BooleanType(AtomicType, metaclass=DataTypeSingleton):
368
369
pass
370
371
+
372
class DatetimeType(AtomicType):
373
"""Super class of ass datetime data type."""
374
375
def needConversion(self) -> bool:
376
return True
377
@@ -390,8 +392,10 @@ def fromInternal(self, v: int) -> datetime.date:
390
392
391
393
class AnyTimeType(DatetimeType):
394
"""A TIME type of any valid precision."""
395
396
397
398
399
class TimeType(AnyTimeType):
400
"""Time (datetime.time) data type."""
401
0 commit comments