[
https://issues.apache.org/jira/browse/HIVE-14134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shelukhin updated HIVE-14134:
------------------------------------
Description:
E.g. this should work or fail to compile:
{noformat}
select * from test_4 where struct(`my_bigint`, `my_double`)
IN (struct(1L, 1.5BD), ...)
{noformat}
Right now in vectorization it all depends on serialization format so it doesn't
work; in non-vector it also doesn't work for some other reason. See HIVE-13945
was:
E.g. if the struct in int and double, this should work or fail to compile:
{noformat}
select * from test_4 where struct(`my_bigint`, `my_double`)
IN (struct(1L, "a", 1.5BD), ...)
{noformat}
Right now in vectorization it all depends on serialization format so it doesn't
work; in non-vector it also doesn't work for some other reason. See HIVE-13945
> Support automatic type conversion (or fail) when using struct_in with
> different types
> -------------------------------------------------------------------------------------
>
> Key: HIVE-14134
> URL: https://issues.apache.org/jira/browse/HIVE-14134
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
>
> E.g. this should work or fail to compile:
> {noformat}
> select * from test_4 where struct(`my_bigint`, `my_double`)
> IN (struct(1L, 1.5BD), ...)
> {noformat}
> Right now in vectorization it all depends on serialization format so it
> doesn't work; in non-vector it also doesn't work for some other reason. See
> HIVE-13945
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)