drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Le Dem <jul...@dremio.com>
Subject select from table with options
Date Mon, 19 Oct 2015 21:28:52 GMT
I'm looking into passing information on how to interpret a file through the
select clause in Drill.
Something along the lines of:
*select * from
dfs.`default`.`/path/to/file/something.psv?type=text&delimiter=|`;*
(In this example, we want to specify a specific delimiter, but that would
apply to any *type* of format)

Which would allow to read a file without having to centrally configure
formats: https://drill.apache.org/docs/querying-plain-text-files/
Which makes it easier to try to read an existing file.
Typically once the user has found the proper settings, they would update
the central configuration.

thoughts?

-- 
Julien

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message