You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "propellerjet (via GitHub)" <gi...@apache.org> on 2025/03/21 11:48:37 UTC
[I] Wrong prompt in CSV/Excel upload form "Columns To Be Parsed as Dates" [superset]
propellerjet opened a new issue, #32790:
URL: https://github.com/apache/superset/issues/32790
### Bug description
1. Open CSV/Excel upload form
2. File settings section
3. Columns To Be Parsed as Dates

After changing CSV/Excel upload form there is no need to input column names separeted with comma.
There is a drop down list for choosing columns.
I suggest to remove the phrase "comma separated" and change the promp to "A list of columns that should be parsed as dates" or just "Select ..."
### Screenshots/recordings
_No response_
### Superset version
4.1.1
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
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-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Wrong prompt in CSV/Excel upload form "Columns To Be Parsed as Dates" [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed issue #32790: Wrong prompt in CSV/Excel upload form "Columns To Be Parsed as Dates"
URL: https://github.com/apache/superset/issues/32790
--
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-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Wrong prompt in CSV/Excel upload form "Columns To Be Parsed as Dates" [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #32790:
URL: https://github.com/apache/superset/issues/32790#issuecomment-2743142849
<!-- Answer -->
To update the prompt in the CSV/Excel upload form for "Columns To Be Parsed as Dates" to reflect the use of a dropdown list instead of requiring comma-separated column names, you need to modify the `metadata` description of the `column_dates` field in the `superset/databases/schemas.py` file. The updated description should indicate the use of a dropdown list. Here is the relevant code snippet with the updated description:
```python
column_dates = DelimitedListField(
fields.String(),
metadata={
"description": "[CSV and Excel only] Select column names from a dropdown list that should be "
"parsed as dates."
},
)
```
This change will update the prompt to better reflect the current functionality of the form <sup>[[1]](https://github.com/apache/superset/blob/master/superset/databases/schemas.py)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7c0b7046-8f30-4282-9970-bd4fdac19f04?feedback_type=other)</sup>
--
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-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Wrong prompt in CSV/Excel upload form "Columns To Be Parsed as Dates" [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #32790:
URL: https://github.com/apache/superset/issues/32790#issuecomment-2743596043
Sounds like an easy PR if anyone wants to open their first!
--
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-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org