[
https://issues.apache.org/jira/browse/SQOOP-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032013#comment-15032013
]
Jarek Jarcec Cecho commented on SQOOP-2692:
-------------------------------------------
Good point [~colin_mjj]! Indeed we should change the arguments as well.
Thinking out-loud here, what aboutrenaming the {{cid}}, {{lid}} and {{jid}} to
{{\-\-name}}? E.g. to end up with something like:
{code}
update link --name my-link
{code}
One downside would be that {{create link}} would be a bit confusing as we would
expect connector name instead of link name, but otherwise it seems much
cleaner. What do you think?
> Sqoop2: Drop Id from shell
> --------------------------
>
> Key: SQOOP-2692
> URL: https://issues.apache.org/jira/browse/SQOOP-2692
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Jarek Jarcec Cecho
> Assignee: Colin Ma
> Fix For: 1.99.7
>
>
> I've noticed that we're displaying the ID in bunch of occasions, for example
> in tables:
> {code}
> sqoop:000> show link
> +----+------------+--------------+------------------------+---------+
> | Id | Name | Connector Id | Connector Name | Enabled |
> +----+------------+--------------+------------------------+---------+
> | 2 | with space | 6 | generic-jdbc-connector | true |
> +----+------------+--------------+------------------------+---------+
> sqoop:000> delete link -l 2
> sqoop:000> show link
> +----+------+--------------+----------------+---------+
> | Id | Name | Connector Id | Connector Name | Enabled |
> +----+------+--------------+----------------+---------+
> +----+------+--------------+----------------+---------+
> {code}
> I think that we should drop it since we're dropping it from public interfaces.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)