Skip to content

TriangleCountAlgo init miss the "TriangleConfig" parameter #101

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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