You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/02/29 19:09:08 UTC

(superset) 03/06: fix: Incorrect data type on import page (#27307)

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 22e3419e369976a4d2d98df0e1e52beaf07444d3
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Thu Feb 29 10:03:20 2024 -0500

    fix: Incorrect data type on import page (#27307)
    
    (cherry picked from commit fa04eec2d5cdd2698e8a3f28926ab70d17358e86)
---
 superset/views/database/forms.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset/views/database/forms.py b/superset/views/database/forms.py
index f8e528c4e3..6b39765bed 100644
--- a/superset/views/database/forms.py
+++ b/superset/views/database/forms.py
@@ -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(),