You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2023/01/18 03:42:06 UTC

[GitHub] [incubator-devlake] keon94 opened a new issue, #4225: [Bug][Refdiff] CalculateIssuesDiff can error with SQL code 1241

keon94 opened a new issue, #4225:
URL: https://github.com/apache/incubator-devlake/issues/4225

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Running a Github blueprint on a couple of repos with no transformations led to this. A user on Slack also encountered it earlier.
   
   ```
   time="2023-01-17 21:27:21" level=error msg=" [task service] task failed
   	caused by: attached stack trace
   	  -- stack trace:
   	  | github.com/apache/incubator-devlake/server/services.RunTasksStandalone.func1
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/server/services/task.go:188
   	Wraps: (2) Error running task 27.
   	Wraps: (3) attached stack trace
   	  -- stack trace:
   	  | github.com/apache/incubator-devlake/core/runner.RunPluginSubTasks
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/core/runner/run_task.go:270
   	  | [...repeated from below...]
   	Wraps: (4) subtask calculateIssuesDiff ended unexpectedly
   	Wraps: (5) attached stack trace
   	  -- stack trace:
   	  | github.com/apache/incubator-devlake/impls/dalgorm.(*Dalgorm).Cursor
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/impls/dalgorm/dalgorm.go:139
   	  | github.com/apache/incubator-devlake/plugins/refdiff/tasks.CalculateIssuesDiff
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/plugins/refdiff/tasks/ref_issue_diff_calculator.go:59
   	  | github.com/apache/incubator-devlake/core/runner.runSubtask
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/core/runner/run_task.go:327
   	  | github.com/apache/incubator-devlake/core/runner.RunPluginSubTasks
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/core/runner/run_task.go:268
   	  | github.com/apache/incubator-devlake/core/runner.RunPluginTask
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/core/runner/run_task.go:154
   	  | github.com/apache/incubator-devlake/core/runner.RunTask
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/core/runner/run_task.go:130
   	  | github.com/apache/incubator-devlake/server/services.runTaskStandalone
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/server/services/task_runner.go:131
   	  | github.com/apache/incubator-devlake/server/services.RunTasksStandalone.func1
   	  | 	/mnt/c/Users/Keon/Dev/Shared/lake/backend/server/services/task.go:186
   	  | runtime.goexit
   	  | 	/home/keon/go/src/runtime/asm_amd64.s:1594
   	Wraps: (6) Error 1241: Operand should contain 2 column(s)
   	Wraps: (7) Error 1241: Operand should contain 2 column(s)
   	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.withPrefix (5) *withstack.withStack (6) *errutil.withPrefix (7) *mysql.MySQLError"
   time="2023-01-17 21:27:21" level=error msg=" [pipeline service] [pipeline #2] run tasks failed
   ```
   
   ### What do you expect to happen
   
   Successful completion of the pipeline.
   
   ### How to reproduce
   
   Here's the setup I used. Repos are public.
   
   ![AGLU68frvA](https://user-images.githubusercontent.com/25063936/213078171-e353655f-c4b2-46a9-b72c-dacc978cdaeb.jpg)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] abeizn closed issue #4225: [Bug][Refdiff] CalculateIssuesDiff can error with SQL code 1241

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn closed issue #4225: [Bug][Refdiff] CalculateIssuesDiff can error with SQL code 1241 
URL: https://github.com/apache/incubator-devlake/issues/4225


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org