Skip to content

IF NOT EXISTS doesn't work for EDGE [@out,@in] index #1601

@oc007us

Description

@oc007us

ArcadeDB Version:

24.4.1

OS and JDK Version:

MacOS and JDK 21

Expected behavior

When creating INDEX on EDGE Type for (@out, @in) with IF NOT EXISTS, and the index already exists the command should be ignored

Actual behavior

When creating INDEX on EDGE Type for (@out,@in) with IF NOT EXISTS when index exists an error occurs. For example, error looks like this: Cannot execute command Found the existent index 'Members[@out,@in]' defined on the properties '[@out, @in]' for type 'Members', where Members is an EDGE type

Steps to reproduce

CREATE EDGE Type Members; CREATE INDEX IF NOT EXISTS ON Members (@out, @in) UNIQUE; CREATE INDEX IF NOT EXISTS ON Members (@out, @in`) UNIQUE;

The second CREATE INDEX command fails
`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions