partiql-lang-kotlin icon indicating copy to clipboard operation
partiql-lang-kotlin copied to clipboard

[isl static type mappers] Add tests for CAST/IS operators with `StaticType.ANY` behaving as null

Open alancai98 opened this issue 3 years ago • 0 comments

(related to https://github.com/partiql/partiql-lang-kotlin/issues/514)

The isNullable and isOptional functions in StaticTypeMapper.kt can be removed once the tests are added.

Source of the functions in StaticTypeMapper: https://github.com/partiql/partiql-lang-kotlin/blob/fb7992468158d947557dc979f48a5f41ce83aa43/lang/src/org/partiql/lang/mappers/StaticTypeMapper.kt#L23-L25

alancai98 avatar Jan 26 '22 23:01 alancai98