Re: SELECT * via sqlline -q dumps filenames

2016-01-27 Thread Chris Mathews
Try putting a back-slash in front of the ‘*’ this usually works for command line issues when using a ‘*’ sqlline -u ... -q 'SELECT \* FROM dfs.`/path/to/files/file.csv` LIMIT 10’ Cheers — Chris > On 26 Jan 2016, at 18:56, Matt wrote: > > sqlline -u ... -q 'SELECT * FROM

SELECT * via sqlline -q dumps filenames

2016-01-26 Thread Matt
sqlline -u ... -q 'SELECT * FROM dfs.`/path/to/files/file.csv` LIMIT 10' seems to emit a list of files in the local path (pwd), along with a parsing error. Putting the query in a file and passing that file name to sqlline or using an explicit column list runs the query as expected. Is this