Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3959

Dynamic labels are not correctly handled in Neo4j output step

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 2.0.0
    • Plugins
    • Mac OS Monterey, OpenJDK11

    Description

      When generating data with dynamic labels hop takes the labels from the previous rows, compares with the current ones and then determines whether to use the previous ones or not.

       

      However, this routine fails if we're writing large amounts of data (thousands of nodes).

      Example: 2k nodes with labels DE and Adult, followed by 1k nodes DE Child, 1k nodes DE Baby

       

      The clone rows step on the sample hpl allows choosing larger or smaller rowsets. with 99 clones (800 nodes in total) all behaviours are as expected. But with 999 clones the issue becomes visible.

       

      It's also worth having a look at dynamic labels for relationships, as they're probably equally affected, but I haven't tested those.

      Attachments

        1. simpler_example.hpl
          5 kB
          Nelson sousa
        2. simpler_example
          5 kB
          Nelson sousa
        3. queries.cypher
          1 kB
          Nelson sousa
        4. neo4j_dynamic_labels.hpl
          8 kB
          Nelson sousa

        Issue Links

          Activity

            People

              mcasters Matt Casters
              nsousa Nelson sousa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: