[
https://issues.apache.org/jira/browse/HIVE-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925080#action_12925080
]
Namit Jain commented on HIVE-474:
---------------------------------
Can you refresh and regenerate the patch - I am getting some compile errors
after applying to trunk ?
[javac] /data/users/njain/hive-commit1/ql/build.xml:159: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 622 source files to
/data/users/njain/hive-commit1/build/ql/classes
[javac]
/data/users/njain/hive-commit1/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java:204:
cannot find symbol
[javac] symbol : class StructField
[javac] location: class org.apache.hadoop.hive.ql.exec.GroupByOperator
[javac] List<? extends StructField> sfs =
[javac] ^
[javac]
/data/users/njain/hive-commit1/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java:205:
cannot find symbol
[javac] symbol : class StandardStructObjectInspector
[javac] location: class org.apache.hadoop.hive.ql.exec.GroupByOperator
[javac] ((StandardStructObjectInspector)
rowInspector).getAllStructFieldRefs();
[javac] ^
[javac]
/data/users/njain/hive-commit1/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java:207:
cannot find symbol
[javac] symbol : class StructField
[javac] location: class org.apache.hadoop.hive.ql.exec.GroupByOperator
[javac] StructField keyField = sfs.get(0);
[javac] ^
[javac]
/data/users/njain/hive-commit1/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java:211:
cannot find symbol
[javac] symbol : class StandardStructObjectInspector
[javac] location: class org.apache.hadoop.hive.ql.exec.GroupByOperator
[javac] if (keyObjInspector instanceof
StandardStructObjectInspector) {
[javac] ^
Most probably, some merge issue
> Support for distinct selection on two or more columns
> -----------------------------------------------------
>
> Key: HIVE-474
> URL: https://issues.apache.org/jira/browse/HIVE-474
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Alexis Rondeau
> Assignee: Amareshwari Sriramadasu
> Attachments: hive-474.0.4.2rc.patch, patch-474-1.txt,
> patch-474-2.txt, patch-474.txt
>
>
> The ability to select distinct several, individual columns as by example:
> select count(distinct user), count(distinct session) from actions;
> Currently returns the following failure:
> FAILED: Error in semantic analysis: line 2:7 DISTINCT on Different Columns
> not Supported user
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.