Skip to content

[BEAM-12511] Add ability to use withResult without statement.#17

Merged
daria-malkova merged 36 commits intomasterfrom
withResults_without_statement
Sep 8, 2021
Merged

[BEAM-12511] Add ability to use withResult without statement.#17
daria-malkova merged 36 commits intomasterfrom
withResults_without_statement

Conversation

@RaphaelSanamyan
Copy link
Copy Markdown

Add ability to use "JdbcIO.Write.withResults" without statement and preparedStatementSetter.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

dennisylyung and others added 5 commits April 23, 2021 14:11
checkstyle errors

spotless

restore nullness check suppression

spotless

supress nullness warning in checkpointmark''
Fixing typo: istall => install
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's comment still actual?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite understand what the comment meant. So I can't say for sure whether it is relevant or not.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use checkNotNull?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used "checkArgument" according to the style of others checks in this module.

Comment on lines 1253 to 1501
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use checkNotNull?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used "checkArgument" according to the style of others checks in this module.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That really auto generated class?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this class automatically generates a preparedStatementSetter.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So maybe rename it in something like PreparedStatementSetterGenerator?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a generator, Since its instance is already a "PreparedStatementSetter" but not an object that generates "PreparedStatementSetter".

alexkoay and others added 8 commits June 22, 2021 22:02
Vendored gRPC 1.36.0 was using a log4j version with security issues.
gRPC does not declare log4j dependency. It uses java.util.logging
for logging. Therefore removing the dependency.
…quest and MonitoringInfosMetadataRequest/Response support to Java SDK.
…ionality (apache#14806)

[BEAM-11289] [Python] Integrate Google Cloud Recommendations AI functionality
@jrmccluskey noticed that the current instructions assume the `go test ./...` work at beam root. This hasn't been true since the katas were added. Instructions have been added to make the current Go version support for development clearer.
* [BEAM-12548] Add EqualsList functionality, corresponding unit tests. Also refactors equals_test.go to use better naming conventions
* [BEAM-12548] Add clarifying comment to EqualsList
@RaphaelSanamyan RaphaelSanamyan force-pushed the withResults_without_statement branch from 601bd82 to 0b52275 Compare July 1, 2021 15:14
aaltay and others added 15 commits July 1, 2021 08:58
* Add MatchContinuously PTransform

* Add MatchContinuously PTransform

* Add MatchContinuously PTransform

* Add MatchContinuously PTransform
…ob (apache#15107)

* [BEAM-10955] Testing could not find Flink job

* [BEAM-10955] Add waitJobToBeReady call, test fix for Flink job not found flakiness

* [BEAM-10955] Remove unused import

* [BEAM-10955] Discard changes in website folder, remove loop used for testing
…AT64, INT64 BigQuery types

[BEAM-10176] Support STRUCT, FLOAT64, INT64 BigQuery types
…pache#15112)

* [BEAM-12548] Add examples of Equals and EqualsList to equals_test.go
* [BEAM-12548] Update EqualsList failure example to use a helper for unwrapping the error
* [BEAM-12548] Update helper and example to follow better go practices
…tadata (apache#15028)

* Adds a Kafka external read transform for reading from Kafka with metadata

* updates

* Fixes the example

* Updates URNs

* Addresses reviewer comments

* Changes the default to preserve backwards compatiblity
udim and others added 4 commits July 2, 2021 09:22
* [BEAM-12513] Update initial sections of BPG for Go
* [BEAM-12513] Reformat code to be easier to find
* [BEAM-12513] Add scoping and additional comments.

Co-authored-by: Jack McCluskey <34928439+jrmccluskey@users.noreply.github.com>
…ific project id property

* [BEAM-12468] added bigquery specific project id property

* [BEAM-12468] add unit tests 

Signed-off-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Shan Lin Tsai <stsai@corelogic.com>
Co-authored-by: Dave Miller <davemiller@corelogic.com>

* [BEAM-12468] fix spotless checks

Signed-off-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Nikita Petunin <npetunin@corelogic.com>
Co-authored-by: Shan Lin Tsai <stsai@corelogic.com>

Co-authored-by: stsai-clgx <51134904+stsai-clgx@users.noreply.github.com>
Co-authored-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Shan Lin Tsai <stsai@corelogic.com>
Co-authored-by: Dave Miller <davemiller@corelogic.com>
…ngInfosRequest/Response InstructionRequest and MonitoringInfosMetadataRequest/Response support to Java SDK.

[BEAM-11994] Add HarnessMonitoringInfosRequest/Response InstructionRequest and MonitoringInfosMetadataRequest/Response support to Java SDK.
@RaphaelSanamyan RaphaelSanamyan force-pushed the withResults_without_statement branch 2 times, most recently from 27f2f6b to 82f883b Compare July 4, 2021 21:37
@RaphaelSanamyan RaphaelSanamyan force-pushed the withResults_without_statement branch from 82f883b to 312df3e Compare July 7, 2021 16:13
@daria-malkova daria-malkova merged commit 2a2107a into master Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.