# Dremio fails on promote partition folder

**URL:** <https://community.dremio.com/t/dremio-fails-on-promote-partition-folder/9415>\
**Category:** Uncategorized\
**Created:** [July 15, 2022, 6:18pm UTC](https://community.dremio.com/t/dremio-fails-on-promote-partition-folder/9415 "2022-07-15T18:18:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dacopan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/dacopan/32/4289_2.png) [@dacopan](https://community.dremio.com/u/dacopan)\
**Post date:** [July 15, 2022, 6:18pm UTC](https://community.dremio.com/t/dremio-fails-on-promote-partition-folder/9415/1 "2022-07-15T18:18:39Z")

</div>

Hello, I’m following folder partition structure ([Dremio](https://docs.dremio.com/software/data-sources/files-and-directories/#partitioned-datasets)), I’m ceating daily Datasets using CTA for example

```sql
CREATE TABLE hist.operacion.ca_operacion."2022"."01"."31"
    HASH PARTITION BY (fecha_inicio)
    LOCALSORT BY (fecha_inicio)
AS
SELECT *, cast('2022-01-31' as date) as fecha_reporte from pg2.ca_operacion

```

so when try promote folder (manually or automatically) we have Dremio error “Something went wrong” in logs only show

 ![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/f/f18c3f679e5510a504e4340443977ed099d7e58c.png)
