Re: Fix incorrect date type insertion in sql component

2023-03-02 Thread Jian Chen
Thank you Alex, understand that the behavior might different to make fully compatible with sql standards, perhaps we can only constraint the write process , both the api and sql components. Thus we can read even there are some old date in the database already Yours Stephen Alex Plehanov

Re: Fix incorrect date type insertion in sql component

2023-02-26 Thread Alex Plehanov
Hello, Jian Chen In Ignite date values can also be inserted by KV API, so year stored in the database can be outside of valid SQL standard range (0001-). If such values will be prohibited inside the "toInternal" method, there can be unexpected exceptions on select from the database. Some pure