You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/12/03 10:59:00 UTC

[jira] [Commented] (DRILL-8064) Cannot query text files with names that contain a backslash

    [ https://issues.apache.org/jira/browse/DRILL-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452911#comment-17452911 ] 

ASF GitHub Bot commented on DRILL-8064:
---------------------------------------

dzamo opened a new pull request #2392:
URL: https://github.com/apache/drill/pull/2392


   # [DRILL-8064](https://issues.apache.org/jira/browse/DRILL-8064): Cannot query text files with names that contain a backslash
   
   ## Description
   Unescapes the root path set by FileSelection so that it is processed in a way that is consistent with the glob processor used to collect a list of files for querying.  This fixes a bug preventing queries like  ``select * from dfs.tmp.`test\\1.csv` `` from running.
   
   ## Documentation
   None.
   
   ## Testing
   New unit test: TestGlob#testGlobEscapeCharRootTextFile.
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Cannot query text files with names that contain a backslash
> -----------------------------------------------------------
>
>                 Key: DRILL-8064
>                 URL: https://issues.apache.org/jira/browse/DRILL-8064
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Other
>    Affects Versions: 1.17.0, 1.18.0, 1.19.0
>            Reporter: James Turton
>            Assignee: James Turton
>            Priority: Blocker
>             Fix For: 1.20.0
>
>
> {code:java}
> select * from dfs.tmp.`test\\1.csvh`;{code}
> fails with
> {code:java}
> Error: EXECUTION_ERROR ERROR: Selection root of "file:/tmp/test\\1.csvh" is not a leading path of "file:/tmp/test\1.csvh"{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)