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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/update avro version #29390

Closed
wants to merge 47 commits into from

Conversation

johnjcasey
Copy link
Contributor


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

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • 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.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

johnjcasey and others added 30 commits July 5, 2023 16:05
Create gradle task and github actions config for GCS using this.
…tests

Feature/automate performance tests
…tests

add destination for triggered tests
…tests

move env variables to correct location
…tests

try uploading against separate dataset
…tests

update branch checkout, try to view the failure log
…tests

update to use correct BigQuery instance
@github-actions github-actions bot added the build label Nov 10, 2023
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.82%. Comparing base (1f4bc68) to head (a41e913).
Report is 823 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #29390      +/-   ##
==========================================
- Coverage   38.28%   37.82%   -0.46%     
==========================================
  Files         694      690       -4     
  Lines      102255   101081    -1174     
==========================================
- Hits        39147    38237     -910     
+ Misses      61518    61257     -261     
+ Partials     1590     1587       -3     
Flag Coverage Δ
python 29.01% <ø> (-0.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@johnjcasey
Copy link
Contributor Author

retest this please

@johnjcasey
Copy link
Contributor Author

Run Spotless PreCommit

… deprecated for 9 years, and recently lost public access
@johnjcasey
Copy link
Contributor Author

run avro precommit

@johnjcasey
Copy link
Contributor Author

Run PostCommit_Java_Avro_Versions

@johnjcasey
Copy link
Contributor Author

the java precommit appears to be running :sdk:avro:extensions:test, which isn't a 'good' path. We have 4 avro versions we test, and just running test will fail. This is confusing because the java precommit appears to exclude extensions/avro

@johnjcasey
Copy link
Contributor Author

Run Python_Runners PreCommit

@aromanenko-dev
Copy link
Contributor

@johnjcasey Please, use git rebase instead of git merge to keep your branch up-to-date with master and proper commits history.

@@ -301,7 +301,7 @@ enum TestEnum {
.set(
"decimalValue",
new Conversions.DecimalConversion()
.toBytes(bd, Schema.create(Schema.Type.NULL), LogicalTypes.decimal(1, 1)))
.toBytes(bd, Schema.create(Schema.Type.NULL), LogicalTypes.decimal(2, 1)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why it was changed?

@@ -262,8 +262,7 @@ private static TableFieldSchema fieldDescriptorFromAvroField(Schema.Field field)
elementType.getType() != Schema.Type.UNION,
"Multiple non-null union types are not supported.");
TableFieldSchema unionFieldSchema =
fieldDescriptorFromAvroField(
new Schema.Field(field.name(), elementType, field.doc(), field.defaultVal()));
fieldDescriptorFromAvroField(new Schema.Field(field.name(), elementType, field.doc()));
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it going to be compiled successfully with previous Avro versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this case, the code here just is about trying to determine schema information. the default value doesn't appear to be needed

@aromanenko-dev
Copy link
Contributor

If we don't run :sdk:avro:extensions:test with Java PreCommit job then we need to make sure that an corresponding github action is triggered

Copy link
Contributor

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added stale and removed stale labels Jan 20, 2024
Copy link
Contributor

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Mar 22, 2024
Copy link
Contributor

This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants