MySQL & MariaDB error 4142 ER_BULK_LOADER_FILE_CONTAINS_LESS_LINES_THAN_IGNORE_CLAUSE
Same number, two different errors. 4142 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLThe first file being loaded contained less lines than the ignore clause
MariaDBSYSTEM_TIME partitions in table … does not support historical query