Re: Strange metadata from Text Reader

2019-06-24 Thread Paul Rogers
Hi All, To close the loop on this, see the detailed comments in DRILL-7308 which Charles kindly filed. There is a code bug in the REST metadata feature itself which causes the schema to repeat for every returned record batch, and which causes it to display precision and scale for VARCHAR

Re: Strange metadata from Text Reader

2019-06-24 Thread Paul Rogers
Hi Charles, Latest master? Please file a JIRA with repo steps. I’ll take a look. - Paul Sent from my iPhone > On Jun 24, 2019, at 11:38 AM, Charles Givre wrote: > > Hello Drill Devs, > I'm noticing some strange behavior with the newest version of Drill. If you > query a CSV file, you get

Re: Strange metadata from Text Reader

2019-06-24 Thread Arina Yelchiyeva
It would be good to help to identify the commit that actually caused the bug. Personally, I don’t recall anything that might have broken this functionality. Kind regards, Arina > On Jun 24, 2019, at 10:19 PM, Charles Givre wrote: > > I don't have that version of Drill anymore but this feature

Re: Strange metadata from Text Reader

2019-06-24 Thread Charles Givre
I don't have that version of Drill anymore but this feature worked correctly until recently. I'm using the latest build of Drill. > On Jun 24, 2019, at 3:18 PM, Arina Yelchiyeva > wrote: > > Just to confirm, in Drill 1.15 it works correctly? > > Kind regards, > Arina > >> On Jun 24, 2019,

Re: Strange metadata from Text Reader

2019-06-24 Thread Arina Yelchiyeva
Just to confirm, in Drill 1.15 it works correctly? Kind regards, Arina > On Jun 24, 2019, at 10:15 PM, Charles Givre wrote: > > Hi Arina, > It doesn't seem to make a difference unfortunately. :-( > --C > >> On Jun 24, 2019, at 3:09 PM, Arina Yelchiyeva >> wrote: >> >> Hi Charles, >> >>

Re: Strange metadata from Text Reader

2019-06-24 Thread Charles Givre
Hi Arina, It doesn't seem to make a difference unfortunately. :-( --C > On Jun 24, 2019, at 3:09 PM, Arina Yelchiyeva > wrote: > > Hi Charles, > > Please try with v3 reader enabled: set `exec.storage.enable_v3_text_reader` = > true. > Does it behave the same? > > Kind regards, > Arina >

Re: Strange metadata from Text Reader

2019-06-24 Thread Arina Yelchiyeva
Hi Charles, Please try with v3 reader enabled: set `exec.storage.enable_v3_text_reader` = true. Does it behave the same? Kind regards, Arina > On Jun 24, 2019, at 9:38 PM, Charles Givre wrote: > > Hello Drill Devs, > I'm noticing some strange behavior with the newest version of Drill. If

Strange metadata from Text Reader

2019-06-24 Thread Charles Givre
Hello Drill Devs, I'm noticing some strange behavior with the newest version of Drill. If you query a CSV file, you get the following metadata: SELECT * FROM dfs.test.`domains.csvh` LIMIT 1 { "queryId": "22eee85f-c02c-5878-9735-091d18788061", "columns": [ "domain" ], "rows": [