from pr #15612, Type conversion error when reading date and datetime types --------- Co-authored-by: wudi <>