You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2021/11/19 16:38:00 UTC
[jira] [Assigned] (IMPALA-11031) Listmap.getIndex() name is misleading
[ https://issues.apache.org/jira/browse/IMPALA-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltán Borók-Nagy reassigned IMPALA-11031:
------------------------------------------
Assignee: Zoltán Borók-Nagy
> Listmap.getIndex() name is misleading
> -------------------------------------
>
> Key: IMPALA-11031
> URL: https://issues.apache.org/jira/browse/IMPALA-11031
> Project: IMPALA
> Issue Type: Improvement
> Components: Frontend
> Reporter: Zoltán Borók-Nagy
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Labels: ramp-up
>
> Listmap.getIndex(t) modifies the ListMap object when there is no mapping for 't'.
> Hence the name of it is very misleading as the reader wouldn't expect modifications from simple getters.
> Probably we should just rename it to getOrAddIndex().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org