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 "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/12/28 07:19:00 UTC
[jira] [Assigned] (IMPALA-2536) Make ColumnType constructor
explicit to prevent certain bugs
[ https://issues.apache.org/jira/browse/IMPALA-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong reassigned IMPALA-2536:
-------------------------------------
Assignee: Tim Armstrong
> Make ColumnType constructor explicit to prevent certain bugs
> ------------------------------------------------------------
>
> Key: IMPALA-2536
> URL: https://issues.apache.org/jira/browse/IMPALA-2536
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 2.3.0
> Reporter: Skye Wanderman-Milne
> Assignee: Tim Armstrong
> Priority: Minor
> Labels: newbie
>
> We currently rely on the ColumnType(PrimitiveType) constructor not being marked explicit (e.g. we use type == TYPE_FOO in many places), but it allows for bugs if we accidentally pass in e.g. ints instead of types. We should be using type.type == TYPE_FOO anyway.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org