robdiciuccio commented on a change in pull request #14449:
URL: https://github.com/apache/superset/pull/14449#discussion_r636508816
##########
File path: superset/views/database/forms.py
##########
@@ -163,6 +165,15 @@ def at_least_one_schema_is_allowed(database: Database) ->
bool:
_("Mangle Duplicate Columns"),
description=_('Specify duplicate columns as "X.0, X.1".'),
)
+ usecols = JsonListField(
+ _("Use Columns"),
+ default=None,
+ description=_(
+ "Json list of the column names that should be read. "
+ "If not None, only these columns will be read from the file."
+ ),
+ validators=[Optional()],
+ )
Review comment:
Can you provide a screenshot of the updated form UI?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]