Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TriangleCountAlgo init miss the "TriangleConfig" parameter #101

Open
awang12345 opened this issue Aug 27, 2024 · 0 comments
Open

TriangleCountAlgo init miss the "TriangleConfig" parameter #101

awang12345 opened this issue Aug 27, 2024 · 0 comments

Comments

@awang12345
Copy link
Contributor

awang12345 commented Aug 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant