dosubot[bot] commented on issue #29568: URL: https://github.com/apache/superset/issues/29568#issuecomment-2225003168
<!-- Answer --> 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 <sup>[[1]](https://github.com/apache/superset/blob/master/superset/databases/schemas.py)</sup>. 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 <sup>[[1]](https://github.com/apache/superset/blob/master/superset/databases/schemas.py)</sup>. These steps should resolve the issue with the empty Schema name and Table name fields. <!-- 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