Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
While conducting the Spark 3.0 Integration test using Phoenix5-spark3-shaded module of project Phoenix-Connectors the following questions occurred.
The test process is as follows:
1. Phoenix created a table called "TABLE1" and then loaded the data into that table.
2. After that, I tried to select the data of the table using Spark.
As written in the README of Phoenix5-spark3 module, the part that loads Phoenix data into the Spark DataFrame using the Phoenix data source seems to work well.
However, when I create Phoenix Spark data source table through Spark SQL and try to select that data source table, the following error occurs:
java.util.concurrent.ExecutionException: org.apache.spark.sql.AnalysisException: phoenix is not a valid Spark SQL Data Source
I wonder if the Phoenix-Connectors does not support creating Phoenix Spark data source tables, or if there is any other reason for this error.
Attachments
Issue Links
- links to