IndexOutOfBoundsException after ADD PARTITION FIELD to empty table

Created a table with PARTITION BY (month(“timestamp”))
Then did an ALTER TABLE … ADD PARTITION FIELD year(“timestamp”)
response was “true”

But now if I do a SHOW CREATE TABLE, I get the following error:

IndexOutOfBoundsException: Index 1 out of bounds for length 1

Table is empty

@ctung If you are looking for an output like HQL “Show Create Table” in Dremio, that does not exist. What version of Dremio is this. In 25.1 for example the output would be just SELECT * FROM <table_name>