Currently, We have a table similar to this:
--------------------- ID | AField | BField| ---------------------
The ID is Auto Increment
NULL in CSV file is read as a STRING in MySQL. If you want to have null values in a MySQL column instead use \N in place of `NULL. This will fix the issue and you will get the required result.
NULL
\N