Skip to content

Pad suffixes to keep ordering #78

@bjdmeest

Description

@bjdmeest

Issue type: 🐛 Bug / 🦄 Feature

Description

Right now, suffixes are just incremented so we get _0 ... _9, _10, ... However that gives a wrong ordering when ingesting those in a triple store (_10 comes before _9). This specifically gives problems when using functions that have an array as input
Could we pad the suffixes to have _000, _001 etc instead? I know it's not an ideal fix (we should probably think more deeply about how to use functions that have an array as input), but it's small and doesn't break anything existing.

Steps

Any YARRRML 2 RML output

Environment

everywhere

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