[
https://issues.apache.org/jira/browse/PHOENIX-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734494#comment-16734494
]
ASF GitHub Bot commented on PHOENIX-5059:
-----------------------------------------
Github user ChinmaySKulkarni commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/423#discussion_r245391676
--- 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 --
@twdsilva What is the difference between SparkContext and SparkSession?
> 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)