Skip to content

Jsonfile 为读取 json 格式的文件,该文件每行应该为一个 json 对象(不能是数组)。每行不能有其他特殊字符,如除了换行之外不应加入其它分隔符。

xml
<source type="jsonfile" 
        table_name="et_pty_cust_flg"
        path="file:///path1/user.json"/>

Path 支持 file//,hdfs//;