Skip to content

RemoteDatabase: create command does not return a Type. #502

@mdre

Description

@mdre

ArcadeDB Version: 22.8.1-SNAPSHOT

JDK Version: jdk 11

OS: Kubuntu 22.04

ResultSet records obtained from RemoteDatabase.command() does not inform which type contain. @cat does not exists.

Expected behavior

record: false
element: false
edge: false
vertex: true
projection: false
rs> { @rid: #33:2
s: 1630f6cf-0557-4f85-a166-e8bbdf86d19b
@type: SimpleVertex
@cat: v
 }

Actual behavior

record: false
element: false
edge: false
vertex: false
projection: true
rs> { @rid: #33:2
s: 1630f6cf-0557-4f85-a166-e8bbdf86d19b
@type: SimpleVertex
 }

Steps to reproduce

db = new RemoteDatabase("localhost", 2480, "ogm-test", "root", "toortoor");    
        ResultSet rs = db.command("sql", "create vertex SimpleVertex set s = ?",UUID.randomUUID().toString());
        //ResultSet rs = db.query("sql", "select from SimpleVertex");
        System.out.println("sql ok!...");
        rs.stream().forEach((t) -> {
            System.out.println("record: "+t.isRecord());
            System.out.println("element: "+t.isElement());
            System.out.println("edge: "+t.isEdge());
            System.out.println("vertex: "+t.isVertex());
            System.out.println("projection: "+t.isProjection());
            System.out.println("rs> "+t);
        });
        ```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions