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:
[email protected]
With regards,
Apache Git Services