11import ctypes
2+ import datetime
23import decimal
34
45import pytest
@@ -424,6 +425,16 @@ class DateTest(_DateTest):
424425 run_dispose_bind = "once"
425426
426427
428+ class Date32Test (_DateTest ):
429+ run_dispose_bind = "once"
430+ datatype = ydb_sa_types .YqlDate32
431+ data = datetime .date (1969 , 1 , 1 )
432+
433+ @pytest .mark .skip ("Default binding for DATE is not compatible with Date32" )
434+ def test_select_direct (self , connection ):
435+ pass
436+
437+
427438class DateTimeMicrosecondsTest (_DateTimeMicrosecondsTest ):
428439 run_dispose_bind = "once"
429440
@@ -432,10 +443,30 @@ class DateTimeTest(_DateTimeTest):
432443 run_dispose_bind = "once"
433444
434445
446+ class DateTime64Test (_DateTimeTest ):
447+ datatype = ydb_sa_types .YqlDateTime64
448+ data = datetime .datetime (1969 , 10 , 15 , 12 , 57 , 18 )
449+ run_dispose_bind = "once"
450+
451+ @pytest .mark .skip ("Default binding for DATETIME is not compatible with DateTime64" )
452+ def test_select_direct (self , connection ):
453+ pass
454+
455+
435456class TimestampMicrosecondsTest (_TimestampMicrosecondsTest ):
436457 run_dispose_bind = "once"
437458
438459
460+ class Timestamp64MicrosecondsTest (_TimestampMicrosecondsTest ):
461+ run_dispose_bind = "once"
462+ datatype = ydb_sa_types .YqlTimestamp64
463+ data = datetime .datetime (1969 , 10 , 15 , 12 , 57 , 18 , 396 )
464+
465+ @pytest .mark .skip ("Default binding for TIMESTAMP is not compatible with Timestamp64" )
466+ def test_select_direct (self , connection ):
467+ pass
468+
469+
439470@pytest .mark .skip ("unsupported Time data type" )
440471class TimeTest (_TimeTest ):
441472 pass
0 commit comments