Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

기존 OffsetDateTime의 오프셋 추출

항목값
화면 이름Extract offset from legacy OffsetDateTime
식별자extractOffsetFromLegacyOffsetDateTimeV1
지원 실행 방식Batch
범주날짜와 시간 (Datetime)
반환 자료형Integer

기존 OffsetDateTime에서 원래 시간대의 UTC 기준 오프셋을 초 단위로 추출합니다.

입력 인자

이름지정 여부자료형의미와 조건
Expression필수Expression<Struct<timestamp:Timestamp, offset:Integer>>기존 OffsetDateTime 열입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • Expression: col_a
col_a출력
{
 offset: 0,
 timestamp: 2024-09-09T09:00:00.001Z,
}
0
{
 offset: 19800,
 timestamp: 2024-09-09T09:00:00.001Z,
}
19800
{
 offset: -3600,
 timestamp: 2024-09-09T09:00:00.001Z,
}
-3600

예시 2: null 처리

인자 값:

  • Expression: col_a
col_a출력
nullnull
{
 offset: 19800,
 timestamp: null,
}
19800
{
 offset: null,
 timestamp: 2024-09-09T09:00:00.001Z,
}
0