Github user StevenMPhillips commented on a diff in the pull request:
https://github.com/apache/drill/pull/412#discussion_r55305190
--- Diff:
logical/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
---
@@ -119,14 +126,14 @@ public Void visitSchemaPath(SchemaPath path,
StringBuilder sb) throws RuntimeExc
throw new IllegalStateException("Drill doesn't currently support top
level arrays");
}
sb.append('`');
- sb.append(seg.getNameSegment().getPath());
+ sb.append(escapeBackTick(seg.getNameSegment().getPath()));
--- End diff --
I think getPath() can be used outside the context of serialization, so best
to leave that method unchanged.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---