apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
61.22k stars 13.33k forks source link

Schema name and Table name are empty after CSV import #29568

Open xavier-GitHub76 opened 1 month ago

xavier-GitHub76 commented 1 month ago

Bug description

Hello I import a CSV file A dataset is created Schema name and Table name are empty after CSV import in "Source" section : image

Best regards

How to reproduce the bug

See Bub description

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

dosubot[bot] commented 1 month ago

The Schema name and Table name fields are empty in the "Source" section after importing a CSV file into Superset because the schema and table name are not mandatory fields in the CSV upload schema. The schema field is optional, and the table_name field is required but might not be populated correctly during the import process [1].

To manually set or correct the schema and table name fields after a CSV import, follow these steps:

  1. Navigate to the Datasets Page: Go to the "Datasets" section in Superset.
  2. Select the Dataset: Find and select the dataset that was created from the CSV import.
  3. Edit Dataset: Click on the "Edit" button to modify the dataset's settings.
  4. Set Schema and Table Name:
    • Schema: In the edit form, locate the field for the schema name and set it to the desired schema.
    • Table Name: Similarly, find the field for the table name and set it to the correct table name.
  5. Save Changes: After setting the schema and table name, save the changes to update the dataset configuration [1].

These steps should resolve the issue with the empty Schema name and Table name fields.

To continue talking to Dosu, mention @dosu.