haohao0103 commented on PR #480: URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/480#issuecomment-1665352528
> Hi, @haohao0103, thanks for your work, but -1 for me. > > I tested locally use `./bin/hugegraph-spark-loader.sh --master local[*] --name spark-hugegraph-loader --file ./example/spark/struct.json --host 192.168.34.164 --port 18080 --graph hugegraph` > > but got: > > ``` > java.lang.NullPointerException > at java.lang.String.split(String.java:2337) > at java.lang.String.split(String.java:2422) > ``` > > If I remember correctly, delimieter has a default comma, we need to check this? > > ``` > elements = builder.build(fileSource.header(), > row.mkString(delimiter).split(delimiter)); > ``` hi,i have check it .when file format is json the default delimiter is null。  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
