Grace Walkuski
02/08/2021, 4:43 PMexecute()
function (no params) to the PinotPreparedStatement. There are already several execute(…)
functions with params, and an executeQuery()
function with no params. Is there a reason this hasn’t been done already? Or why was the executeQuery()
function named differently than the rest? Currently Jooq calls execute()
and it hits this since it hasn’t been overridden. I’m happy to make a PR to add this functionality but wanted to check first. Thanks!Grace Walkuski
02/08/2021, 7:27 PM@Override
public ResultSet execute()
throws SQLException {
executeQuery();
}
Grace Walkuski
02/08/2021, 7:54 PMZhuangda Z
06/09/2023, 4:15 PMnull
when there is empty-row(no match) result
2. Then Jooq tries to insert an updateCount
row which is not able to be parsed with the original cols
I wonder if this has any existing solution or we should update PinotStatement.execute()
to return a non-null ResultSet with 0 row instead(this looks the correct fix since an empty-row ResultSet should still be valid based on the discussion here).Zhuangda Z
06/09/2023, 4:37 PMGonzalo Ortiz
06/13/2023, 7:16 AM