Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1314

Hudi Test Suite : Root node has no dependencies. DagUtils should consider that

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.5.1
    • None
    • Testing, tests-ci
    • None

    Description

      In the Hudi Test Suite, the DagUtils class currently has these 2 utility methods w.r.t the DagNode

      1. Java Object to String (convertDagToYaml)
      2. String to Java Object (convertJsonToDagNode)

      However , these 2 methods are incompatible with each other. That is, the output of the first one cannot be used as the input to the second one. That is a bug. And the root cause is the way ObjectMapper handles null node values. It currently writes them as null into the String representation. 

       

      Since root node has no dependencies, the convertJsonToDagNode should handle that case

      Attachments

        Activity

          People

            Unassigned Unassigned
            basanthroy Basanth Roy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified