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

Add support of UUID values when encoding avro #971

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shnapz
Copy link
Contributor

@shnapz shnapz commented Mar 18, 2025

Checklist for PR author(s)

  • Changes are covered by unit tests (no major decrease in code coverage %) and/or integration tests.
  • Ensure code formating (use mvn com.coveo:fmt-maven-plugin:format org.codehaus.mojo:license-maven-plugin:update-file-header)
  • Document any relevant additions/changes in the appropriate spot in javadocs/docs/README.

@shnapz shnapz changed the title Add support of UUID column type Add support of UUID values when writing avro bytes Mar 18, 2025
@shnapz shnapz changed the title Add support of UUID values when writing avro bytes Add support of UUID values when encoding avro Mar 18, 2025
Copy link

codecov bot commented Mar 18, 2025

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.39%. Comparing base (e4b739f) to head (2bbcbd6).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #971      +/-   ##
============================================
- Coverage     91.67%   91.39%   -0.28%     
  Complexity      253      253              
============================================
  Files            26       26              
  Lines           949      953       +4     
  Branches         71       72       +1     
============================================
+ Hits            870      871       +1     
- Misses           52       54       +2     
- Partials         27       28       +1     
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -27,7 +27,8 @@ SELECT
random() * (timestamp '2010-01-01 00:00:00' -
timestamp '2020-01-01 00:00:00') AS timestamp2,
E'\\000'::bytea AS bytes_field,
ARRAY['foo', 'bar']::text[] AS arr1
ARRAY['foo', 'bar']::text[] AS arr1,
ARRAY[gen_random_uuid(), gen_random_uuid()]::uuid[] AS arr2
Copy link

@farzad-sedghi farzad-sedghi Mar 18, 2025

Choose a reason for hiding this comment

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

I assume the test(s) failed because of this addition, before the actual fix in the code

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.

2 participants