kasakrisz commented on code in PR #6093:
URL: https://github.com/apache/hive/pull/6093#discussion_r2390991758
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateViewAnalyzer.java:
##########
@@ -113,6 +113,12 @@ private String getExpandedText(List<FieldSchema>
imposedSchema, ASTNode select,
String expandedText =
ctx.getTokenRewriteStream().toString(select.getTokenStartIndex(),
select.getTokenStopIndex());
if (imposedSchema != null) {
Review Comment:
Storing the extra brackets in the expanded text is not necessary even when
column names are not specified so trimming them could be moved before this if
statement.
--
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]