InvisibleProgrammer opened a new pull request, #5186:
URL: https://github.com/apache/hive/pull/5186

   It fails with the following error: 
   
   ```
   org.springframework.dao.InvalidDataAccessApiUsageException: SQL [UPDATE 
"MATERIALIZATION_REBUILD_LOCKS" SET "MRL_LAST_HEARTBEAT" = 1712571919559 WHERE 
"MRL_TXN_ID" = 2297 AND "MRL_DB_NAME" = ? AND "MRL_TBL_NAME" = ?]: given 2 
parameters but expected 0 
   ```
   
   We didn't spot it so far as when the heartbeat of materialized view fails 
with an error, it doesn't affect the rebuild query run. So that it can be only 
spotted by actively watching the logs.
   
   ### What changes were proposed in this pull request?
   Fix the query parameterisation
   
   
   ### Why are the changes needed?
   Because it is wrong
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### Is the change a dependency upgrade?
   No
   
   
   ### How was this patch tested?
   Manually, by modifying an existing qtest 
materialized_view_create_rewrite_6.q and checking the logs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to