[jira] Updated: (HIVE-691) show documentation for user defined functions
[ https://issues.apache.org/jira/browse/HIVE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-691: Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed. Thanks Emil show documentation for user defined functions - Key: HIVE-691 URL: https://issues.apache.org/jira/browse/HIVE-691 Project: Hadoop Hive Issue Type: Improvement Components: Query Processor Reporter: Prasad Chakka Assignee: Emil Ibrishimov Priority: Blocker Fix For: 0.4.0 Attachments: HIVE-691.1.patch, HIVE-691.2.patch There are lot of functions and more of them will be added. I think it is cumbersome to update wiki or ask users to go to wiki to find out documentation. instead each user defined function can have an annotation containing documentation and 'show functions' command or similar can show the documentation to users on command line. it will also be easier to update the documentation along with code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-691) show documentation for user defined functions
[ https://issues.apache.org/jira/browse/HIVE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-691: Priority: Blocker (was: Major) blocker for 0.4 show documentation for user defined functions - Key: HIVE-691 URL: https://issues.apache.org/jira/browse/HIVE-691 Project: Hadoop Hive Issue Type: Improvement Components: Query Processor Reporter: Prasad Chakka Assignee: Emil Ibrishimov Priority: Blocker Fix For: 0.4.0 Attachments: HIVE-691.1.patch There are lot of functions and more of them will be added. I think it is cumbersome to update wiki or ask users to go to wiki to find out documentation. instead each user defined function can have an annotation containing documentation and 'show functions' command or similar can show the documentation to users on command line. it will also be easier to update the documentation along with code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-691) show documentation for user defined functions
[ https://issues.apache.org/jira/browse/HIVE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emil Ibrishimov updated HIVE-691: - Attachment: HIVE-691.1.patch Here is an example describe function: {noformat} query: DESCRIBE FUNCTION EXTENDED parse_url parse_url(url, partToExtract[, key]) - extracts a part from a URL Parts: HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, USERINFO key specifies which query to extract Example: SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'HOST') FROM src LIMIT 1; 'facebook.com' SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'QUERY') FROM src LIMIT 1; 'query=1' SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'QUERY', 'query') FROM src LIMIT 1; '1' {noformat} show documentation for user defined functions - Key: HIVE-691 URL: https://issues.apache.org/jira/browse/HIVE-691 Project: Hadoop Hive Issue Type: Improvement Components: Query Processor Reporter: Prasad Chakka Assignee: Emil Ibrishimov Attachments: HIVE-691.1.patch There are lot of functions and more of them will be added. I think it is cumbersome to update wiki or ask users to go to wiki to find out documentation. instead each user defined function can have an annotation containing documentation and 'show functions' command or similar can show the documentation to users on command line. it will also be easier to update the documentation along with code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-691) show documentation for user defined functions
[ https://issues.apache.org/jira/browse/HIVE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emil Ibrishimov updated HIVE-691: - Fix Version/s: 0.4.0 Status: Patch Available (was: Open) show documentation for user defined functions - Key: HIVE-691 URL: https://issues.apache.org/jira/browse/HIVE-691 Project: Hadoop Hive Issue Type: Improvement Components: Query Processor Reporter: Prasad Chakka Assignee: Emil Ibrishimov Fix For: 0.4.0 Attachments: HIVE-691.1.patch There are lot of functions and more of them will be added. I think it is cumbersome to update wiki or ask users to go to wiki to find out documentation. instead each user defined function can have an annotation containing documentation and 'show functions' command or similar can show the documentation to users on command line. it will also be easier to update the documentation along with code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.