You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Basanth Roy (Jira)" <ji...@apache.org> on 2020/10/06 00:02:00 UTC
[jira] [Updated] (HUDI-1314) Hudi Test Suite : Root node has no
dependencies. DagUtils should consider that
[ https://issues.apache.org/jira/browse/HUDI-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Basanth Roy updated HUDI-1314:
------------------------------
Status: Open (was: New)
> Hudi Test Suite : Root node has no dependencies. DagUtils should consider that
> ------------------------------------------------------------------------------
>
> Key: HUDI-1314
> URL: https://issues.apache.org/jira/browse/HUDI-1314
> Project: Apache Hudi
> Issue Type: Bug
> Components: Testing
> Affects Versions: 0.5.1
> Reporter: Basanth Roy
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> In the Hudi Test Suite, the DagUtils class currently has these 2 utility methods w.r.t the DagNode
> # Java Object to String (convertDagToYaml)
> # 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)