Peter Vary created HIVE-23015:
---------------------------------
Summary: Fix HIVE_VECTORIZATION_GROUPBY_COMPLEX_TYPES_ENABLED
definition
Key: HIVE-23015
URL: https://issues.apache.org/jira/browse/HIVE-23015
Project: Hive
Issue Type: Bug
Components: Vectorization
Reporter: Peter Vary
The _HIVE_VECTORIZATION_GROUPBY_COMPLEX_TYPES_ENABLED_ is definied like this:
{code}
HIVE_VECTORIZATION_GROUPBY_COMPLEX_TYPES_ENABLED("hive.vectorized.groupby.complex.types.enabled",
true,
"This flag should be set to true to enable group by vectorization\n" +
"of aggregations that use complex types.\n",
"For example, AVG uses a complex type (STRUCT) for partial aggregation
results" +
"The default value is true."),
{code}
Notice that the end of the "of aggregations that use complex types.\n" line is
a "," instead of "+".
So this will end up using the following constructor using the second sentence
as an "altName" :)
{code}
ConfVars(String varname, Object defaultVal, String description, String
altName) {
this(varname, defaultVal, null, description, true, false, altName);
}
{code}
We should fix this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)