Fixed incorrect result type of duration-duration division#229
Fixed incorrect result type of duration-duration division#229Jak-MS merged 1 commit intoMicrosoftDocs:mainfrom
Conversation
|
@fterrani : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit df842f2: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
Good catch! Hmmm....looks like the fact that a duration can be divided by a duration is also missing from the second table at https://learn.microsoft.com/en-us/powerquery-m/m-spec-values#duration. |
|
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
|
To me, Values and Operator behavior both show the same operator-related information, one regrouping information by value and the other by operator. We're in an annoying situation here:
I wish there was an easy way to avoid that kind of issues in the long run... But that content rework looks costly to me and would probably produce more errors than not doing it at all. For the moment, I cannot see any quick and easy way to reduce repeated information. Adding links between these two pages for each matching section/table row sounds even more daunting. It will probably be simpler / safer to just wait for people to report other errors (or for a (very) rainy weekend and a motivated person to check everything :) ). @bgribaudo I'm not used to the spec enough to find the proper wording for the second table's Meaning column... :( I think it's better for everyone if I let you guys do this. |
|
Hi @bgribaudo - could you create another pull request for updating the duration table? If so, we can merge that into the docs as well. |
|
#sign-off |
Hello.
I think the Division operator table has an incorrect value for the duration-duration division.
Table states
duration / durationwill produce aduration. However it seems to be contradicted by the subsequent Quotient of durations section:It is also contradicted by this simple test expression I created, which produces
FALSE:Am I correct? Or is there something I don't understand?