<#2589 fix(targets): Make sink assertion compatibl...
# meltano-repo-activity
g
#2589 fix(targets): Make sink assertion compatible with stream maps Pull request opened by JCotton1123 The change here is necessary to ensure the assertion utilizes the aliases stream name (vs the original stream name). Given a stream_maps config with an
__alias__
configuration, see example below, a target will produce the following error:
Copy code
singer_sdk.exceptions.RecordsWithoutSchemaException: A record for stream 'Account' was encountered before a corresponding schema. Check that the Tap correctly implements the Singer spec.
Copy code
# meltano.yaml
...
  loaders:
  - config:
      athena_database: db
      s3_path: s3://bucket/data/
      stream_maps:
        Account:
          __alias__: Account_v2
    name: target-s3-parquet
--- 📚 Documentation preview 📚: https://meltano-sdk--2589.org.readthedocs.build/en/2589/ meltano/sdk GitHub Actions: External Tests ✅ 28 other checks have passed 28/29 successful checks