You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/09/26 13:52:35 UTC

[GitHub] [drill] ihuzenko commented on a change in pull request #1861: DRILL-7380: Query of a field inside of an array of structs returns null

ihuzenko commented on a change in pull request #1861: DRILL-7380: Query of a field inside of an array of structs returns null
URL: https://github.com/apache/drill/pull/1861#discussion_r328625157
 
 

 ##########
 File path: logical/src/main/java/org/apache/drill/common/expression/SchemaPath.java
 ##########
 @@ -48,13 +48,20 @@
   private final NameSegment rootSegment;
 
   public SchemaPath(SchemaPath path) {
-    super(path.getPosition());
-    this.rootSegment = path.rootSegment;
+    this(path.rootSegment, path.getPosition());
   }
 
   public SchemaPath(NameSegment rootSegment) {
-    super(ExpressionPosition.UNKNOWN);
-    this.rootSegment = rootSegment;
+    this(rootSegment, ExpressionPosition.UNKNOWN);
+  }
+
+  /**
+   * @deprecated Use {@link #SchemaPath(NameSegment)}
+   * or {@link #SchemaPath(NameSegment, ExpressionPosition)} instead
+   */
+  @Deprecated
 
 Review comment:
   Was already deprecated at line 101 on the left side. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services