You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2019/12/24 21:43:00 UTC

[jira] [Updated] (HUDI-402) Code clean up in DataSourceUtils class

     [ https://issues.apache.org/jira/browse/HUDI-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinoth Chandar updated HUDI-402:
--------------------------------
    Component/s: code cleanup

> Code clean up in DataSourceUtils class
> --------------------------------------
>
>                 Key: HUDI-402
>                 URL: https://issues.apache.org/jira/browse/HUDI-402
>             Project: Apache Hudi (incubating)
>          Issue Type: Improvement
>          Components: code cleanup
>            Reporter: Pratyaksh Sharma
>            Assignee: Pratyaksh Sharma
>            Priority: Major
>
> In function getNestedFieldValAsString, we call getNestedFieldVal function to get the value. Then we check if the object returned is null, which is always false, since the called function throws an exception rather than returning null. 
> Need to change the code accordingly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)