You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc-gen: Migrate windows functions from code based documentation to attribute based #13670
The translation can be done manually or in semi automatic way, uncommenting a function in PR #13669 locally. This will generate local text files with attribute text which can be copy pasted to structs. However its still needed to remove code based documentation manually, add imports, etc
Please refer to PR #13646 which completed the migration for aggregation functions
Taking NthValue as an example, it implements different window functions through the enumeration value of its own type. How should I add user_doc for it? Do I need to modify user_doc itself to support this scenario?
Taking NthValue as an example, it implements different window functions through the enumeration value of its own type. How should I add user_doc for it? Do I need to modify user_doc itself to support this scenario?
For cases like that let's leave it as is.
I also faced the same scenario with invariants for aggregated functions, I dont think we can do much about it.
My understanding we can migrate 90%-ish of documentation to attributes still allowing for developers to implement API approach.
Perhaps in future we can expand user_doc and support enums but now it would be slightly prematurely
Activity
zjregee commentedon Dec 9, 2024
take
zjregee commentedon Dec 11, 2024
Hi, @comphead, I'm confused on how to handle the following situation, can you give me some advice?
Taking
NthValueas an example, it implements different window functions through the enumeration value of its own type. How should I adduser_docfor it? Do I need to modifyuser_docitself to support this scenario?comphead commentedon Dec 11, 2024
For cases like that let's leave it as is.
I also faced the same scenario with invariants for aggregated functions, I dont think we can do much about it.
My understanding we can migrate 90%-ish of documentation to attributes still allowing for developers to implement API approach.
Perhaps in future we can expand user_doc and support enums but now it would be slightly prematurely