[
https://issues.apache.org/jira/browse/PHOENIX-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734514#comment-16734514
]
ASF GitHub Bot commented on PHOENIX-5059:
-----------------------------------------
Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/423#discussion_r245397674
--- Diff:
phoenix-spark/src/it/scala/org/apache/phoenix/spark/AbstractPhoenixSparkIT.scala
---
@@ -50,7 +51,7 @@ class AbstractPhoenixSparkIT extends FunSuite with
Matchers with BeforeAndAfter
final val TenantId = "theTenant"
var conn: Connection = _
- var sc: SparkContext = _
+ var spark: SparkSession = _
--- End diff --
```SparkSession``` is the new unified entry point (see
https://databricks.com/blog/2016/08/15/how-to-use-sparksession-in-apache-spark-2-0.html)
> Use the Datasource v2 api in the spark connector
> ------------------------------------------------
>
> Key: PHOENIX-5059
> URL: https://issues.apache.org/jira/browse/PHOENIX-5059
> Project: Phoenix
> Issue Type: New Feature
> Reporter: Thomas D'Silva
> Assignee: Thomas D'Silva
> Priority: Major
> Attachments: PHOENIX-5059-wip.patch
>
>
> Switching to the v2 api will enable pushing downing limits/aggregations and
> more in the future.
> https://issues.apache.org/jira/browse/SPARK-15689
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)