zabetak commented on code in PR #110:
URL: https://github.com/apache/hive-site/pull/110#discussion_r4641457170
##########
content/community/resources/unit-testing-hive-sql.md:
##########
@@ -31,7 +31,7 @@ By modularising processes implemented using Hive they become
easier to test effe
### Encapsulation of column level logic
-In the case of column level logic Hive provides both
[UDFs](/docs/latest/language/hiveplugins#creating-custom-udfs) and [macros]({{<
ref "#macros" >}}) that allow the user to extract and reuse the expressions
applied to columns. Once defined, UDFs and Macros can be readily isolated for
testing. UDFs can be simply tested with existing Java/Python unit test tools
such as JUnit whereas Macros require a Hive command line interface to execute
the macro declaration and then exercise it with some sample `SELECT` statements.
+In the case of column level logic Hive provides both
[UDFs](/docs/latest/language/hiveplugins#creating-custom-udfs) and [macros]({{%
ref "#macros" %}}) that allow the user to extract and reuse the expressions
applied to columns. Once defined, UDFs and Macros can be readily isolated for
testing. UDFs can be simply tested with existing Java/Python unit test tools
such as JUnit whereas Macros require a Hive command line interface to execute
the macro declaration and then exercise it with some sample `SELECT` statements.
Review Comment:
`(/docs/latest/language/hiveplugins#creating-custom-udfs)` is another way
for specifying relative URLs? Will it be covered by the link validation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]