Skip to content

TriangleCountAlgo init miss the "TriangleConfig" parameter #101

Open
@awang12345

Description

@awang12345

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions