[
https://issues.apache.org/jira/browse/IMPALA-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong resolved IMPALA-2536.
-----------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> 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
> Fix For: Impala 4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]