Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@regisoc
Copy link
Contributor

@regisoc regisoc commented Mar 11, 2024

Brief summary of changes

When mixing numbers with strings in an instrument field value (e.g. text field) results in a DQT column that has a sorting issues. This happened for a "summary" instrument in HBCD project that import results from multiple other instruments. This instrument has to clearly display the value of the field (i.e. numeric) or "No data" (i.e. string).

Testing instructions (if applicable)

  1. Apply numeric values in an instrument field.
  2. Run the DQT update (dict build + DQT imports).
  3. Make a DQT query that contains the right fields/columns.
  4. Try to sort these columns.
  5. See error.

Link(s) to related issue(s)

Linked to HBCD#1652

@regisoc regisoc self-assigned this Mar 11, 2024
Copy link
Contributor

@maximemulder maximemulder left a comment

Choose a reason for hiding this comment

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

Thanks for the code, here is my review. I also strongly suggest moving this code to its own function/method to isolate the logic from the rest of the code.

@kongtiaowang kongtiaowang added Passed manual tests PR has been successfully tested by at least one peer and removed Passed manual tests PR has been successfully tested by at least one peer labels Mar 11, 2024
Copy link
Contributor

@maximemulder maximemulder left a comment

Choose a reason for hiding this comment

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

Some more comments but I won't block on that.

@regisoc
Copy link
Contributor Author

regisoc commented Mar 11, 2024

@maximemulder Thanks for the review :)
@kongtiaowang ready to test.

@regisoc regisoc requested a review from kongtiaowang March 11, 2024 23:21
@driusan
Copy link
Collaborator

driusan commented Mar 27, 2024

Sorry, missed that this was ready to go because i've mostly been looking at the release issues.

@driusan driusan merged commit e733cae into aces:24.1-release Mar 27, 2024
@ridz1208 ridz1208 added this to the 24.1.8 milestone Jun 6, 2024
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

Successfully merging this pull request may close these issues.

5 participants