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

fix(mappers): Map record field to a JSON object type #1885

Conversation

edgarrmondragon
Copy link
Collaborator

@edgarrmondragon edgarrmondragon commented Jul 28, 2023

TBD:

  • Should the schema for the full record be simply {"type": "object", "properties": {}}, i.e. fully variant schema, or preserve all the schema information about the record? It currently does the former.

    RESOLVED: Use the raw record schema

Closes #1882


📚 Documentation preview 📚: https://meltano-sdk--1885.org.readthedocs.build/en/1885/

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #1885 (94fffc9) into main (1d8143d) will not change coverage.
The diff coverage is 90.90%.

@@           Coverage Diff           @@
##             main    #1885   +/-   ##
=======================================
  Coverage   87.16%   87.16%           
=======================================
  Files          59       59           
  Lines        5120     5120           
  Branches      827      827           
=======================================
  Hits         4463     4463           
  Misses        463      463           
  Partials      194      194           
Files Coverage Δ
singer_sdk/mapper.py 80.67% <90.90%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
@edgarrmondragon edgarrmondragon marked this pull request as ready for review September 22, 2023 16:25
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
…ms-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema
@edgarrmondragon edgarrmondragon merged commit fe7d7d6 into main Sep 28, 2023
28 checks passed
@edgarrmondragon edgarrmondragon deleted the 1882-bug-a-field-referencing-record-in-streams-maps-gets-incorrectly-mapped-to-a-string-type-in-the-schema branch September 28, 2023 19:31
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.

bug: A field referencing record in streams maps gets incorrectly mapped to a string type in the schema
1 participant