[
https://issues.apache.org/jira/browse/PHOENIX-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181368#comment-15181368
]
lichenglin commented on PHOENIX-2745:
-------------------------------------
spark will create a new table by using the schema of the dataframe, can phoenix
do the same thing?
It's really convenient, thanks a lot.
> The spark savemode not work correctly
> -------------------------------------
>
> Key: PHOENIX-2745
> URL: https://issues.apache.org/jira/browse/PHOENIX-2745
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.6.0
> Reporter: lichenglin
>
> When saving a dataframe to spark with the mode SaveMode.Overwrite
> spark will drop the table first and load the new dataframe
> but phoinex just replace the old data to the new data according to the
> primary key
> the old datas still exsits.
> the overwrite actually work as append
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)