You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/05/13 08:45:59 UTC
[jira] [Resolved] (SPARK-7566) HiveContext.analyzer cannot be
overriden
[ https://issues.apache.org/jira/browse/SPARK-7566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-7566.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
Assignee: Santiago M. Mola
> HiveContext.analyzer cannot be overriden
> ----------------------------------------
>
> Key: SPARK-7566
> URL: https://issues.apache.org/jira/browse/SPARK-7566
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.3.1
> Reporter: Santiago M. Mola
> Assignee: Santiago M. Mola
> Fix For: 1.4.0
>
>
> Trying to override HiveContext.analyzer will give the following compilation error:
> {code}
> Error:(51, 36) overriding lazy value analyzer in class HiveContext of type org.apache.spark.sql.catalyst.analysis.Analyzer{val extendedResolutionRules: List[org.apache.spark.sql.catalyst.rules.Rule[org.apache.spark.sql.catalyst.plans.logical.LogicalPlan]]};
> lazy value analyzer has incompatible type
> override protected[sql] lazy val analyzer: Analyzer = {
> ^
> {code}
> That is because the type changed inadvertedly when omitting the type declaration of the return type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org