Skip to content

Commit

Permalink
Fix TzTimestamp wrong encoding (YQL-17920) (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
aakulaga-ydb authored Feb 25, 2024
1 parent f5dc352 commit 275fd42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/library/yql/minikql/comp_nodes/mkql_grace_join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void TGraceJoinPacker::Pack() {
}
case NUdf::EDataSlot::TzTimestamp:
{
WriteUnaligned<ui32>(buffPtr, value.Get<ui64>());
WriteUnaligned<ui64>(buffPtr, value.Get<ui64>());
WriteUnaligned<ui16>(buffPtr + sizeof(ui64), value.GetTimezoneId());
break;
}
Expand Down

0 comments on commit 275fd42

Please sign in to comment.