drill.git
7 years agoDRILL-1881 - Test o.a.d.TestBugFixes#testVersionTable fails while building from sourc... 0.7.0 drill-0.7.0
Aditya Kishore [Wed, 17 Dec 2014 03:32:53 +0000 (19:32 -0800)] 
DRILL-1881 - Test o.a.d.TestBugFixes#testVersionTable fails while building from source tarball

7 years agoDRILL-1879: Unit test failures on Windows
Aditya Kishore [Wed, 17 Dec 2014 01:04:08 +0000 (17:04 -0800)] 
DRILL-1879: Unit test failures on Windows

7 years agoDRILL-1878: Unable to start Drillbit in distributed mode on Windows
Aditya Kishore [Tue, 16 Dec 2014 22:02:19 +0000 (14:02 -0800)] 
DRILL-1878: Unable to start Drillbit in distributed mode on Windows

7 years agoDRILL-1561: Add test case for doing 2 phase aggregation after order-by (already fixed...
Aman Sinha [Wed, 17 Dec 2014 21:39:44 +0000 (13:39 -0800)] 
DRILL-1561: Add test case for doing 2 phase aggregation after order-by (already fixed by DRILL-1846).

7 years agoDRILL-1873: Fix boolean type writing in parquet record writer.
Aman Sinha [Wed, 17 Dec 2014 01:50:10 +0000 (17:50 -0800)] 
DRILL-1873: Fix boolean type writing in parquet record writer.

7 years agoDisable flapping limit tests: to be fixed as part of DRILL-1866
Jacques Nadeau [Mon, 15 Dec 2014 05:19:27 +0000 (21:19 -0800)] 
Disable flapping limit tests: to be fixed as part of DRILL-1866

7 years agoDRILL-1865: Reduce buffer size for the rpc buffer
Jacques Nadeau [Sun, 14 Dec 2014 06:35:03 +0000 (22:35 -0800)] 
DRILL-1865: Reduce buffer size for the rpc buffer

7 years agoDRILL-1864: Remove incubator disclaimer
Jacques Nadeau [Sun, 14 Dec 2014 06:34:34 +0000 (22:34 -0800)] 
DRILL-1864: Remove incubator disclaimer

7 years agoDRILL-391: Test case for large IN list (actual fix/workaround is in Calcite version...
Aman Sinha [Sat, 13 Dec 2014 01:13:57 +0000 (17:13 -0800)] 
DRILL-391:  Test case for large IN list (actual fix/workaround is in Calcite version 0.9-drill-r12).

Bump up Calcite version to 0.9-drill-r12.

7 years agoDRILL-1788: Test for case-insensitive join. Fix is in Calcite version 0.9-drill-r11.
Aman Sinha [Sat, 13 Dec 2014 03:09:56 +0000 (19:09 -0800)] 
DRILL-1788: Test for case-insensitive join. Fix is in Calcite version 0.9-drill-r11.

Bump up optiq version to 0.9-drill-r11.

Refactor TestExampleQueries by moving the Star queries to separate test file.

7 years agoDRILL-1846: Use max receiver width during stats collection for parallelism planning...
Aman Sinha [Fri, 12 Dec 2014 16:14:21 +0000 (08:14 -0800)] 
DRILL-1846: Use max receiver width during stats collection for parallelism planning.  SingleMergeExchange and UnionExchange have a max receive width of 1.  Others can go higher.

7 years agoDRILL-1848: Specify value of MAX_QUERY_MEMORY_PER_NODE_KEY in bytes instead of MB...
Parth Chandra [Fri, 12 Dec 2014 02:25:25 +0000 (18:25 -0800)] 
DRILL-1848: Specify value of MAX_QUERY_MEMORY_PER_NODE_KEY in bytes instead of MB. Fixes the external sort running out of memory.

7 years agoDRILL-1845: Do not pass partition columns to parquet reader
Hanifi Gunes [Thu, 11 Dec 2014 23:06:51 +0000 (15:06 -0800)] 
DRILL-1845: Do not pass partition columns to parquet reader

7 years agoDRILL-1843: Support per-batch schema change at RecordBatchLoader
Hanifi Gunes [Thu, 11 Dec 2014 19:23:12 +0000 (11:23 -0800)] 
DRILL-1843: Support per-batch schema change at RecordBatchLoader

7 years agoDRILL-1839: Clean up complex writers per batch if project has a ComplexWriter functio...
Hanifi Gunes [Thu, 11 Dec 2014 05:10:25 +0000 (21:10 -0800)] 
DRILL-1839: Clean up complex writers per batch if project has a ComplexWriter function evaluation

7 years agoDRILL-1838: MapVector should late bind/replace vector if current vector is null valued
Hanifi Gunes [Thu, 11 Dec 2014 03:31:15 +0000 (19:31 -0800)] 
DRILL-1838: MapVector should late bind/replace vector if current vector is null valued

7 years agoDRILL-1835: Fix sort and join when results include complex types
Steven Phillips [Wed, 10 Dec 2014 07:01:27 +0000 (23:01 -0800)] 
DRILL-1835: Fix sort and join when results include complex types

7 years agoDRILL-1811: select A, * from ... crashes JVM
Hsuan-Yi Chu [Fri, 5 Dec 2014 18:45:49 +0000 (10:45 -0800)] 
DRILL-1811: select A, * from ... crashes JVM

7 years agoDRILL-1830: Fix reading map type in parquet reader
Steven Phillips [Tue, 9 Dec 2014 11:00:02 +0000 (03:00 -0800)] 
DRILL-1830: Fix reading map type in parquet reader

7 years agoDRILL-1769: Fix issue where option manager not holding settings.
Jacques Nadeau [Mon, 8 Dec 2014 06:11:49 +0000 (22:11 -0800)] 
DRILL-1769: Fix issue where option manager not holding settings.

7 years agoDRILL-1822: Update direct memory access operations to always be protected by bounds...
Jacques Nadeau [Sun, 7 Dec 2014 23:57:39 +0000 (15:57 -0800)] 
DRILL-1822: Update direct memory access operations to always be protected by bounds checking unless specifically disabled using the system property -Dbounds=false and Java assertions are also disabled.

7 years agoDRILL-1821: Fix issue where schema changes for previously defined field.
Jacques Nadeau [Sun, 7 Dec 2014 23:55:06 +0000 (15:55 -0800)] 
DRILL-1821: Fix issue where schema changes for previously defined field.

7 years agoDRILL-1818: Fix complex projection pushdown
Steven Phillips [Sun, 7 Dec 2014 11:33:51 +0000 (03:33 -0800)] 
DRILL-1818: Fix complex projection pushdown

Also fixes:
Issue where converted type was lost when projecting two elements in a repeated type
Issue when selecting multiple elements in a repeated type, but using inconsistent casing

7 years agoDRILL-1814: Check if writer state is OK before performing copy in copyAsValue() and...
Mehant Baid [Fri, 5 Dec 2014 02:37:36 +0000 (18:37 -0800)] 
DRILL-1814: Check if writer state is OK before performing copy in copyAsValue() and copyAsField()

7 years agoDRILL-1813: Fix race condition in UnlimitedRawBatchBuffer
Steven Phillips [Fri, 5 Dec 2014 05:21:21 +0000 (21:21 -0800)] 
DRILL-1813: Fix race condition in UnlimitedRawBatchBuffer

Also change propagated exception to IOException instead of RuntimeException.

Don't mark a fragment as failed if it has been cancelled.

7 years agoDRILL-1812: Avoid calling stop() in SingleSender in rpc thread
Steven Phillips [Fri, 5 Dec 2014 05:17:12 +0000 (21:17 -0800)] 
DRILL-1812: Avoid calling stop() in SingleSender in rpc thread

7 years agoDisable failing large compilation test due to overuse of memory on fast schema return...
Jacques Nadeau [Thu, 4 Dec 2014 04:02:30 +0000 (20:02 -0800)] 
Disable failing large compilation test due to overuse of memory on fast schema return.  To be fixed as part of DRILL-1808

7 years agoDRILL-1803: Update version to TLP and remove reference to incubator in README.md
Jacques Nadeau [Wed, 3 Dec 2014 02:37:01 +0000 (18:37 -0800)] 
DRILL-1803: Update version to TLP and remove reference to incubator in README.md

7 years agoDRILL-1800: Drillbit not sending completed status message
Parth Chandra [Wed, 3 Dec 2014 01:18:06 +0000 (17:18 -0800)] 
DRILL-1800: Drillbit not sending completed status message

7 years agoDRILL-1718: do not type cast repeated parameters to non-repeated ones and vice versa
Hanifi Gunes [Wed, 26 Nov 2014 04:52:14 +0000 (20:52 -0800)] 
DRILL-1718: do not type cast repeated parameters to non-repeated ones and vice versa

7 years agoDRILL-1764: return max value capacity if vector has no children
Hanifi Gunes [Tue, 2 Dec 2014 04:52:01 +0000 (20:52 -0800)] 
DRILL-1764: return max value capacity if vector has no children

7 years agoDRILL-1781: Fast Complex Schema
Steven Phillips [Thu, 20 Nov 2014 02:08:18 +0000 (18:08 -0800)] 
DRILL-1781: Fast Complex Schema

7 years agoDRILL-1790: Improve DataServer inbound message handling. Throw away the message if...
Jacques Nadeau [Mon, 1 Dec 2014 02:07:07 +0000 (18:07 -0800)] 
DRILL-1790: Improve DataServer inbound message handling. Throw away the message if the manager is null as this means the fragment was recently finished (limit or otherwise canceled).

7 years agoDRILL-1774: Update JSON Reader to do single pass reading and better use Jackson's...
Jacques Nadeau [Mon, 10 Nov 2014 06:35:39 +0000 (22:35 -0800)] 
DRILL-1774: Update JSON Reader to do single pass reading and better use Jackson's interning.  Also improve projection pushdown support.

7 years agoDRILL-1772: Improve error propagation to client for Foreman.
Jacques Nadeau [Fri, 21 Nov 2014 22:07:29 +0000 (14:07 -0800)] 
DRILL-1772: Improve error propagation to client for Foreman.

7 years agoDRILL-1641: Fix failure of kvgen(...) on indexed repeated map.
dbarclay [Fri, 21 Nov 2014 00:57:34 +0000 (16:57 -0800)] 
DRILL-1641: Fix failure of kvgen(...) on indexed repeated map.

7 years agoDRILL-1780: check if result set is empty before accessing;
Hanifi Gunes [Mon, 1 Dec 2014 00:23:07 +0000 (16:23 -0800)] 
DRILL-1780: check if result set is empty before accessing;
 show a neat message to the user when resultset is empty; minor refactorings
 to DrillRestServer

7 years agoDRILL-1488: Provide configurable option to set the sql identifier max length which...
Aman Sinha [Thu, 20 Nov 2014 04:41:10 +0000 (20:41 -0800)] 
DRILL-1488: Provide configurable option to set the sql identifier max length which is passed to Calcite's SQL parser. Main fix is in Calcite version 0.9-drill-r9 (see CALCITE-464).

7 years agoDRILL-1748: Fix SplitUpComplexExpressions rule when using Item operator
Mehant Baid [Thu, 27 Nov 2014 07:45:09 +0000 (23:45 -0800)] 
DRILL-1748: Fix SplitUpComplexExpressions rule when using Item operator

7 years agoFix for flatten receiving a non-repeated type during fast schema step.
Jason Altekruse [Fri, 21 Nov 2014 02:48:08 +0000 (18:48 -0800)] 
Fix for flatten receiving a non-repeated type during fast schema step.

7 years agoDRILL-1787: Fix memory leak in kvgen function.
Jacques Nadeau [Fri, 21 Nov 2014 02:09:58 +0000 (18:09 -0800)] 
DRILL-1787: Fix memory leak in kvgen function.

7 years agoDRILL-1753: Flatten 2 level repeated map
Jason Altekruse [Fri, 21 Nov 2014 01:22:40 +0000 (17:22 -0800)] 
DRILL-1753: Flatten 2 level repeated map

7 years agoDRILL-1749: Support nested maps in the flatten operator.
Jason Altekruse [Wed, 19 Nov 2014 17:43:04 +0000 (09:43 -0800)] 
DRILL-1749: Support nested maps in the flatten operator.

7 years agoDRILL-1775: Fix BINARY ENUM in Parquet converter.
Jacques Nadeau [Thu, 20 Nov 2014 01:47:31 +0000 (17:47 -0800)] 
DRILL-1775: Fix BINARY ENUM in Parquet converter.

7 years agoDRILL-1737: Fix decimal handling in unit test framework.
Jason Altekruse [Wed, 26 Nov 2014 01:32:29 +0000 (17:32 -0800)] 
DRILL-1737: Fix decimal handling in unit test framework.

7 years agoDRILL-1458: New unit test framework.
Jason Altekruse [Wed, 5 Nov 2014 01:05:35 +0000 (17:05 -0800)] 
DRILL-1458: New unit test framework.

Review comments, cleanup, additional tests

Matching columns, throw useful error messages if there are missing or extra columns.

Few more features in unit test framework, providing several baseline records in the builder pattern, allow checking empty result. Added a new unit test to ensure that nulls were validated properly in both the ordered and unordered cases.

7 years agoDRILL-1185: Unit test for delimited text failing in classpath storage plugin.
Jason Altekruse [Tue, 25 Nov 2014 06:30:53 +0000 (22:30 -0800)] 
DRILL-1185: Unit test for delimited text failing in classpath storage plugin.

7 years agoDRILL-1729: derive & infer result type for boolean returning custom functions so...
Hanifi Gunes [Thu, 27 Nov 2014 00:57:28 +0000 (16:57 -0800)] 
DRILL-1729: derive & infer result type for boolean returning custom functions so that optiq can validate and execute user queries seamlessly

7 years agoDRILL-1743: check capacity before writing into map vector
Hanifi Gunes [Thu, 20 Nov 2014 02:06:01 +0000 (18:06 -0800)] 
DRILL-1743: check capacity before writing into map vector

7 years agoDRILL-1660: return accurate buffers size when repeated map vector has no underlying...
Hanifi Gunes [Wed, 12 Nov 2014 21:03:57 +0000 (13:03 -0800)] 
DRILL-1660: return accurate buffers size when repeated map vector has no underlying vectors

7 years agoDRILL-1739 Handle missing fields in complex parquet reader
Parth Chandra [Wed, 26 Nov 2014 00:57:06 +0000 (16:57 -0800)] 
DRILL-1739 Handle missing fields in complex parquet reader

7 years agoDRILL-1738: Allow case insensitive read in Complex parquet reader
Parth Chandra [Mon, 24 Nov 2014 17:48:35 +0000 (09:48 -0800)] 
DRILL-1738: Allow case insensitive read in Complex parquet reader

7 years agoDRILL-1707: Don't push Filter past Project if the Filter is referencing ITEM expressi...
Aman Sinha [Wed, 19 Nov 2014 01:22:07 +0000 (17:22 -0800)] 
DRILL-1707: Don't push Filter past Project if the Filter is referencing ITEM expression produced by the Project (this is done as part of a new rule). Enable a few tests in TestProjectPushDown and TestExampleQueries that were marked Ignored earlier.

7 years agoDRILL-1404: Queries with empty results are throwing "HTTP ERROR 500" from Web UI
Hsuan-Yi Chu [Thu, 13 Nov 2014 23:52:31 +0000 (15:52 -0800)] 
DRILL-1404: Queries with empty results are throwing "HTTP ERROR 500" from Web UI

7 years agoDRILL-1376 ORDER BY clause ignored in query run through web UI - Bug fixed
Hsuan-Yi Chu [Thu, 13 Nov 2014 00:48:41 +0000 (16:48 -0800)] 
DRILL-1376 ORDER BY clause ignored in query run through web UI - Bug fixed

7 years agoDRILL-1185: Drill not picking up 'text' files from classpath
Hsuan-Yi Chu [Tue, 18 Nov 2014 01:09:00 +0000 (17:09 -0800)] 
DRILL-1185: Drill not picking up 'text' files from classpath

7 years agoDRILL-985: Referencing a view via its filename
Hsuan-Yi Chu [Tue, 4 Nov 2014 22:27:28 +0000 (14:27 -0800)] 
DRILL-985: Referencing a view via its filename

7 years agoDRILL-1141:ISNUMERIC function
Yash Sharma [Mon, 24 Nov 2014 19:43:43 +0000 (11:43 -0800)] 
DRILL-1141:ISNUMERIC function

7 years agoDRILL-1741: kvgen support for complex values (maps/ lists)
Mehant Baid [Wed, 19 Nov 2014 23:34:36 +0000 (15:34 -0800)] 
DRILL-1741: kvgen support for complex values (maps/ lists)

7 years agoDRILL-1517: Update Foreman to improve state management.
Jacques Nadeau [Wed, 19 Nov 2014 17:08:12 +0000 (09:08 -0800)] 
DRILL-1517: Update Foreman to improve state management.

7 years agoDRILL-1591, DRILL-1676: Move javascript resources to local serving and update dagre...
Jacques Nadeau [Sun, 9 Nov 2014 23:17:21 +0000 (15:17 -0800)] 
DRILL-1591, DRILL-1676: Move javascript resources to local serving and update dagre-d3 to older version (2.9). Update profile page.  Remove references to invalid servlet api.

7 years agoDRILL-1684, DRILL-1517, DRILL-1350: Profile and cancellation updates
Jacques Nadeau [Sun, 9 Nov 2014 23:16:52 +0000 (15:16 -0800)] 
DRILL-1684, DRILL-1517, DRILL-1350: Profile and cancellation updates
- Remove any storage of persisted profiles.
- Store a separate query info object for active queries.
- Update cancellation and running profile loading to query foreman server.
- Make file store support HDFS APIs
- Update PStoreProvider to use configuration to decide if you want PERSISTENT, EPHEMERAL, or BLOB storage rather than separate interfaces.
- Update ZkPStore's persistent mode to leverage a cache and respond to changes rather than actively probing values.
- Update ZkPStore's cache to be effectively write-through.
- Automatically delete deprecated or default value options from PStore.

7 years agoDRILL-1673: Set the correct group count in splitAndTransferTo for repeated vectors
Mehant Baid [Tue, 18 Nov 2014 09:06:58 +0000 (01:06 -0800)] 
DRILL-1673: Set the correct group count in splitAndTransferTo for repeated vectors
Handle the case in FlattedRecordBatch where we return null internal vectors for repeated lists in the first schema batch

7 years agoDRILL-1720: Enable incremental maven builds
Aditya Kishore [Sun, 16 Nov 2014 00:26:02 +0000 (16:26 -0800)] 
DRILL-1720: Enable incremental maven builds

7 years agoDRILL-1635: Additional fix for validation exceptions.
Jacques Nadeau [Fri, 14 Nov 2014 02:32:47 +0000 (18:32 -0800)] 
DRILL-1635: Additional fix for validation exceptions.

7 years agoDRILL-1700: Removed incorrect assertion in memory allocation code
Parth Chandra [Fri, 14 Nov 2014 00:44:42 +0000 (16:44 -0800)] 
DRILL-1700: Removed incorrect assertion in memory allocation code

7 years agoDRILL-1664: Count(*) returns incorrect result for a parquet file with repeated data.
Jason Altekruse [Thu, 13 Nov 2014 23:28:34 +0000 (15:28 -0800)] 
DRILL-1664: Count(*) returns incorrect result for a parquet file with repeated data.

7 years agoDRILL-1701: Fix for nullable dictionary columns in optimized parquet reader. Re-enabl...
Jason Altekruse [Thu, 13 Nov 2014 22:02:51 +0000 (14:02 -0800)] 
DRILL-1701: Fix for nullable dictionary columns in optimized parquet reader. Re-enable the optimized reader for dictionary encoded files.

7 years agoDRILL-1705: Fix bug when loading nested repeated vectors
Steven Phillips [Thu, 13 Nov 2014 10:37:18 +0000 (02:37 -0800)] 
DRILL-1705: Fix bug when loading nested repeated vectors

7 years agoDRILL-1704: Use complex reader for dictionary encoded files, as original reader seems...
Jason Altekruse [Thu, 13 Nov 2014 02:10:32 +0000 (18:10 -0800)] 
DRILL-1704: Use complex reader for dictionary encoded files, as original reader seems to be broken

7 years agoDRILL-1702: Fix issue where 4 byte DrillBuf is sent even though there are no values...
Jacques Nadeau [Thu, 13 Nov 2014 06:02:50 +0000 (22:02 -0800)] 
DRILL-1702: Fix issue where 4 byte DrillBuf is sent even though there are no values when using varchar or repeated vector.

7 years agoDRILL-1610: Don't apply partition pruning optimization if one of the disjuncts don...
Mehant Baid [Thu, 13 Nov 2014 02:25:53 +0000 (18:25 -0800)] 
DRILL-1610: Don't apply partition pruning optimization if one of the disjuncts don't meet pruning criteria

7 years agoDRILL-1434: In ParquetGroupScan compute the non-null value count of a column if stats...
Aman Sinha [Mon, 10 Nov 2014 02:18:47 +0000 (18:18 -0800)] 
DRILL-1434: In ParquetGroupScan compute the non-null value count of a column if stats are available for each chunk. Don't apply ConvertCountToDirectScan rule if stats are not available.

7 years agoDRILL-1698: QueryWrapper creates a logger for FlattenRecordBatch class
Hanifi Gunes [Wed, 12 Nov 2014 19:10:23 +0000 (11:10 -0800)] 
DRILL-1698: QueryWrapper creates a logger for FlattenRecordBatch class

7 years agoDRILL-1695: Fix code generator comparisons
Jacques Nadeau [Wed, 12 Nov 2014 16:59:04 +0000 (08:59 -0800)] 
DRILL-1695: Fix code generator comparisons

7 years agoDRILL-1703: Fix situation where repeated map vector was re-adding column name on...
Jacques Nadeau [Thu, 13 Nov 2014 03:25:27 +0000 (19:25 -0800)] 
DRILL-1703: Fix situation where repeated map vector was re-adding column name on second record batch.

7 years agoDRILL-1676: Use previous version of dagre so that visualizer works
Steven Phillips [Wed, 29 Oct 2014 08:54:14 +0000 (01:54 -0700)] 
DRILL-1676: Use previous version of dagre so that visualizer works

7 years agoDRILL-1474: [AtomicRemainder] Failure to allocate requested memory should be logged...
Aditya Kishore [Wed, 1 Oct 2014 00:43:27 +0000 (17:43 -0700)] 
DRILL-1474: [AtomicRemainder] Failure to allocate requested memory should be logged as warning

7 years agoDrill-1688: Complex parquet reader fails to read wide records.
Jason Altekruse [Wed, 12 Nov 2014 00:53:55 +0000 (16:53 -0800)] 
Drill-1688: Complex parquet reader fails to read wide records.

7 years agoDRILL-1559: increment counts even if we break out of the read loop
Chris Westin [Tue, 11 Nov 2014 19:23:13 +0000 (11:23 -0800)] 
DRILL-1559: increment counts even if we break out of the read loop

7 years agoRemove extraneous System.out.print statements.
Jacques Nadeau [Mon, 10 Nov 2014 04:37:58 +0000 (20:37 -0800)] 
Remove extraneous System.out.print statements.

7 years agoAdd handling when a null exception is logged.
Jacques Nadeau [Tue, 11 Nov 2014 17:45:03 +0000 (09:45 -0800)] 
Add handling when a null exception is logged.

7 years agoDRILL-1671, DRILL-1653, DRILL-1652: Fixes for flatten bugs
Jacques Nadeau [Tue, 11 Nov 2014 06:16:19 +0000 (22:16 -0800)] 
DRILL-1671, DRILL-1653, DRILL-1652: Fixes for flatten bugs

7 years agoDRILL-1643, DRILL-1665: Flatten fixes
Jason Altekruse [Thu, 6 Nov 2014 02:11:22 +0000 (18:11 -0800)] 
DRILL-1643, DRILL-1665: Flatten fixes
 - Fix repeated map vector to correctly report value count
 - Update flatten so init variables are reset for each new batch.

7 years agoDRILL-1647: Enable rewrite rule to allow multiple flattens in s a select clause....
Jason Altekruse [Thu, 30 Oct 2014 21:05:32 +0000 (14:05 -0700)] 
DRILL-1647: Enable rewrite rule to allow multiple flattens in s a select clause. Fixes a few outstanding issues that were the reason for disabling it.

Fix for the failed Regression test run. Was an issue with removing cast information, simply needed to return the original expression rather than try to clone it if rewriting was not needed.

Was not visiting the child of a project appropriately, this was causing complex expressions nested inside of a sub-query to fail.

7 years agoDRILL-1648: Fix for fast schema issue that was causing compilation issues in downstre...
Jason Altekruse [Tue, 4 Nov 2014 23:08:27 +0000 (15:08 -0800)] 
DRILL-1648: Fix for fast schema issue that was causing compilation issues in downstream operators.

7 years agoDRILL-1659: Increase default maxWidth for sqlline to 10k
Jacques Nadeau [Tue, 11 Nov 2014 06:46:13 +0000 (22:46 -0800)] 
DRILL-1659: Increase default maxWidth for sqlline to 10k

7 years agoDRILL-1674: Set schema in WriterRecordBatch
Steven Phillips [Wed, 29 Oct 2014 01:47:16 +0000 (18:47 -0700)] 
DRILL-1674: Set schema in WriterRecordBatch

7 years agoDRILL-1675: Add method to get QueryId from DrillResultSet
Steven Phillips [Wed, 29 Oct 2014 20:42:46 +0000 (13:42 -0700)] 
DRILL-1675: Add method to get QueryId from DrillResultSet

7 years agoDRILL-1678: Add fragment and operator id to label in plan visualizer
Steven Phillips [Wed, 29 Oct 2014 08:53:41 +0000 (01:53 -0700)] 
DRILL-1678: Add fragment and operator id to label in plan visualizer

7 years agoDRILL-1639: Close Hive resources
Jacques Nadeau [Wed, 5 Nov 2014 16:55:19 +0000 (08:55 -0800)] 
DRILL-1639: Close Hive resources

7 years agoDRILL-1656: Fix wildcard queries to correctly determine selection root.
Jacques Nadeau [Mon, 10 Nov 2014 20:01:17 +0000 (12:01 -0800)] 
DRILL-1656: Fix wildcard queries to correctly determine selection root.

7 years agoDRILL-1660: adding a test case to cover an array of empty and null valued objects.
Hanifi Gunes [Tue, 11 Nov 2014 23:46:10 +0000 (15:46 -0800)] 
DRILL-1660: adding a test case to cover an array of empty and null valued objects.
i) remove redundant guard statement from JsonRecordReader2
ii) rename unit test suite

