nebula-algorithm icon indicating copy to clipboard operation
nebula-algorithm copied to clipboard

TriangleCountAlgo init miss the "TriangleConfig" parameter

Open awang12345 opened this issue 1 year ago • 0 comments

Please check the FAQ documentation before raising an issue

Describe the bug (required)

  • bug desc: The absence of the TriangleConfig parameter causes the TriangleCountAlgo algorithm to fail to encode the string id convert to number type

  • git branch: master

  • code postion: com.vesoft.nebula.algorithm.Main:150

  • source code:

case AlgorithmType.TriangleCount => TriangleCountAlgo(spark, dataSet, config)

  • fix code:

case AlgorithmType.TriangleCount => val config = TriangleConfig.getTriangleConfig(configs) TriangleCountAlgo(spark, dataSet, config)

Your Environments (required)

  • OS: uname -a
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

awang12345 avatar Aug 27 '24 01:08 awang12345