deniskuzZ commented on code in PR #6074:
URL: https://github.com/apache/hive/pull/6074#discussion_r2358462909
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/constraint/ConstraintsUtils.java:
##########
@@ -290,10 +304,11 @@ private static List<ConstraintInfo>
generateConstraintInfos(ASTNode child, List<
/**
* Validate and get the default value from the AST.
+ *
* @param node AST node corresponding to default value
* @return retrieve the default value and return it as string
*/
- private static String getDefaultValue(ASTNode node, ASTNode typeChild,
TokenRewriteStream tokenStream)
+ private static Object[] getDefaultValue(ASTNode node, TokenRewriteStream
tokenStream)
Review Comment:
maybe use Pair and rename getDefaultValueAndType?
--
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]