Dear @phil Thank you for your hard work in upgrading the DHIS2 versions. I upgraded from 2.35.1 to 40.0.0. My problem was with the analytics tables failing, and I have noticed the following error in the catalina log. yesterday after I saw HOTFIX of 40.0.1 I upgraded it from 40.0.0 to 40.0.1 and the same error I found,
**Catalina log:**
INFO 2023-07-03T00:07:33,137 Scheduler initiated execution of job: JobConfiguration{uid='BO6J9oyMfMQ', name='inMemoryAnalyticsJob', jobType=ANALYTICS_TABLE, cronExpression='', delay='null', jobParameters=org.hisp.dhis.scheduling.parameters.AnalyticsJobParameters@1a31b039, enabled=true, inMemoryJob=true, lastRuntimeExecution='null', userUid='Ij0E4tY1keN', leaderOnlyJob=false, jobStatus=SCHEDULED, nextExecutionTime=null, lastExecutedStatus=NOT_STARTED, lastExecuted=null} (DefaultSchedulingManager.java [http-nio-8081-exec-8]) IDrlsducXX5OUxr/vjkVTNaB1AVV12SXvpfLWQlLvXZ8A=
* INFO 2023-07-03T00:07:33,138 Found 8 analytics table types: [ORG_UNIT_TARGET, COMPLETENESS, COMPLETENESS_TARGET, OWNERSHIP, DATA_VALUE, VALIDATION_RESULT, ENROLLMENT, EVENT] (DefaultAnalyticsTableGenerator.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,138 Analytics table update: AnalyticsTableUpdateParams{last years=null, skip resource tables=false, skip table types=[], skip programs=[], start time=2023-07-03T00:07:33} (DefaultAnalyticsTableGenerator.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,138 Last successful analytics table update: '2023-07-02T23:52:55' (DefaultAnalyticsTableGenerator.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,139 Analytics table update process (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,139 [ANALYTICS_TABLE BO6J9oyMfMQ] Process started: Analytics table update process (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,142 Drop SQL views (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,142 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Drop SQL views (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,161 13 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,162 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.02s: 13 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,162 Generating resource tables (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,162 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Generating resource tables (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,162 Generating resource table: '_orgunitstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,530 Resource table '_orgunitstructure' update done: '00:00:00.367' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:33,606 Generating resource table: '_datasetorganisationunitcategory' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,060 Resource table '_datasetorganisationunitcategory' update done: '00:00:05.453' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,119 Generating resource table: '_categoryoptioncomboname' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,138 Resource table '_categoryoptioncomboname' update done: '00:00:00.019' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,143 Generating resource table: '_dataelementgroupsetstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,162 Resource table '_dataelementgroupsetstructure' update done: '00:00:00.018' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,167 Generating resource table: '_indicatorgroupsetstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,175 Resource table '_indicatorgroupsetstructure' update done: '00:00:00.007' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:39,180 Generating resource table: '_organisationunitgroupsetstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,403 Resource table '_organisationunitgroupsetstructure' update done: '00:00:01.223' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,411 Generating resource table: '_categorystructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,447 Resource table '_categorystructure' update done: '00:00:00.036' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,521 Generating resource table: '_dataelementstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,903 Resource table '_dataelementstructure' update done: '00:00:00.381' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:40,946 Generating resource table: '_periodstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,006 Resource table '_periodstructure' update done: '00:00:00.059' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,015 Generating resource table: '_dateperiodstructure' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,955 Resource table '_dateperiodstructure' update done: '00:00:00.939' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,973 Generating resource table: '_dataelementcategoryoptioncombo' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,992 Resource table '_dataelementcategoryoptioncombo' update done: '00:00:00.018' (JdbcResourceTableStore.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,995 11 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,995 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 8.833s: 11 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,996 Create SQL views (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:41,996 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Create SQL views (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* WARN 2023-07-03T00:07:42,015 Validation failed for SQL view 'HnZAdad7N37' with code: 'E4301' and message: 'SQL query must be a select query' (DefaultSqlViewService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* WARN 2023-07-03T00:07:42,015 Ignoring SQL view which failed validation: HnZAdad7N37, users, message: SQL query must be a select query (DefaultResourceTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,019 13 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,019 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.023s: 13 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,020 Analytics table update parameters: AnalyticsTableUpdateParams{last years=null, skip resource tables=false, skip table types=[], skip programs=[], start time=2023-07-03T00:07:33} (DefaultAnalyticsTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,020 Starting update of type: DATA_VALUE, table name: 'analytics', processes: 7: 00:00:00.000 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,020 Validating Analytics Table DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,020 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Validating Analytics Table DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,022 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.002s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,138 Table update start: analytics, earliest: null, parameters: AnalyticsTableUpdateParams{last years=null, skip resource tables=false, skip table types=[], skip programs=[], start time=2023-07-03T00:07:33}: 00:00:00.117 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,138 Performing pre-create table work (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,138 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Performing pre-create table work (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.001s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 Performed pre-create table work DATA_VALUE: 00:00:00.118 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 Dropping temp tables (if any) DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Dropping temp tables (if any) DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 1 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,139 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0s: 1 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,140 Dropped temp tables: 00:00:00.119 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,140 Creating analytics tables DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,140 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Creating analytics tables DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,140 Creating table: 'analytics_temp', columns: '54' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,143 Creating partition table: 'analytics_temp_2008' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,146 Creating partition table: 'analytics_temp_2022' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,149 Creating partition table: 'analytics_temp_2023' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 1 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.013s: 1 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 Created analytics tables: 00:00:00.132 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 Populating analytics tables DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Populating analytics tables DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,153 Populate table task number: 3 (DefaultAnalyticsTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:42,211 Populate analytics_temp_2008 [INTEGER, NUMBER, INTEGER_NEGATIVE, INTEGER_POSITIVE, PERCENTAGE, UNIT_INTERVAL, INTEGER_ZERO_OR_POSITIVE] in: 0.053726 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-2])
* INFO 2023-07-03T00:07:42,235 Populate analytics_temp_2008 [BOOLEAN, TRUE_ONLY] in: 0.018961 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-2])
* INFO 2023-07-03T00:07:42,257 Populate analytics_temp_2008 [BOOLEAN] in: 0.018928 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-2])
* INFO 2023-07-03T00:07:42,291 Populate analytics_temp_2008 [LONG_TEXT, TEXT, TIME, LETTER, URL, PHONE_NUMBER, EMAIL, USERNAME, DATETIME, AGE, DATE] in: 0.030803 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-2])
* INFO 2023-07-03T00:07:42,357 Populate analytics_temp_2022 [INTEGER, NUMBER, INTEGER_NEGATIVE, INTEGER_POSITIVE, PERCENTAGE, UNIT_INTERVAL, INTEGER_ZERO_OR_POSITIVE] in: 0.199533 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-1])
* INFO 2023-07-03T00:07:42,381 Populate analytics_temp_2022 [BOOLEAN, TRUE_ONLY] in: 0.019967 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-1])
* INFO 2023-07-03T00:07:42,409 Populate analytics_temp_2022 [BOOLEAN] in: 0.025330 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-1])
* INFO 2023-07-03T00:07:42,484 Populate analytics_temp_2022 [LONG_TEXT, TEXT, TIME, LETTER, URL, PHONE_NUMBER, EMAIL, USERNAME, DATETIME, AGE, DATE] in: 0.070950 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-1])
* INFO 2023-07-03T00:07:44,489 Populate analytics_temp_2023 [INTEGER, NUMBER, INTEGER_NEGATIVE, INTEGER_POSITIVE, PERCENTAGE, UNIT_INTERVAL, INTEGER_ZERO_OR_POSITIVE] in: 2.331961 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-3])
* INFO 2023-07-03T00:07:44,529 Populate analytics_temp_2023 [BOOLEAN, TRUE_ONLY] in: 0.034583 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-3])
* INFO 2023-07-03T00:07:44,547 Populate analytics_temp_2023 [BOOLEAN] in: 0.014667 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-3])
* INFO 2023-07-03T00:07:44,662 Populate analytics_temp_2023 [LONG_TEXT, TEXT, TIME, LETTER, URL, PHONE_NUMBER, EMAIL, USERNAME, DATETIME, AGE, DATE] in: 0.109901 sec. (AbstractJdbcTableManager.java [ForkJoinPool-16-worker-3])
* INFO 2023-07-03T00:07:44,663 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 2.51s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,663 Populated analytics tables: 00:00:02.642 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,663 Invoking analytics table hooks DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,663 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Invoking analytics table hooks DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,664 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.001s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,664 Invoked analytics table hooks: 00:00:02.643 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,665 Applying aggregation level 4 DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,665 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Applying aggregation level 4 DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,761 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.096s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,764 Applied aggregation levels: 00:00:02.743 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,764 Vacuuming tables DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,764 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Vacuuming tables DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,817 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.053s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,817 Tables vacuumed: 00:00:02.796 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,817 Creating indexes DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:44,817 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Creating indexes DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:48,795 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 3.978s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:48,795 Created indexes: 00:00:06.774 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:48,795 Analyzing analytics tables DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:48,795 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Analyzing analytics tables DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,282 3 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,282 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.487s: 3 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,282 Analyzed tables: 00:00:07.261 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,283 Drop SQL views (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,283 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Drop SQL views (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,298 13 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,298 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.015s: 13 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,298 Swapping analytics tables DATA_VALUE (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,299 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Swapping analytics tables DATA_VALUE (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,300 Swapping table, master table exists: 'true', skip master table: 'false' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,373 1 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,373 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.074s: 1 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,374 Create SQL views (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,374 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Create SQL views (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* WARN 2023-07-03T00:07:49,391 Validation failed for SQL view 'HnZAdad7N37' with code: 'E4301' and message: 'SQL query must be a select query' (DefaultSqlViewService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* WARN 2023-07-03T00:07:49,392 Ignoring SQL view which failed validation: HnZAdad7N37, users, message: SQL query must be a select query (DefaultResourceTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,395 13 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,396 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.022s: 13 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,396 Table update done: analytics: 00:00:07.375 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,397 Analytics table update parameters: AnalyticsTableUpdateParams{last years=null, skip resource tables=false, skip table types=[], skip programs=[], start time=2023-07-03T00:07:33} (DefaultAnalyticsTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,397 Starting update of type: COMPLETENESS, table name: 'analytics_completeness', processes: 7: 00:00:00.000 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,397 Validating Analytics Table COMPLETENESS (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,397 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Validating Analytics Table COMPLETENESS (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,398 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.001s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 Table update start: analytics_completeness, earliest: null, parameters: AnalyticsTableUpdateParams{last years=null, skip resource tables=false, skip table types=[], skip programs=[], start time=2023-07-03T00:07:33}: 00:00:00.008 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 Performing pre-create table work (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Performing pre-create table work (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 Performed pre-create table work COMPLETENESS: 00:00:00.008 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 Dropping temp tables (if any) COMPLETENESS (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,405 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Dropping temp tables (if any) COMPLETENESS (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 1 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.001s: 1 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 Dropped temp tables: 00:00:00.008 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 Creating analytics tables COMPLETENESS (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Creating analytics tables COMPLETENESS (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,406 Creating table: 'analytics_completeness_temp', columns: '38' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,409 Creating partition table: 'analytics_completeness_temp_2008' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,412 Creating partition table: 'analytics_completeness_temp_2018' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,415 Creating partition table: 'analytics_completeness_temp_2022' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,418 Creating partition table: 'analytics_completeness_temp_2023' (AbstractJdbcTableManager.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,420 1 successful and 0 failed items (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,421 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.015s: 1 successful and 0 failed items (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,421 Created analytics tables: 00:00:00.023 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,421 Populating analytics tables COMPLETENESS (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,421 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Populating analytics tables COMPLETENESS (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,421 Populate table task number: 4 (DefaultAnalyticsTableService.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,432 Populate analytics_completeness_temp_2018 in: 0.010379 sec. (AbstractJdbcTableManager.java [ForkJoinPool-20-worker-2])
* INFO 2023-07-03T00:07:49,432 Populate analytics_completeness_temp_2008 in: 0.010862 sec. (AbstractJdbcTableManager.java [ForkJoinPool-20-worker-3])
* INFO 2023-07-03T00:07:49,433 Populate analytics_completeness_temp_2022 in: 0.011776 sec. (AbstractJdbcTableManager.java [ForkJoinPool-20-worker-1])
* INFO 2023-07-03T00:07:49,487 Populate analytics_completeness_temp_2023 in: 0.065133 sec. (AbstractJdbcTableManager.java [ForkJoinPool-20-worker-4])
* INFO 2023-07-03T00:07:49,487 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage completed after 0.066s (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,488 Populated analytics tables: 00:00:00.090 (Clock.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,488 Invoking analytics table hooks COMPLETENESS (NotificationLoggerUtil.java [taskScheduler-22]) UID:BO6J9oyMfMQ
* INFO 2023-07-03T00:07:49,488 [ANALYTICS_TABLE BO6J9oyMfMQ] Stage started: Invoking analytics table hooks COMPLETENESS (ControlledJobProgress.java [taskScheduler-22]) UID:BO6J9oyMfMQ```