Nebula Algorithm 使用application.conf 调用算法,回写nebulagraph时报错

使用Nebula Algorithm application.conf 配置,调用算法
${SPARK_HOME}/bin/spark-submit --master “local” --class com.vesoft.nebula.algorithm.Main ./nebula-algorithm-2.0.0.jar -p ./application.conf

配置中设置了结果回写到nebula_graph,但是报错,未成功。
求助大佬 :pray:


2

你要写回nebula的话有两种方式:

  1. 用2.1.0版本,因为2.0.0使用的算法结果DataFrame的列名是以下划线开头的,nebula不支持下划线开头的属性名。 2.1.0版本更新了默认列名。
  2. 建议用API调用的形式,这样可以灵活的对结果DataFrame做操作。
1 个赞

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。