GitHub
09/02/2025, 5:02 PMDecimalType alias for NumberType
Pull request opened by edgarrmondragon
## Summary by Sourcery
Replace the generic NumberType with a more explicit DecimalType across the codebase and deprecate NumberType with a warning alias
Enhancements:
• Introduce a new DecimalType class and alias NumberType to DecimalType with a deprecation warning
• Migrate all references in typing definitions, helpers, connectors, and mappers to use DecimalType instead of NumberType
• Update SQL-to-JSON schema and JSON-to-SQL conversions to produce DecimalType mappings
Documentation:
• Drop NumberType documentation, add DecimalType docs, and update guides and reference pages to use DecimalType
Tests:
• Revise tests to import sqlalchemy directly and assert on DecimalType usage instead of NumberType
Chores:
• Add a DeprecationWarning filter for recommending DecimalType over NumberType in test config
meltano/sdkGitHub
09/02/2025, 5:15 PM