[jira] [Created] (DRILL-2764) REST API should return exception details on error

2015-04-13 Thread Adam Gilmore (JIRA)
Adam Gilmore created DRILL-2764: --- Summary: REST API should return exception details on error Key: DRILL-2764 URL: https://issues.apache.org/jira/browse/DRILL-2764 Project: Apache Drill Issue Ty

Re: WHERE clause with nested JSON data

2015-04-13 Thread Subhajit Ghosh
Sorry for being late on this, was away on a holiday. To reproduce the error, this is what I have in HBase: > create 'MyTable', 'main' > put 'MyTable', 'id1', 'main:objectBytes', '{"foo":123,"prop":{"len":234}}' In Drill: > create or replace view MyTableView as select convert_from(MyTable.main.ob

[jira] [Created] (DRILL-2765) Throwing a NPE on exceuting query against parquet files

2015-04-13 Thread Mohsen Zainalpour (JIRA)
Mohsen Zainalpour created DRILL-2765: Summary: Throwing a NPE on exceuting query against parquet files Key: DRILL-2765 URL: https://issues.apache.org/jira/browse/DRILL-2765 Project: Apache Drill

Re: Review Request 33043: DRILL-2613: 1-Hygiene/prep.: Split DrillResultSet impl. vs. intf.; renaming.

2015-04-13 Thread Parth Chandra
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33043/#review79891 --- Ship it! Ship It! - Parth Chandra On April 12, 2015, 2:21 a.m.,

Re: Review Request 33044: DRILL-2613: 2-Core: Impl. ResultSet.getXxx(...) number-to-number data conversions.

2015-04-13 Thread Parth Chandra
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33044/#review79892 --- Ship it! Ship It! - Parth Chandra On April 10, 2015, 1:32 a.m.,

[jira] [Created] (DRILL-2766) Use PojoRecordReader for all system tables

2015-04-13 Thread Sudheesh Katkam (JIRA)
Sudheesh Katkam created DRILL-2766: -- Summary: Use PojoRecordReader for all system tables Key: DRILL-2766 URL: https://issues.apache.org/jira/browse/DRILL-2766 Project: Apache Drill Issue Typ

Re: [DISCUSS] improve physical plan formatting

2015-04-13 Thread Jason Altekruse
+1 On Fri, Apr 10, 2015 at 11:23 PM, Aditya wrote: > This looks much neater and makes it easy to keep track of. > > On Fri, Apr 10, 2015 at 4:23 PM, Steven Phillips > wrote: > > > I find the current format for physical plans, where we indent for every > > operator, but keep both sides of the jo

Review Request 33136: Rebase Drill's forked Optiq library onto Calcite release 1.0.

2015-04-13 Thread Jinfeng Ni
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33136/ --- Review request for drill. Repository: drill-git Description --- Drill cu

Re: Review Request 32404: DRILL-2514: Add support for impersonation in FileSystem storage plugin

2015-04-13 Thread Jacques Nadeau
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32404/#review79818 --- exec/java-exec/src/main/java/org/apache/drill/exec/exception/Author

Re: Review Request 32987: DRILL-2675: Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-13 Thread abdelhakim deneche
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32987/ --- (Updated April 13, 2015, 5:55 p.m.) Review request for drill, Jacques Nadeau, J

Re: Review Request 33091: Patch for DRILL-2741

2015-04-13 Thread Chris Westin
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33091/#review79910 --- Ship it! Ship it (non-binding). - Chris Westin On April 10, 2015

[jira] [Created] (DRILL-2767) Fragment error on TPCH Scale Factor 30 on a query that completed successfully previously

2015-04-13 Thread Alexander Zarei (JIRA)
Alexander Zarei created DRILL-2767: -- Summary: Fragment error on TPCH Scale Factor 30 on a query that completed successfully previously Key: DRILL-2767 URL: https://issues.apache.org/jira/browse/DRILL-2767

Re: Review Request 32949: Patch for DRILL-2718

2015-04-13 Thread Chris Westin
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32949/#review79911 --- Ship it! Ship it (non-binding). - Chris Westin On April 10, 2015

Review Request 33138: DRILL-2766: Use PojoRecordReader for all system tables

2015-04-13 Thread Sudheesh Katkam
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33138/ --- Review request for drill and Venki Korukanti. Repository: drill-git Descripti

Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Jason Altekruse
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33139/ --- Review request for drill and Venki Korukanti. Bugs: DRILL-1827 https://issu

Re: Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Jason Altekruse
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33139/ --- (Updated April 13, 2015, 6:41 p.m.) Review request for drill and Venki Korukant

Re: Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Venki Korukanti
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33139/#review79917 --- exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java

Re: Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Jason Altekruse
> On April 13, 2015, 6:57 p.m., Venki Korukanti wrote: > > exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java, line > > 295 > > > > > > From the signature of compareResults, it is expecting "expected"

[jira] [Created] (DRILL-2768) Improve error message for CTAS fails when writing a repeated list

2015-04-13 Thread Deneche A. Hakim (JIRA)
Deneche A. Hakim created DRILL-2768: --- Summary: Improve error message for CTAS fails when writing a repeated list Key: DRILL-2768 URL: https://issues.apache.org/jira/browse/DRILL-2768 Project: Apache

Re: Review Request 33138: DRILL-2766: Use PojoRecordReader for all system tables

2015-04-13 Thread Jacques Nadeau
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33138/#review79921 --- Ship it! Ship It! - Jacques Nadeau On April 13, 2015, 6:35 p.m.,

Re: Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Jason Altekruse
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33139/ --- (Updated April 13, 2015, 7:10 p.m.) Review request for drill and Venki Korukant

Re: Review Request 33139: Drill-1827: Unit test framework reports expected and actual values backwards in unordered comparison

2015-04-13 Thread Venki Korukanti
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33139/#review79922 --- Ship it! Ship It! - Venki Korukanti On April 13, 2015, 7:10 p.m.

Re: Review Request 32331: DRILL-2413: FileSystemPlugin refactoring: avoid sharing DrillFileSystem across schemas

2015-04-13 Thread Jacques Nadeau
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32331/#review79923 --- Ship it! Ship It! - Jacques Nadeau On April 7, 2015, 5:36 p.m.,

Re: [DISCUSS] improve physical plan formatting

2015-04-13 Thread Julian Hyde
+1 I have no idea whether you use Calcite for formatting plans or use Drill code. If the former, I’d be happy to accept a patch to Calcite that allows this as a formatting option for Calcite plan. Anyone have a good descriptive name for this format? Steven, were you inspired by some other sys

Re: [DISCUSS] improve physical plan formatting

2015-04-13 Thread Tomer Shiran
+1 On Fri, Apr 10, 2015 at 4:23 PM, Steven Phillips wrote: > I find the current format for physical plans, where we indent for every > operator, but keep both sides of the join at the same indentation the same, > is very difficult to read, especially when we have several joins. > > I think it w

[jira] [Created] (DRILL-2769) many(?) JDBC methods throw non-SQLException exceptions (e.g., UnsupportedOperationException, RuntimeException)

2015-04-13 Thread Daniel Barclay (Drill) (JIRA)
Daniel Barclay (Drill) created DRILL-2769: - Summary: many(?) JDBC methods throw non-SQLException exceptions (e.g., UnsupportedOperationException, RuntimeException) Key: DRILL-2769 URL: https://issues.apach

Re: Review Request 32992: config options doc, misc review fixes

2015-04-13 Thread Bridget Bridget
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32992/#review79932 --- Ship it! Ship It! - Bridget Bridget On April 8, 2015, 10:59 p.m.

[jira] [Created] (DRILL-2770) Aggregate query returns AssertionError: star should have been expanded

2015-04-13 Thread Khurram Faraaz (JIRA)
Khurram Faraaz created DRILL-2770: - Summary: Aggregate query returns AssertionError: star should have been expanded Key: DRILL-2770 URL: https://issues.apache.org/jira/browse/DRILL-2770 Project: Apach

Re: [DISCUSS] improve physical plan formatting

2015-04-13 Thread Jinfeng Ni
+1. Increased indentation is required not only for join, but for any operator which takes more than 1 inputs. Union / Union All would be another example. On Mon, Apr 13, 2015 at 12:39 PM, Tomer Shiran wrote: > +1 > > > On Fri, Apr 10, 2015 at 4:23 PM, Steven Phillips > wrote: > > > I find t

Review Request 33143: sandbox installation updates, new SQL functions, Data Types, and Config Options doc

2015-04-13 Thread Kristine Hahn
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33143/ --- Review request for drill and Bridget Bridget. Bugs: DRILL-2736 https://issu

[jira] [Created] (DRILL-2771) Right outer join with a map projection throws exception

2015-04-13 Thread Mehant Baid (JIRA)
Mehant Baid created DRILL-2771: -- Summary: Right outer join with a map projection throws exception Key: DRILL-2771 URL: https://issues.apache.org/jira/browse/DRILL-2771 Project: Apache Drill Issu

[jira] [Resolved] (DRILL-2512) Client connecting to same node through zookeeper

2015-04-13 Thread Steven Phillips (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Phillips resolved DRILL-2512. Resolution: Fixed > Client connecting to same node through zookeeper > -

[jira] [Created] (DRILL-2772) Display status of query when viewing the query's profile page

2015-04-13 Thread Kunal Khatua (JIRA)
Kunal Khatua created DRILL-2772: --- Summary: Display status of query when viewing the query's profile page Key: DRILL-2772 URL: https://issues.apache.org/jira/browse/DRILL-2772 Project: Apache Drill

Re: Review Request 33115: DRILL-2762: Update Fragment state reporting and error collection

2015-04-13 Thread Chris Westin
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33115/#review79916 --- What's driving your desire for the NodeTracker? Do you really think

Re: Review Request 33143: sandbox installation updates, new SQL functions, Data Types, and Config Options doc

2015-04-13 Thread Bridget Bridget
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33143/#review79944 --- Ship it! Ship It! - Bridget Bridget On April 13, 2015, 8:26 p.m.

[jira] [Created] (DRILL-2773) CASE expression, misc edits

2015-04-13 Thread Kristine Hahn (JIRA)
Kristine Hahn created DRILL-2773: Summary: CASE expression, misc edits Key: DRILL-2773 URL: https://issues.apache.org/jira/browse/DRILL-2773 Project: Apache Drill Issue Type: Task C

Re: Review Request 33035: DRILL-2719: ValueVector#getBuffers(clear) must consistently clear vectors & retain buffers

2015-04-13 Thread Hanifi Gunes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33035/ --- (Updated April 13, 2015, 10:07 p.m.) Review request for drill, Mehant Baid and

Re: Review Request 33035: DRILL-2719: ValueVector#getBuffers(clear) must consistently clear vectors & retain buffers

2015-04-13 Thread Hanifi Gunes
> On April 10, 2015, 4:43 p.m., Mehant Baid wrote: > > exec/java-exec/src/main/codegen/templates/NullableValueVectors.java, line 86 > > > > > > Why are we bubbling up the retain logic in clear to the top level > > vect

Re: Review Request 33035: DRILL-2719: ValueVector#getBuffers(clear) must consistently clear vectors & retain buffers

2015-04-13 Thread Hanifi Gunes
> On April 10, 2015, 5:42 p.m., Chris Westin wrote: > > exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/AbstractMapVector.java, > > line 222 > > > > > > I thought this needed to call buf.retain() unc

Re: Review Request 33035: DRILL-2719: ValueVector#getBuffers(clear) must consistently clear vectors & retain buffers

2015-04-13 Thread Chris Westin
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33035/#review79955 --- exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/A

Re: Review Request 33052: DRILL-2611: value vectors should report valid value count

2015-04-13 Thread Hanifi Gunes
> On April 10, 2015, 10 p.m., Mehant Baid wrote: > > exec/java-exec/src/main/codegen/templates/NullableValueVectors.java, line > > 442 > > > > > > For nullable variable length types we can get the record count from th

Re: Review Request 33052: DRILL-2611: value vectors should report valid value count

2015-04-13 Thread Hanifi Gunes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33052/ --- (Updated April 13, 2015, 10:54 p.m.) Review request for drill, Mehant Baid and

Re: Review Request 33052: DRILL-2611: value vectors should report valid value count

2015-04-13 Thread Hanifi Gunes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33052/ --- (Updated April 13, 2015, 11:01 p.m.) Review request for drill, Mehant Baid and

[jira] [Created] (DRILL-2774) Updated drill-patch-review.py to use git-format-patch

2015-04-13 Thread Steven Phillips (JIRA)
Steven Phillips created DRILL-2774: -- Summary: Updated drill-patch-review.py to use git-format-patch Key: DRILL-2774 URL: https://issues.apache.org/jira/browse/DRILL-2774 Project: Apache Drill

[jira] [Created] (DRILL-2775) CTAS : Error message not clear when the table/folder already exists

2015-04-13 Thread Rahul Challapalli (JIRA)
Rahul Challapalli created DRILL-2775: Summary: CTAS : Error message not clear when the table/folder already exists Key: DRILL-2775 URL: https://issues.apache.org/jira/browse/DRILL-2775 Project: Ap

[jira] [Created] (DRILL-2776) querying a .json file that contains a repeated type returns the wrong results

2015-04-13 Thread Deneche A. Hakim (JIRA)
Deneche A. Hakim created DRILL-2776: --- Summary: querying a .json file that contains a repeated type returns the wrong results Key: DRILL-2776 URL: https://issues.apache.org/jira/browse/DRILL-2776 Pr

Re: Review Request 30106: DRILL-1970: Hive views must not be listed with the show tables command

2015-04-13 Thread Jason Altekruse
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30106/#review79966 --- Ship it! Ship It! - Jason Altekruse On Feb. 11, 2015, 6:05 p.m.,

Review Request 33148: Patch for DRILL-2774

2015-04-13 Thread Steven Phillips
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33148/ --- Review request for drill. Bugs: DRILL-2774 https://issues.apache.org/jira/b

[jira] [Resolved] (DRILL-2771) Right outer join with a map projection throws exception

2015-04-13 Thread Mehant Baid (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid resolved DRILL-2771. Resolution: Fixed Fixed in 3b5a87e89e55c14bb792ae2d0e7429e34cb035a9 > Right outer join with a map p

[jira] [Resolved] (DRILL-2707) Projecting a required varchar column after a Full Outer Join results in an IOOBException

2015-04-13 Thread Mehant Baid (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid resolved DRILL-2707. Resolution: Fixed Fixed in 3b5a87e89e55c14bb792ae2d0e7429e34cb035a9 > Projecting a required varchar

[jira] [Created] (DRILL-2777) CTAS, order by and flatten of repeated list result in IOOBException

2015-04-13 Thread Rahul Challapalli (JIRA)
Rahul Challapalli created DRILL-2777: Summary: CTAS, order by and flatten of repeated list result in IOOBException Key: DRILL-2777 URL: https://issues.apache.org/jira/browse/DRILL-2777 Project: Ap

[jira] [Created] (DRILL-2778) Killing the drillbit which is the foreman results in hung sqlline

2015-04-13 Thread Ramana Inukonda Nagaraj (JIRA)
Ramana Inukonda Nagaraj created DRILL-2778: -- Summary: Killing the drillbit which is the foreman results in hung sqlline Key: DRILL-2778 URL: https://issues.apache.org/jira/browse/DRILL-2778 P

[jira] [Created] (DRILL-2779) add capability to set user.timezone in drill-override.conf

2015-04-13 Thread Kristine Hahn (JIRA)
Kristine Hahn created DRILL-2779: Summary: add capability to set user.timezone in drill-override.conf Key: DRILL-2779 URL: https://issues.apache.org/jira/browse/DRILL-2779 Project: Apache Drill

[jira] [Resolved] (DRILL-2758) Memory leak in parquet writer when writing billions of records

2015-04-13 Thread Steven Phillips (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Phillips resolved DRILL-2758. Resolution: Fixed Fixed as cc752c1 > Memory leak in parquet writer when writing billions of

[jira] [Created] (DRILL-2780) java.lang.IllegalStateException files open exceptions in drillbit.out

2015-04-13 Thread Ramana Inukonda Nagaraj (JIRA)
Ramana Inukonda Nagaraj created DRILL-2780: -- Summary: java.lang.IllegalStateException files open exceptions in drillbit.out Key: DRILL-2780 URL: https://issues.apache.org/jira/browse/DRILL-2780

Re: Review Request 32795: DRILL-2383: Add exception and pause injections for testing drillbit stability

2015-04-13 Thread Sudheesh Katkam
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32795/ --- (Updated April 14, 2015, 4:45 a.m.) Review request for drill, abdelhakim denech

Re: Review Request 33115: DRILL-2762: Update Fragment state reporting and error collection

2015-04-13 Thread abdelhakim deneche
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33115/#review79987 --- exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Que