Skip to content

Treating empty Values when using Enforce schema #44

Open
@YaphetKG

Description

@YaphetKG

This is more of a question with a use case when loading nodes
lets imagine we have two objects

{ "name": "moving item" , "can_move" : True}
{ "name": "cat" , "can_make_noise": True}

let's say we can create a schema merging the properties of these objects that looks something like

name:STRING|can_move:BOOL|can_make_noise:BOOL
moving item|True|
cat||True

When using the bulk loader with enforce schema we are expected to define a value for the missing columns can_move for cat or can_make_noise for moving item.

There are cases where in data we are trying to load doesn't make sense to use default values , i.e cases where we can't assert that if this is not provided then use False (or True) for that matter .

Question is is it possible to accept missing values and not write those properties in the graph if values for those columns (attributes) are not provided?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions