arina-ielchiieva commented on a change in pull request #1666: DRILL-7058:
Refresh command to support subset of columns
URL: https://github.com/apache/drill/pull/1666#discussion_r261616203
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/parser/SqlRefreshMetadata.java
##########
@@ -63,6 +76,8 @@ public SqlOperator getOperator() {
public List<SqlNode> getOperandList() {
List<SqlNode> ops = Lists.newArrayList();
ops.add(tblName);
+ ops.add(allColumns);
+ ops.add(fieldList);
Review comment:
You also need to amend `public void unparse(SqlWriter writer, int leftPrec,
int rightPrec) {` based on existence of `fieldList`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services