VIAL-GOUTEYRON Quentin
23f9aeded0
NEW Add CSV/XLSX import mode to disable triggers execution (refactoring of import, while preserving legacy SQL compatibility) (#37367)
* Add support for optimized import trigger modes and bulk processing
Introduced new features and optimizations for the import module:
- **Trigger Modes**: Added `strict_line` (default, triggers per row) and `fast_bulk` (triggers aggregate events for bulk imports).
- **Simulation Mode**: Implemented a simulation flag to enable preview of imports without executing triggers.
- **Trigger Cache/Optimization**: Added caching for trigger objects and hook-resolved actions, enhancing performance during legacy SQL imports.
- **Bulk Trigger Stats**: Integrated stats tracking for bulk operations (insert/update) by table, facilitating analytical insight during bulk imports.
- **Extended Trigger Logic**: Enhanced trigger handling:
- Dynamically resolved actions based on context (table, operation, object class).
- Introduced hooks for custom import trigger actions.
- Provided fallback mechanisms for unmapped table-element relationships.
- **Compatibility**: Maintained compatibility with legacy strict-line mode using object-based trigger execution.
These updates improve import performance, scalability, and flexibility while maintaining robust backward compatibility.
* fix
* fix
* refacto
* precommit
* retour
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:35:36 +01:00
..
2026-02-10 20:36:42 +01:00
2025-12-22 17:40:50 +01:00
2026-01-30 14:22:56 +01:00
2026-01-23 18:46:38 +01:00
2025-11-19 15:14:53 +01:00
2026-01-15 16:05:06 +01:00
2026-02-08 15:28:19 +01:00
2026-01-30 14:22:56 +01:00
2026-01-30 14:22:56 +01:00
2026-01-29 15:33:02 +01:00
2026-02-09 19:29:17 +01:00
2026-02-23 01:30:54 +01:00
2026-01-15 16:05:06 +01:00
2025-11-08 19:29:54 +01:00
2026-02-16 04:04:17 +01:00
2026-01-24 16:15:31 +01:00
2026-02-10 15:50:34 +01:00
2026-01-28 14:58:32 +01:00
2026-02-27 16:35:36 +01:00
2026-02-10 15:01:34 +01:00
2026-01-15 16:05:06 +01:00
2026-01-28 15:04:49 +01:00
2026-01-26 16:11:21 +01:00
2026-02-27 14:43:58 +01:00
2026-01-28 18:01:39 +01:00
2026-01-15 16:05:06 +01:00
2026-01-16 11:28:47 +01:00
2025-08-09 13:52:31 +02:00
2026-02-10 20:36:42 +01:00
2026-01-15 16:05:06 +01:00
2026-02-09 19:29:17 +01:00
2026-02-04 14:45:07 +01:00
2026-01-15 02:04:41 +01:00
2026-02-10 00:50:53 +01:00
2025-11-20 15:05:13 +01:00
2026-01-15 16:05:06 +01:00
2025-12-21 13:32:32 +01:00
2026-02-10 00:50:53 +01:00
2026-02-10 15:32:41 +01:00
2026-01-30 14:22:56 +01:00
2026-01-30 00:47:45 +01:00
2026-02-09 23:50:17 +01:00
2025-12-18 14:10:05 +01:00
2025-06-07 14:31:53 +02:00
2026-01-15 16:05:06 +01:00
2025-10-06 18:17:02 +02:00
2025-09-18 16:26:38 +02:00
2026-01-15 16:05:06 +01:00
2026-02-23 00:11:16 +01:00
2026-01-07 02:35:53 +01:00
2026-01-23 16:52:44 +01:00
2026-01-31 20:28:26 +01:00
2026-01-29 13:18:03 +01:00
2026-01-25 14:13:09 +01:00
2025-11-27 00:05:04 +01:00
2026-02-24 17:35:35 +01:00
2025-10-10 10:16:33 +02:00
2025-11-27 00:21:50 +01:00
2025-10-03 13:00:22 +02:00
2025-11-12 16:02:03 +01:00
2025-10-30 01:51:29 +01:00
2025-04-03 16:41:41 +02:00
2025-03-29 17:25:00 +01:00
2026-01-05 13:17:36 +01:00
2025-10-10 10:16:33 +02:00
2025-10-10 10:16:33 +02:00
2025-01-07 18:54:08 +01:00
2026-02-08 15:29:53 +01:00
2025-09-29 20:41:32 +02:00
2025-10-10 10:16:33 +02:00
2025-12-02 15:11:40 +01:00
2025-09-11 13:31:34 +02:00
2026-01-02 17:58:38 +01:00
2025-10-20 16:46:36 +02:00
2026-02-08 15:29:53 +01:00
2025-12-06 03:27:49 +01:00
2025-11-02 14:26:46 +01:00
2025-11-02 14:26:46 +01:00
2026-01-28 16:16:20 +01:00
2025-11-12 12:55:21 +01:00
2025-12-06 03:27:49 +01:00
2025-11-12 15:29:42 +01:00
2025-12-06 03:27:49 +01:00
2025-10-10 10:16:33 +02:00
2025-11-18 12:03:23 +01:00
2026-01-31 20:28:26 +01:00
2025-05-05 17:09:24 +02:00
2025-11-20 17:04:53 +01:00
2025-09-11 11:20:13 +02:00
2026-01-24 12:43:14 +01:00
2026-01-31 20:28:26 +01:00
2026-02-08 22:27:12 +01:00
2025-01-11 09:14:43 +01:00
2026-02-07 12:06:35 +01:00
2026-02-02 19:24:31 +01:00
2026-01-31 20:28:26 +01:00
2025-02-16 14:32:33 +01:00
2025-12-06 03:27:49 +01:00
2025-12-06 03:27:49 +01:00
2025-11-12 15:29:42 +01:00
2025-12-15 15:15:41 +01:00
2025-11-18 02:49:47 +01:00
2026-02-23 01:29:51 +01:00
2025-10-10 10:16:33 +02:00
2025-12-07 16:34:33 +01:00
2025-09-11 12:30:19 +02:00
2025-02-23 19:42:49 +01:00
2025-10-10 10:16:33 +02:00
2025-12-06 03:27:49 +01:00
2025-10-09 13:22:45 +02:00
2026-02-04 14:49:13 +01:00
2025-10-10 10:16:33 +02:00
2025-11-12 15:03:31 +01:00
2025-10-01 13:30:02 +02:00
2025-12-06 03:27:49 +01:00
2025-10-10 10:16:33 +02:00
2025-11-02 14:21:29 +01:00