<#1989 docs: Document how to cast values to differ...
# meltano-repo-activity
g
#1989 docs: Document how to cast values to different data types in inline stream maps Issue created by edgarrmondragon ### Documentation type How-to guides ### Description There's a example in the test cases of the library: sdk/tests/core/test_mapper.py Line 128 in</meltano/sdk/commit/bfb7baaaa5743d09e37c79c714c905e716a65283|bfb7baa> | "int_test": "int('0')", | | ----------------------- | A full list of the currently support casts can be seen in the code: sdk/singer_sdk/mapper.py Lines 365 to 375 in</meltano/sdk/commit/bfb7baaaa5743d09e37c79c714c905e716a65283|bfb7baa> | if expr == "record": | | ------------------------------------- | | return th.CustomType(self.raw_schema) | | | | if expr.startswith("float("): | | return th.NumberType() | | | | if expr.startswith("int("): | | return th.IntegerType() | | | | if expr.startswith("str("): | | return th.StringType() | meltano/sdk