ORA-05045
invalid DIRECTORY clause specified for a non-directory-based sharded root table creation
Cause
DIRECTORY can only be specified for the creation of a directory-based sharded root table and must be followed by TABLESPACE.
Action
Remove the DIRECTORY clause if the statement is not for the creation of a directory-based sharded root table, otherwise, specify the tablespace with DIRECTORY TABLESPACE clause.