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
add new field updatedRows to QueryStatistics.java where it's available in EventListener callbacks. It comes from TableMutationOperator.java where update/delete queries are issued.
add method `recordUpdatedPositions` to the OperatorContext class
update the updatedPositions for the queries run through MergeWriterOperator.java
add unit test for the added updatedRows to QueryStatistics.java
The test (for UPDATE/DELETE queries) was added to BaseConnectorTest.java and it needs the classes like EventsAwaitingQueries and QueryEvents that exist in trino-tests module. So, I moved the needed classes from trino-tests to trino-testing where they are exposed to both trino-tests and trino-testing.
fix unit tests (BaseHiveConnectorTests, TestHiveOrcWithShortZoneId)
add new field updatedRows to QueryStatistics.java where it's available in EventListener callbacks. It comes from TableMutationOperator.java where update/delete queries are issued.
add method `recordUpdatedPositions` to the OperatorContext class
update the updatedPositions for the queries run through MergeWriterOperator.java
dd unit test for the added updatedRows to QueryStatistics.java
The test (for UPDATE/DELETE queries) was added to BaseConnectorTest.java and it needs the classes like EventsAwaitingQueries and QueryEvents that exist in trino-tests module.
privatefinalAtomicReference<Metrics> metrics = newAtomicReference<>(Metrics.EMPTY); // this is not incremental, but gets overwritten by the latest value.
@@ -226,6 +227,12 @@ public void recordDynamicFilterSplitProcessed(long dynamicFilterSplits)
0 commit comments