Prerequisites
Steps to Reproduce
- Create two empty tables:
create table memory.default.source_table (id bigint)
create table memory.default.target_table (id bigint)
- Try to insert data from one table to another:
insert into memory.default.target_table (id) select id from memory.default.target_table
Executing the above query results in the following error: Newtonsoft.Json.JsonSerializationException: Error converting value "NaN" to type 'System.Int64'. Path 'stats.progressPercentage', line 1, position 472.
This occurs because Trino can sometimes return NaN for progressPercentage and runningPercentage, which leads to deserialization issues

Prerequisites
retry-policy=TASK).Steps to Reproduce
Executing the above query results in the following error:
Newtonsoft.Json.JsonSerializationException: Error converting value "NaN" to type 'System.Int64'. Path 'stats.progressPercentage', line 1, position 472.This occurs because Trino can sometimes return
NaNforprogressPercentageandrunningPercentage, which leads to deserialization issues