GitHub
02/24/2025, 4:39 PMx-singer.decimal JSON Schema extension
Pull request opened by edgarrmondragon
TODO:
• Docs
• Capability/Built-in setting
Related:
• Closes #1890
---
📚 Documentation preview 📚: https://meltano-sdk--2786.org.readthedocs.build/en/2786/
## Summary by Sourcery
Adds support for the singer.decimal JSON Schema extension. This allows numbers to be represented as strings with the singer.decimal format instead of as numbers. A new use_singer_decimal option is added to the SQLToJSONSchema class to control whether numbers are represented as string with the singer.decimal format or as number.
New Features:
• Adds support for the singer.decimal JSON Schema extension, allowing numbers to be represented as strings with the singer.decimal format instead of as numbers.
Enhancements:
• Adds a use_singer_decimal option to the SQLToJSONSchema class to control whether numbers are represented as string with the singer.decimal format or as number.
Tests:
• Adds a test case for converting numeric types to singer.decimal format.
• Adds a test case for converting singer.decimal types to SQLAlchemy DECIMAL types.
meltano/sdkGitHub
02/24/2025, 4:39 PMsinger.decimal JSON Schema extension
Pull request ready for review by edgarrmondragon
meltano/sdkGitHub
03/08/2025, 12:01 AM