Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRO-3884: Update local-timestamp example #2735

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Feb 13, 2024

The concept of the local-timestamp is each value is a recording of what can be seen on a calendar and a clock hanging on the wall, for example, "1969-07-20 16:17:39". It can be decomposed into year, month, day, hour, minute, and seconds fields, but with no time zone information available, it does not correspond to any specific point in time. It is often used in legacy systems.

The example was 12 hours off. Thanks @tjwp and @martin-g for raising this in https://github.com/apache/avro/pull/2554/files/3b9d95b046231132b77f8b7f90857f0f97f37916#r1437935439 馃憤

What is the purpose of the change

(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)

Verifying this change

(Please pick one of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Extended interop tests to verify consistent valid schema names between SDKs
  • Added test that validates that Java throws an AvroRuntimeException on invalid binary data
  • Manually verified the change by building the website and checking the new redirect

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

The concept of the local-timestamp is each value is a recording of what can be seen on a calendar and a clock hanging on the wall, for example, "1969-07-20 16:17:39". It can be decomposed into year, month, day, hour, minute, and seconds fields, but with no time zone information available, it does not correspond to any specific point in time. It is often used in legacy systems.

The example was 12 hours off.
@Fokko Fokko merged commit 9db06a3 into main Feb 13, 2024
2 checks passed
@Fokko Fokko deleted the fd-fix-local-timestamp-example branch February 13, 2024 12:24
@Fokko
Copy link
Contributor Author

Fokko commented Feb 13, 2024

Thanks for the review @tjwp

RanbirK pushed a commit to RanbirK/avro that referenced this pull request May 13, 2024
The concept of the local-timestamp is each value is a recording of what can be seen on a calendar and a clock hanging on the wall, for example, "1969-07-20 16:17:39". It can be decomposed into year, month, day, hour, minute, and seconds fields, but with no time zone information available, it does not correspond to any specific point in time. It is often used in legacy systems.

The example was 12 hours off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants