Skip to content

Commit

Permalink
fix: Incorrect data type on import page (apache#27307)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored and sfirke committed Mar 22, 2024
1 parent 0350a86 commit 782076d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/views/database/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ class CsvToDatabaseForm(UploadToDatabaseForm):
description=_(
"A dictionary with column names and their data types"
" if you need to change the defaults."
' Example: {"user_id":"integer"}'
' Example: {"user_id":"int"}. '
"Check Python's Pandas library for supported data types."
),
validators=[Optional()],
widget=BS3TextFieldWidget(),
Expand Down

0 comments on commit 782076d

Please sign in to comment.