@@ -125,6 +125,10 @@ bool CellsFromTuple(const NKikimrMiniKQL::TType* tupleType,
125125 CASE_SIMPLE_TYPE (Datetime, ui32, Uint32);
126126 CASE_SIMPLE_TYPE (Timestamp, ui64, Uint64);
127127 CASE_SIMPLE_TYPE (Interval, i64 , Int64);
128+ CASE_SIMPLE_TYPE (Date32, i32 , Int32);
129+ CASE_SIMPLE_TYPE (Datetime64, i64 , Int64);
130+ CASE_SIMPLE_TYPE (Timestamp64, i64 , Int64);
131+ CASE_SIMPLE_TYPE (Interval64, i64 , Int64);
128132
129133
130134#undef CASE_SIMPLE_TYPE
@@ -228,6 +232,7 @@ bool CellToValue(NScheme::TTypeInfo type, const TCell& c, NKikimrMiniKQL::TValue
228232 val.MutableOptional ()->SetUint32 (ReadUnaligned<ui16>(c.Data ()));
229233 break ;
230234
235+ case NScheme::NTypeIds::Date32:
231236 case NScheme::NTypeIds::Int32:
232237 Y_ABORT_UNLESS (c.Size () == sizeof (i32 ));
233238 val.MutableOptional ()->SetInt32 (ReadUnaligned<i32 >(c.Data ()));
@@ -274,6 +279,9 @@ bool CellToValue(NScheme::TTypeInfo type, const TCell& c, NKikimrMiniKQL::TValue
274279 val.MutableOptional ()->SetUint64 (ReadUnaligned<ui64>(c.Data ()));
275280 break ;
276281 case NScheme::NTypeIds::Interval:
282+ case NScheme::NTypeIds::Interval64:
283+ case NScheme::NTypeIds::Timestamp64:
284+ case NScheme::NTypeIds::Datetime64:
277285 Y_ABORT_UNLESS (c.Size () == sizeof (i64 ));
278286 val.MutableOptional ()->SetInt64 (ReadUnaligned<i64 >(c.Data ()));
279287 break ;
0 commit comments