Skip to content
Snippets Groups Projects

Fix large integer queries

Merged Daniel Hornung requested to merge f-fix-145-large-integer into dev

Summary

This MR does two things:

Please merge together with caosdb-pyinttest!35 (merged)

Focus

  • Was the cast to integer necessary before?
  • Was the required dot in Doubles necessary before?

Test Environment

Unit tests, integration tests.

Check List for the Author

Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines

  • All automated tests pass
  • Reference related issues #239 (closed)
  • Up-to-date CHANGELOG.md (or not necessary)
  • Annotations in code (Gitlab comments)
    • Intent of new code
    • Problems with old code
    • Why this implementation?

Check List for the Reviewer

  • I understand the intent of this MR
  • All automated tests pass
  • Up-to-date CHANGELOG.md (or not necessary)
  • The test environment setup works and the intended behavior is reproducible in the test environment
  • In-code documentation and comments are up-to-date.
  • Check: Are there specifications? Are they satisfied?

For further good practices have a look at our review guidelines.

Edited by Timm Fitschen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Daniel Hornung
  • Daniel Hornung added 1 commit

    added 1 commit

    • 3063dbac - MAINT: Removed debugging output and commented code.

    Compare with previous version

  • Daniel Hornung marked the checklist item Annotations in code (Gitlab comments) as completed

    marked the checklist item Annotations in code (Gitlab comments) as completed

  • Daniel Hornung requested review from @timm

    requested review from @timm

  • Daniel Hornung removed review request for @timm

    removed review request for @timm

  • Daniel Hornung added 1 commit

    added 1 commit

    Compare with previous version

  • Daniel Hornung added 1 commit

    added 1 commit

    Compare with previous version

  • 142 144 unitStr = m.group(2);
    143 145
    144 146 this.vDouble = Double.parseDouble(vDoubleStr);
    145 if (this.vDouble % 1 == 0) {
    146 this.vInt = (int) Math.floor(this.vDouble);
  • Daniel Hornung added 1 commit

    added 1 commit

    Compare with previous version

  • 505 507 return ret;
    506 508 }
    507 509
    510 /** Return the value type as string, for debugging puposes. */
  • Daniel Hornung added 1 commit

    added 1 commit

    Compare with previous version

  • Daniel Hornung added 1 commit

    added 1 commit

    • e85cd418 - Revert "WIP: Find regression."

    Compare with previous version

  • Daniel Hornung requested review from @salexan

    requested review from @salexan

  • Daniel Hornung marked the checklist item All automated tests pass as completed

    marked the checklist item All automated tests pass as completed

  • Daniel Hornung
  • Daniel Hornung added 1 commit

    added 1 commit

    • 92f7dcb4 - ENH: An additional query test.

    Compare with previous version

  • Daniel Hornung added 6 commits

    added 6 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading