Skip to content

Conversation

@YadnikiPawar
Copy link
Contributor

@sabhyankar Pull request for Kafka To GCS Template.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added the cla: no The PR submitter does not have a CLA label Sep 25, 2019
@sabhyankar sabhyankar self-requested a review September 25, 2019 23:55
@sabhyankar
Copy link
Member

@YadnikiPawar - Can you sign the CLA?

@YadnikiPawar
Copy link
Contributor Author

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes The PR submitter has a CLA and removed cla: no The PR submitter does not have a CLA labels Sep 26, 2019
@YadnikiPawar YadnikiPawar force-pushed the master branch 3 times, most recently from 586a115 to 7375a66 Compare October 2, 2019 20:25
Copy link
Member

@sabhyankar sabhyankar left a comment

Choose a reason for hiding this comment

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

@YadnikiPawar - Thanks for opening this PR. Can you rebase and take a look at the minor nits for now? I want to spend a little more time looking at the main pipeline code.

@YadnikiPawar YadnikiPawar force-pushed the master branch 4 times, most recently from 3ef5f58 to 401ab72 Compare October 2, 2019 21:51
Copy link
Member

@sabhyankar sabhyankar left a comment

Choose a reason for hiding this comment

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

I think we need to review this a little more as I disagree with a few of the things.

@YadnikiPawar
Copy link
Contributor Author

@sabhyankar Changes are done. The PR is up for review

@YadnikiPawar
Copy link
Contributor Author

@sabhyankar Removed the unrelated files

Copy link
Member

@sabhyankar sabhyankar left a comment

Choose a reason for hiding this comment

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

Please add unit tests for each of the WriteToXXX transforms. Also format the classes using the IntelliJ plugin to make it easier.

Copy link
Member

@sabhyankar sabhyankar left a comment

Choose a reason for hiding this comment

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

Minor corrects and nits - Please address and rebase

Copy link
Member

Choose a reason for hiding this comment

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

Why are we passing null? Should we even use withNumShards if are going to pass null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sabhyankar Though of making NumShards a required parameter because when I was trying to set its default value to 0 it threw [java.lang.IllegalArgumentException: When applying WriteFiles to an unbounded PCollection, must specify number of output shards explicitly] this Exception.

Copy link
Contributor Author

@YadnikiPawar YadnikiPawar Nov 9, 2019

Choose a reason for hiding this comment

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

@sabhyankar
I made the following changes

  1. Changed withNumShards() to setNumShards().
  2. Setting its default value to be 0 using @Default.Integer(0) in the options Interface
  3. Letting withNumShards() method from IO's (i.e. AvroIO, TextIO, FileIO) to handle this exception

@YadnikiPawar YadnikiPawar force-pushed the master branch 2 times, most recently from 17959ab to bfb196b Compare November 11, 2019 08:30
@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no The PR submitter does not have a CLA and removed cla: yes The PR submitter has a CLA labels Nov 11, 2019
@YadnikiPawar YadnikiPawar reopened this Nov 11, 2019
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes The PR submitter has a CLA and removed cla: no The PR submitter does not have a CLA labels Nov 11, 2019
@YadnikiPawar
Copy link
Contributor Author

@sabhyankar The PR has been rebased.

Copy link
Member

@sabhyankar sabhyankar left a comment

Choose a reason for hiding this comment

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

LGTM

@sabhyankar sabhyankar added the Google LGTM Approval of a pull request to be merged into the repository label Nov 18, 2019
ryanmcdowell pushed a commit that referenced this pull request Nov 20, 2019
PiperOrigin-RevId: 281563732
@ryanmcdowell ryanmcdowell merged commit ace7a40 into GoogleCloudPlatform:master Nov 20, 2019
shreyakhajanchi pushed a commit that referenced this pull request Jan 23, 2025
* Dml integration (#53)

* Added extensive UT

Added extensive UT

* Cassandra pr bug fixes (#57)

* Cassandra Consolidate Unit Test case and Regression testing fixes (#58)

* Added Mapping fixes

* Added Spoltles fixes

* Added Consolidated fixes

* Added TODO

* Addess Data and Time

* Cassandra pr bug fixes (#64)

* Handle TypeHandler Parsing issue fixes (#65)

Co-authored-by: pawankashyapollion <v-pawan.kumar@ollion.com>

* Added Safe handle (#68)

* Handle LocalTime For Time Data Type In Cassandra (#69)

* Cassandra pr bug fixes (#70)

* Handle Timestamp Fixes (#72)

* Added Code Combined in a single way

* Address The Unwanted Hop

* Cassandra pr bug fixes (#75)

* Added PR Review Comments

* Remove NamesCol Dependecy as spannerTableName is same as In Given Mapping

* Added spannerTableId for fetching Mapping

* Removed SpannerToID and also Updated Session file with proper structure

* Timestamp in milisecond

* removed assertNotNull from UT wherever possible

* Added Fixes

* Added Note Instead of Question

* -- review fixes (#78)

* Added Bytes to hex to blob conversion

* Handling Bytes as Binary encoded As of now

* Passing Null Value to Primary Key as well for cassandra

* Added UT fixes

* Added UT refectoring

* Reverse merge confict fixes

---------

Co-authored-by: pawankashyapollion <v-pawan.kumar@ollion.com>
Co-authored-by: Akash Thawait <aakash@ollion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes The PR submitter has a CLA Google LGTM Approval of a pull request to be merged into the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants