Skip to content

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

Closed

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);
        });
        ```

Activity

  1. self-assigned this
    on Sep 4, 2022
  2. added this to the 22.9.1 milestone on Sep 4, 2022
  3. added a commit that references this issue on Sep 4, 2022
  4. lvca commented on Sep 4, 2022

    @lvca
    Member

    Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions