paul-rogers commented on a change in pull request #1925: DRILL-7472: Fix ser / 
de for sys and information_schema schemas queries
URL: https://github.com/apache/drill/pull/1925#discussion_r356989421
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/SystemTableScan.java
 ##########
 @@ -85,6 +83,12 @@ public PhysicalOperator 
getNewWithChildren(List<PhysicalOperator> children) {
   public void applyAssignments(List<DrillbitEndpoint> endpoints) {
   }
 
+  @JsonIgnore
+  @Override
+  public List<SchemaPath> getColumns() {
+    return super.getColumns();
+  }
 
 Review comment:
   See note above. Columns are part of the logical plan and must be serialized. 
To see this, do an `EXPLAIN PLAN FOR`. You'll see that the JSON includes the 
column projection for other group scans.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to