dosubot[bot] commented on issue #31272:
URL: https://github.com/apache/superset/issues/31272#issuecomment-2515621189

   <!-- Greeting -->
   Hey @Kamilooosx! I'm here to help you with any bugs, questions, or 
contributions you have for Superset. Let's squash this bug together!
   
   <!-- Answer -->
   I found a similar unsolved discussion titled [Error message: data type 
'Datetime' not 
understood](https://github.com/apache/superset/discussions/27662) which might 
be related to your issue 
<sup>[[1]](https://github.com/apache/superset/discussions/27662)</sup>.
   
   Regarding your issue with the CSV import feature not recognizing date 
formats, ensure that the 'Columns to be parsed as dates' option is correctly 
set. The expected behavior is for this option to allow you to specify which 
columns should be interpreted as dates 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/databases/UploadDataModel/index.tsx)</sup>.
 
   
   If the date parsing is failing, it might be due to incorrect settings in the 
CSV import process. Key settings to check include:
   - The `parse_dates` option, which specifies which columns should be parsed 
as dates. Ensure the column names or indices match those in your CSV file.
   - The `dayfirst` option, which affects how dates are interpreted. Make sure 
this is set according to your date format 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset/commands/database/uploaders/csv_reader.py)</sup>.
   
   If these settings are correct and the issue persists, it might be a 
limitation or bug in the current version.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to