instead of using the ORC Timestamp format, since we cannot always encode
them in this format.
The offset is encoded as binary (byte string), following recent evolutions
of swh-model.
This makes swh-dataset compatible with swh-model 5.
Differential D7379
Encode TimestampWithTimezone as (sec, usec, offset) in ORC file douardda on Mar 18 2022, 2:09 PM. Authored by
Details
instead of using the ORC Timestamp format, since we cannot always encode The offset is encoded as binary (byte string), following recent evolutions This makes swh-dataset compatible with swh-model 5.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7379 (id=26681)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit 8c2b5e951c1a1195c9ec3e700cb9da60711a96ab Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (sec, usec, offset) in ORC file instead of using the ORC Timestamp format, since we cannot always encode them in this format. The offset is encoded as binary (byte string), following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/29/ for more details.
Comment Actions Do not use TimestampWithTimezone object in swh_date_to_tuple() as suggested by vlorentz Comment Actions Build is green Patch application report for D7379 (id=26702)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit ae440431049470ecac6aca0e8cbed4a51cde0c09 Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (sec, usec, offset) in ORC file instead of using the ORC Timestamp format, since we cannot always encode them in this format. The offset is encoded as binary (byte string), following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/41/ for more details. Comment Actions Update the encoding of TimestampWithTimezone to keep the timestamp part as an ORC timestamp Comment Actions Build has FAILED Patch application report for D7379 (id=26772)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit 69e806698bbb6df42bfa3520681e0203f91d8a65 Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (timestamp, offset, raw_offset_bytes) in ORC file ie. use the standard ORC Timestamp format (aka a couple (seconds, nanoseconds)) with 2 extra fields for the offset. The offset is stored as an integer (in minutes), but the raw offset value is also present as a binary string representation, following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. Link to build: https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/52/ Comment Actions Build has FAILED Patch application report for D7379 (id=26787)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit 103b16546273e068131e0fb61644a90bdafd652b Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (timestamp, offset, raw_offset_bytes) in ORC file ie. use the standard ORC Timestamp format (aka a couple (seconds, nanoseconds)) with 2 extra fields for the offset. The offset is stored as an integer (in minutes), but the raw offset value is also present as a binary string representation, following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. Link to build: https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/63/ Comment Actions Build is green Patch application report for D7379 (id=26794)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit 09d2840dbd4db6e1a3dd976c44b3c628b9174741 Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (timestamp, offset, raw_offset_bytes) in ORC file ie. use the standard ORC Timestamp format (aka a couple (seconds, nanoseconds)) with 2 extra fields for the offset. The offset is stored as an integer (in minutes), but the raw offset value is also present as a binary string representation, following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/64/ for more details. Comment Actions Build is green Patch application report for D7379 (id=26809)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit ac1ec1667d27ac6893a0d81e09c293f3cd04a2ee Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (timestamp, offset, raw_offset_bytes) in ORC file ie. use the standard ORC Timestamp format (aka a couple (seconds, nanoseconds)) with 2 extra fields for the offset. The offset is stored as an integer (in minutes), but the raw offset value is also present as a binary string representation, following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/75/ for more details. Comment Actions Build is green Patch application report for D7379 (id=26990)Rebasing onto 68f9bd2028... Current branch diff-target is up to date. Changes applied before testcommit f588e20a41af4b1b8042f9b5f0e88a1f1dc91e59 Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 18 11:46:37 2022 +0100 Encode TimestampWithTimezone as (timestamp, offset, raw_offset_bytes) in ORC file ie. use the standard ORC Timestamp format (aka a couple (seconds, nanoseconds)) with 2 extra fields for the offset. The offset is stored as an integer (in minutes), but the raw offset value is also present as a binary string representation, following recent evolutions of swh-model. This makes swh-dataset compatible with swh-model 5. See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/76/ for more details. |