[ 
https://issues.apache.org/jira/browse/PHOENIX-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lichenglin updated PHOENIX-2745:
--------------------------------
    Description: 
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 one.
the old datas still exsits.

the overwrite actually work as append

  was:
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 one.
the old datas still exsits.


> 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 one.
> the old datas still exsits.
> the overwrite actually work as append



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

Reply via email to