7 years agoDRILL-1638: display list of files in the logical plan
Hanifi Gunes [Tue, 11 Nov 2014 02:00:02 +0000 (18:00 -0800)] 
DRILL-1638: display list of files in the logical plan

7 years agoDRILL-1592: Detect drillbit failure and cancel the affected running queries.
Jinfeng Ni [Tue, 14 Oct 2014 22:26:23 +0000 (15:26 -0700)] 
DRILL-1592: Detect drillbit failure and cancel the affected running queries.

Revise code based on review comments.

Revise code based on comments: only track the newly dead drillbits.

Remove some debug msg.

Minor code change based on review comments.

clean up.

add comment. Clear listeners when drillbit is unregistered from CC.

Minor code change from review comments.

7 years agoDRILL-1470 : cast into varchar should recognize the length parameter in varchar....
Jinfeng Ni [Tue, 4 Nov 2014 15:22:43 +0000 (07:22 -0800)] 
DRILL-1470 : cast into varchar should recognize the length parameter in varchar. Fix casting function implementation: the length parameter should mean # of chars, not # of bytes.

New unit test case to verify the result from cast function.

Fix bug in cast into varchar. When target length = 0, it means we want to keep the input .

code clean up.

Include change for varbinary cast as well.

7 years agoDRILL-1455: enable projection pushdown past join
Hanifi Gunes [Sat, 8 Nov 2014 00:58:08 +0000 (16:58 -0800)] 
DRILL-1455: enable projection pushdown past join

i) refactor project past filter to remove redundant code
ii) adding unit tests for projection past join & hybrid cases like projection past filter & join
iii) disable one TestExampleQueries#testSelectStartSubQueryJoinWithWhereClause until DRILL-1680 is fixed.

7 years agoDRILL-1631: Bump optiq version to r8
Mehant Baid [Thu, 6 Nov 2014 19:28:27 +0000 (11:28 -0800)] 
DRILL-1631: Bump optiq version to r8
Add test case. Fix is in optiq.

7 years agoDRILL-1663: Fix casting to a variable width type implicitly in a join condition
Mehant Baid [Fri, 7 Nov 2014 21:55:48 +0000 (13:55 -0800)] 
DRILL-1663: Fix casting to a variable width type implicitly in a join condition

Factor out logic in ExpressionTreeMaterializer so the same logic can be reused in ChainedHashTable.

7 years agoDRILL-1585: Update user rpc version due to changes in RpcFailure behavior.
Jacques Nadeau [Fri, 31 Oct 2014 03:25:41 +0000 (20:25 -0700)] 
DRILL-1585: Update user rpc version due to changes in RpcFailure behavior.