[pull] master from apache:master - #474
Merged
Merged
Conversation
…on (#38510) ClickHouseIO previously only recognized second-precision DateTime, so pipelines emitting sub-second timestamps could not write to DateTime64 columns. This adds TypeName.DATETIME64 with a validated precision (0-9) and ColumnType.dateTime64(precision), plus a no-arg factory that defaults to precision 3. The parser accepts DateTime64[(precision[, 'timezone'])], including a bare DateTime64 and the type nested inside Nullable(...) and Array(...); the timezone argument is accepted but not stored. Beam field-type mapping is Joda DATETIME for precision up to 3, SqlTypes.TIMESTAMP for 4-6, and NanosInstant for 7 and above. The writer encodes the value as a little-endian int64 of epoch_seconds * 10^precision + sub_second_units, using floor division so negative timestamps match ClickHouse. Tests cover the parser, schema mapping, the encoder (Joda and java.time inputs, negative and overflow cases, null input), and ClickHouse testcontainer round-trips for precisions 3, 6 and 9 plus nullable cases. Closes #38466
* Add support for STDDEV_POP and STDDEV_SAMP in VarianceFn * Add DSL integration tests for STDDEV_POP and STDDEV_SAMP * Address review feedback: make fields final and add null check * Address review feedback: handle numerical instability and overflow in stddev * Address review feedback: return infinity on standard deviation overflow instead of throwing exception
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 8.4.0 to 8.6.0. - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md) - [Commits](protobufjs/protobuf.js@protobufjs-v8.4.0...protobufjs-v8.6.0) --- updated-dependencies: - dependency-name: protobufjs dependency-version: 8.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [form-data](https://github.com/form-data/form-data) from 2.5.5 to 2.5.6. - [Release notes](https://github.com/form-data/form-data/releases) - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v2.5.5...v2.5.6) --- updated-dependencies: - dependency-name: form-data dependency-version: 2.5.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )