Details
Description
Reproducer:
@Test public void test() { //Exprected 'ab' assertQuery("SELECT CAST(? AS VARCHAR(2))").withParams("abcd").returns("ab").check(); }
@Test public void test0(){ // A conversion error is expected. assertQuery("SELECT CAST(? AS DECIMAL(2))").withParams(new BigDecimal("123")).check(); }
Adoption of #IGNITE-19353
Attachments
Issue Links
- links to