[ 
https://issues.apache.org/jira/browse/PHOENIX-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133653#comment-15133653
 ] 

Suman Datta commented on PHOENIX-2648:
--------------------------------------

Hi [Randy 
Gelhausen|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=randerzander]
 . Thanks for your comment. I tried the way you suggested but am unable to 
create a standard column in the view from the dynamic columns. 
The problem I am facing is Create View is not supporting "create view abc as 
select <dynamic_column_name> from dynamic_table(dynamic_column_name type) "  It 
is only supporting "select * " which is again making the column dynamic in the 
view too.  (ref: https://issues.apache.org/jira/browse/PHOENIX-1507)
Can you please help me out?

> Phoenix Spark Integration does not allow Dynamic Columns to be mapped
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-2648
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2648
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>         Environment: phoenix-spark-4.6.0-HBase-0.98  , 
> spark-1.5.0-bin-hadoop2.4
>            Reporter: Suman Datta
>              Labels: patch, phoenixTableAsRDD, spark
>             Fix For: 4.6.0
>
>
> I am using spark-1.5.0-bin-hadoop2.4 and phoenix-spark-4.6.0-HBase-0.98 to 
> load phoenix tables on hbase to Spark RDD. Using the steps in 
> https://phoenix.apache.org/phoenix_spark.html,  I can successfully map 
> standard columns in a table to Phoenix RDD. 
> But my table has some important dynamic columns 
> (https://phoenix.apache.org/dynamic_columns.html) which are not getting 
> mapped to Spark RDD in this process.(using sc.phoenixTableAsRDD)
> This is proving a showstopper for me for using phoenix with spark.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to