Skip to content

Conversation

Aniket-debug
Copy link
Contributor

@Aniket-debug Aniket-debug commented Jun 26, 2023

Changes proposed in this pull request:

  • added start_vid and end_vid in one-to-one overload
  • added start_vid and end_vid columns in one-to-one docquiries
  • fixed pgtap tests

@pgRouting/admins

@Aniket-debug
Copy link
Contributor Author

@krashish8, @cvvergara I did very minimal changes and added start_vid and end_vid to one-to-one overload could you please tell me whether these changes would be acceptable or not?

@krashish8
Copy link
Member

Yes, the output looks good

@Aniket-debug Aniket-debug changed the title did very minimal changes and added start_vid and end_vid in one-to-one GSoC 2023: Aniket Agarwal Week 5 Jun 27, 2023
@Aniket-debug
Copy link
Contributor Author

@krashish8 I did some changes in types_check.pg please look into it and let me know if I have missed something.

Comment on lines 31 to 35
('{"","","","directed","heap_paths","seq","path_id","path_seq",start_vid,end_vid,"node","edge","cost","agg_cost"}'::TEXT[]),
('{"","","","","directed","heap_paths","seq","path_id","path_seq",start_vid,end_vid,"node","edge","cost","agg_cost"}'::TEXT[]),
('{"","","","","directed","heap_paths","seq","path_id","path_seq",start_vid,end_vid,"node","edge","cost","agg_cost"}'::TEXT[]),
('{"","","","","directed","heap_paths","seq","path_id","path_seq",start_vid,end_vid,"node","edge","cost","agg_cost"}'::TEXT[]),
('{"","","","","directed","heap_paths","seq","path_id","path_seq",start_vid,end_vid,"node","edge","cost","agg_cost"}'::TEXT[])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the records are duplicated. No use of duplicating the records when using set_eq - https://pgtap.org/documentation.html#set_eq

@Aniket-debug Aniket-debug merged commit 3e35f7c into pgRouting:Aniket-2023 Jul 2, 2023
Aniket-debug added a commit to Aniket-debug/GSoC-pgRouting that referenced this pull request Aug 22, 2023
* did very minimal changes and added start_vid and end_vid in one-to-one

* fixed pgtap tests

* removed duplicates from set_eq
Aniket-debug added a commit to Aniket-debug/GSoC-pgRouting that referenced this pull request Aug 23, 2023
* did very minimal changes and added start_vid and end_vid in one-to-one

* fixed pgtap tests

* removed duplicates from set_eq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants