I created an AWS glue job that loads data from a CSV file to a Mysql RDS database. The data are loaded successfully but all NULL values were inserted in the MySQL table as strings, not as NULL.
so if I query my table like select * from myTable where myCol is null
is have 0 result
but when I do select * from myTable where myCol where = 'NULL'
here I get results.
the data type of the fields in question is string.
any idea how to resolve that, please?