Hi Yvette, I'm not quite sure what you're seeing, but it sounds strange to
me. In Iceberg, partitions don't exist unless there is data in the
partition. How did you check to see whether the partition exists or not?
Did you query the files metadata table?

On Thu, Jun 24, 2021 at 12:57 PM Yvette Liu <yve....@gmail.com> wrote:

> Using sparkSql for iceberg tables, "Insert overwrite partition" works
> fine.  However, when I add IF NOT EXISTS, the data is not inserted
> when the partition does not exist. Though I can see an empty partition
> gets created. Is "IF NOT EXISTS" clause currently supported?
>
> Thanks!
> Yvette
>


-- 
Ryan Blue
Tabular

Reply via email to