drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahul challapalli <challapallira...@gmail.com>
Subject Desired Behavior when a table has both files and folders?
Date Thu, 30 Apr 2015 00:14:09 GMT
What is the desired behavior when I run "select * from data;" on the below
structure?

data/
  -- file1.json
  -- folder1/
       -- file2.json

file1.json : {"col1" : 1}
file2.json : {"col2" : 2}

This is what drill returns :
+------------+------------+
|    dir0    |    col2    |
+------------+------------+
| folder1   | 2          |
| null       | null       |
+------------+------------+

Looks like drill ignored the columns from the first file.

- Rahul

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