[jira] [Commented] (DRILL-5492) CSV reader does not validate header names, causes nonsense output

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002080#comment-16002080 ] Paul Rogers commented on DRILL-5492: Could not readily find a way to cause serious harm with this bug,

[jira] [Updated] (DRILL-5492) CSV reader does not validate header names, causes nonsense output

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5492: --- Summary: CSV reader does not validate header names, causes nonsense output (was: CSV with spaces for

[jira] [Commented] (DRILL-5492) CSV with spaces for header uses spaces as field name

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002078#comment-16002078 ] Paul Rogers commented on DRILL-5492: Even more fun. Input file: {code} EXPR$0,EXPR$1,EXPR$2 a,b,c

[jira] [Commented] (DRILL-5492) CSV with spaces for header uses spaces as field name

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002064#comment-16002064 ] Paul Rogers commented on DRILL-5492: The fun never ends. Now try this file: {code} *@! , )( , -_-

[jira] [Commented] (DRILL-5490) RepeatedVarCharOutput.recordStart becomes corrupted on realloc

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002056#comment-16002056 ] Paul Rogers commented on DRILL-5490: More bizarre. In actual use, {{recordStart}} is, in fact, 0

[jira] [Created] (DRILL-5492) CSV with spaces for header uses spaces as field name

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5492: -- Summary: CSV with spaces for header uses spaces as field name Key: DRILL-5492 URL: https://issues.apache.org/jira/browse/DRILL-5492 Project: Apache Drill Issue

[jira] [Created] (DRILL-5491) NPE when reading a CSV file, with headers, but blank header line

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5491: -- Summary: NPE when reading a CSV file, with headers, but blank header line Key: DRILL-5491 URL: https://issues.apache.org/jira/browse/DRILL-5491 Project: Apache Drill

[jira] [Comment Edited] (DRILL-5490) RepeatedVarCharOutput.recordStart becomes corrupted on realloc

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002016#comment-16002016 ] Paul Rogers edited comment on DRILL-5490 at 5/9/17 4:46 AM: The other place

[jira] [Commented] (DRILL-5490) RepeatedVarCharOutput.recordStart becomes corrupted on realloc

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16002016#comment-16002016 ] Paul Rogers commented on DRILL-5490: The other place that {{recordStart}} is used is to get the first

[jira] [Created] (DRILL-5490) RepeatedVarCharOutput.recordStart becomes corrupted on realloc

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5490: -- Summary: RepeatedVarCharOutput.recordStart becomes corrupted on realloc Key: DRILL-5490 URL: https://issues.apache.org/jira/browse/DRILL-5490 Project: Apache Drill

[jira] [Commented] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001908#comment-16001908 ] Paul Rogers commented on DRILL-5489: Similarly, the {{RepeatedVarCharOutput}} class does not protect

[jira] [Updated] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5489: --- Description: Suppose a user runs a query of form: {code} SELECT columns[7] FROM `dfs`.`mycsv.csv`

[jira] [Commented] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001904#comment-16001904 ] Paul Rogers commented on DRILL-5489: While we are at it, we might as well fix another bit of bogus

[jira] [Updated] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5489: --- Description: Suppose a user runs a query of form: {code} SELECT columns[7] FROM `dfs`.`mycsv.csv`

[jira] [Updated] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5489: --- Description: Suppose a user runs a query of form: {code} SELECT columns[7] FROM `dfs`.`mycsv.csv`

[jira] [Created] (DRILL-5489) Unprotected array access in RepeatedVarCharOutput ctor

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5489: -- Summary: Unprotected array access in RepeatedVarCharOutput ctor Key: DRILL-5489 URL: https://issues.apache.org/jira/browse/DRILL-5489 Project: Apache Drill

[jira] [Commented] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001784#comment-16001784 ] Paul Rogers commented on DRILL-5486: The net result seems to be that the per-batch row count and

[jira] [Comment Edited] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001777#comment-16001777 ] Paul Rogers edited comment on DRILL-5486 at 5/8/17 11:24 PM: - Another

[jira] [Commented] (DRILL-5327) Hash aggregate can return empty batch which can cause schema change exception

2017-05-08 Thread Chun Chang (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001776#comment-16001776 ] Chun Chang commented on DRILL-5327: --- [~jni] I ran against apache master branch with assertion enabled

[jira] [Commented] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001748#comment-16001748 ] Paul Rogers commented on DRILL-5486: As it turns out, the offset vector {{setValueCount}} does not

[jira] [Commented] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001746#comment-16001746 ] Paul Rogers commented on DRILL-5488: A similar analysis can be done for the variable-length vectors,

[jira] [Comment Edited] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001706#comment-16001706 ] Paul Rogers edited comment on DRILL-5488 at 5/8/17 11:04 PM: - Consider the

[jira] [Comment Edited] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001706#comment-16001706 ] Paul Rogers edited comment on DRILL-5488 at 5/8/17 11:00 PM: - Consider the

[jira] [Comment Edited] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001706#comment-16001706 ] Paul Rogers edited comment on DRILL-5488 at 5/8/17 10:57 PM: - Consider the

[jira] [Comment Edited] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001706#comment-16001706 ] Paul Rogers edited comment on DRILL-5488 at 5/8/17 10:55 PM: - Consider the

[jira] [Commented] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001706#comment-16001706 ] Paul Rogers commented on DRILL-5488: Consider the {{setValueCount()}} method again: {code} public

[jira] [Updated] (DRILL-5488) Useless code in VectorTrimmer, fixed-width vector setValueCount()

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5488: --- Summary: Useless code in VectorTrimmer, fixed-width vector setValueCount() (was: Useless code in

[jira] [Updated] (DRILL-5488) Useless code in VectorTrimmer

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5488: --- Description: Consider this code in a generated fixed-width vector, such as UInt4Vector: {code}

[jira] [Created] (DRILL-5488) Useless code in VectorTrimmer

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5488: -- Summary: Useless code in VectorTrimmer Key: DRILL-5488 URL: https://issues.apache.org/jira/browse/DRILL-5488 Project: Apache Drill Issue Type: Bug Affects

[jira] [Updated] (DRILL-4335) Apache Drill should support network encryption

2017-05-08 Thread Sudheesh Katkam (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-4335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudheesh Katkam updated DRILL-4335: --- Labels: ready-to-commit security (was: security) > Apache Drill should support network

[jira] [Commented] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001672#comment-16001672 ] Paul Rogers commented on DRILL-5486: More cascading errors. In

[jira] [Commented] (DRILL-5470) CSV reader data corruption on truncated lines

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001556#comment-16001556 ] Paul Rogers commented on DRILL-5470: Turns out the user is not actually using the columns header

[jira] [Created] (DRILL-5487) Vector corruption in CSV with headers and truncated last row

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5487: -- Summary: Vector corruption in CSV with headers and truncated last row Key: DRILL-5487 URL: https://issues.apache.org/jira/browse/DRILL-5487 Project: Apache Drill

[jira] [Updated] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5486: --- Description: The "compliant" text reader (for CSV files, etc.) has two modes: reading with headers

[jira] [Created] (DRILL-5486) Compliant text reader tries, but fails, to ignore empty rows

2017-05-08 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5486: -- Summary: Compliant text reader tries, but fails, to ignore empty rows Key: DRILL-5486 URL: https://issues.apache.org/jira/browse/DRILL-5486 Project: Apache Drill

[jira] [Closed] (DRILL-4982) Hive Queries degrade when queries switch between different formats

2017-05-08 Thread Dechang Gu (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dechang Gu closed DRILL-4982. - Verified and added testcase to perf test framework. > Hive Queries degrade when queries switch between

[jira] [Updated] (DRILL-4824) JSON with complex nested data produces incorrect output with missing fields

2017-05-08 Thread Arina Ielchiieva (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arina Ielchiieva updated DRILL-4824: Issue Type: Improvement (was: Bug) > JSON with complex nested data produces incorrect

[jira] [Commented] (DRILL-4917) Unable to alias columns from subquery

2017-05-08 Thread sven0726 (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16000383#comment-16000383 ] sven0726 commented on DRILL-4917: - The same thing happened to me 0: jdbc:drill:zk=local> SELECT