You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using java.sql.Timestamp, AddProductColumnTypes test fails on the linux pipeline because the timestamp object being sent to the database had an extra comma between the date and the time.
Mac/Windows: "Dec 1, 2022 11:55:45 AM"
Linux: "Dec 1, 2022, 4:45:52 PM"
System.Private.CoreLib: Exception while executing function: Functions.AddProductColumnTypes. Microsoft.Azure.WebJobs.Host: Error while handling parameter _binder after function returned:. Microsoft.Azure.WebJobs.Extensions.Sql: Unexpected error upserting rows. Core Microsoft SqlClient Data Provider: The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.
lucyzhang929
changed the title
AddProductColumnTypesTest failing on linux pipeline for Java
java.sql.Timestamp object gets serialized with an extra comma on Linux
Jan 25, 2023
When using java.sql.Timestamp, AddProductColumnTypes test fails on the linux pipeline because the timestamp object being sent to the database had an extra comma between the date and the time.
Mac/Windows: "Dec 1, 2022 11:55:45 AM"
Linux: "Dec 1, 2022, 4:45:52 PM"
System.Private.CoreLib: Exception while executing function: Functions.AddProductColumnTypes. Microsoft.Azure.WebJobs.Host: Error while handling parameter _binder after function returned:. Microsoft.Azure.WebJobs.Extensions.Sql: Unexpected error upserting rows. Core Microsoft SqlClient Data Provider: The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.
This depends on the Java worker adding support for customizing the GSON serializer: Azure/azure-functions-java-worker#424.
The text was updated successfully, but these errors were encountered: