Github user jaltekruse commented on a diff in the pull request: https://github.com/apache/drill/pull/412#discussion_r55304775 --- 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 -- Should getPath() ever return something that cannot be parsed, should we just add this behavior there?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---