# Allow \`CategoricalArray\` when registering a \`DataFrame\` as \`ENUM\` in DuckDB

**URL:** <https://discourse.julialang.org/t/allow-categoricalarray-when-registering-a-dataframe-as-enum-in-duckdb/107365>\
**Category:** Data\
**Tags:** duckdb\
**Created:** [December 9, 2023, 5:15pm UTC](https://discourse.julialang.org/t/allow-categoricalarray-when-registering-a-dataframe-as-enum-in-duckdb/107365 "2023-12-09T17:15:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielw2904](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielw2904/32/10890_2.png) [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Post date:** [December 9, 2023, 5:15pm UTC](https://discourse.julialang.org/t/allow-categoricalarray-when-registering-a-dataframe-as-enum-in-duckdb/107365/1 "2023-12-09T17:15:40Z")

</div>

Currently `CategoricalArrays` are not supported in DuckDB but I think it would be a good idea to do so. I have started a discussion on their [Github repo](https://github.com/duckdb/duckdb/discussions/9937). Would it be possible to add this using the new optional dependencies feature?  
Please upvote and contribute to the discussion [on GH](https://github.com/duckdb/duckdb/discussions/9937) if this is of interest to you.
