drill

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
    • -0
    • +8
    /_docs/015-archived-pages.md
  1. … 97 more files in changeset.
DRILL-1384: Part 4 - Modify cost estimation for DrillProject and Drill Logical Join operator. Use cpu, io, network, meory cost in Drill cost compare method.

Modify DrillProjectRelBase

Use a visitor to identify complex filed with named segment only in DrillProjectRelBase.

Modify cost estimation for Drill Logical Join operator. Use meory cost in Drill cost compare method.

Put the memory costing into DrillCostBase comparison.

Revise based on review comments.

Revise code based on review comments.

DRILL-2612: Union-All can work even when the right input side comes from an empty data source

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

- Created tests:

- integration-level unit test ResultSetGetMethodConversionsTest

- unit-level unit test TypeConvertingAccessorSqlTest

- Created number-converting TypeConvertingSqlAccessor.

- Created conversion exceptions (SQLConversionException, SQLConversionOverflowException).

- Adjusted things:

- Moved InvalidAccessException out into its own file, refined ancestry.

- Moved getType() up to SqlAccessor (for access by TypeConvertingSqlAccessor).

- Made AbstractSqlAccessor public (for use by TypeConvertingSqlAccessor).

- Documented supported ResultSet.getXxx(...) conversions (on new interface

DrillResultSet).

DRILL-2590: In implicit casting rule, make boolean to be implicitly castable from boolean only

    • -0
    • +2
    /exec/java-exec/src/test/resources/store/json/intData.json
DRILL-2591: In UnionAllRecordBactch, the mechansim to detect schema change is corrected

    • -0
    • +12
    /exec/java-exec/src/test/resources/store/json/dateData.json
DRILL-2573: C++ Client - Separate QueryResult into QueryResult and QueryData

    • -122
    • +167
    /contrib/native/client/src/protobuf/BitData.pb.cc
    • -118
    • +138
    /contrib/native/client/src/protobuf/BitData.pb.h
    • -3
    • +4
    /contrib/native/client/src/protobuf/User.pb.h
DRILL-2579: 1-Core fix: Nulled out member to avoid re-using closed Connection. [SingleConnectionCachingFactory]

DRILL-2599: Fix DrillReduceAggregatesRule to not inject additional cast for stddev

DRILL-2579: 2-Hygiene: Renamed to match semantics; fixed, added, formatted doc.; basic whitespace.

- Renamed createConnection -> getConnection.

- Renamed close -> closeConnections

- Added documentation fixes, clarifications, formatting.

- Fixed some basic whitespace.

Update to version 0.9.0-SNAPSHOT

    • -1
    • +1
    /contrib/data/tpch-sample-data/pom.xml
    • -1
    • +1
    /contrib/data/window-test-data/pom.xml
  1. … 3 more files in changeset.
DRILL-2575: FragmentExecutor.cancel() blasts through state transitions regardless of current state

FragmentExecutor:

- Changed cancel() to behave asynchronously, and for the cancelation request to

be checked at an appropriate place in the run() loop.

DRILL-2575: FragmentExecutor.cancel() blasts through state transitions regardless of current state

FragmentExecutor:

- Changed cancel() to behave asynchronously, and for the cancelation request to

be checked at an appropriate place in the run() loop.

DRILL-2333: Use long instead of int to store writer record count.

DRILL-2580: Exit early from HashJoinBatch if build side is empty

DRILL-2574: SendingAccountor can suffer from lost updates

SendingAccountor

- atomically get and set the message count to wait for

DRILL-2574: SendingAccountor can suffer from lost updates

SendingAccountor

- atomically get and set the message count to wait for

    • -93
    • +30
    /_docs/sql-ref/008-sql-extensions.md
    • -25
    • +24
    /_docs/sql-ref/data-types/001-date.md
    • -0
    • +329
    /_docs/sql-ref/functions/001-math.md
    • -7
    • +20
    /_docs/sql-ref/nested/001-flatten.md
    • -6
    • +17
    /_docs/sql-ref/nested/003-repeated-cnt.md
    • -0
    • +80
    /_docs/sql-ref/nested/004-repeated-contains.md
DRILL-2577: Use DrillPathFilter in FooterGatherer

DRILL-2568: Drop filter plan node if all conjuncts have been pushed into the scan as part of partition pruning.

Check presence in children list before adding..

Split prune condition into conjuncts before removing from the original condition. Add plan checking and row count validation to TestPartitionFilter tests.

Move more tests from TestPrune into TestPartitionFilter and added plan checking and results validation.

Remove TestPrune since these tests Are subsumed by the ones in TestPartitionFilter.

DRILL-2572: Use PrelUtil to get PlannerSettings for PruneScanRule.

+ context.getPlannerSettings() returns null sometimes

+ introduced in commit 48c9c01

DRILL-2572: Use PrelUtil to get PlannerSettings for PruneScanRule.

+ context.getPlannerSettings() returns null sometimes

+ introduced in commit 48c9c01

DRILL-2567: CONVERT_FROM in where clause cause the query to fail in planning phase

Set the writeIndex of ByteBuf returned by Unpooled.wrappedBuffer() to 0.

+ Added a unit test to exercise the code path.

DRILL-2567: CONVERT_FROM in where clause cause the query to fail in planning phase

Set the writeIndex of ByteBuf returned by Unpooled.wrappedBuffer() to 0.

+ Added a unit test to exercise the code path.

MD-192: CONVERT_FROM in where clause

* Set the writeIndex of ByteBuf returned by Unpooled.wrappedBuffer() to 0.

DRILL-2559: In case window functions are disabled, throw UnsupportedFunctionException

DRILL-2565: Add some key "already-closed" checks, with test for future DRILL-2489 work.

- Created AlreadyClosedSqlException.

- (Moved JdbcApiSqlException to be subclass of SQLNonTransientException.)

- Created test Drill2489CallsAfterCloseThrowExceptionsTest for eventual fixing

of DRILL-2489.

- (Is partial: Covers Connection, Statement, and ResultSet.)

- (Is interim: Most methods' tests disabled with @Ignore("...DRILL-2489...").)

- Added already-closed checking in key places, especially those that involve

communication and could hang for a while rather than dying quickly (e.g.,

Statement.execute...(...)).

DRILL-2438: Fix reduce aggregates rule to not inject additional casts for avg

DRILL-2547: Don't allow Drill to shut down while queries are still executing This will cause Drillbit.close() to block until all currently executing fragments have completed.

WorkManager

- added waitForExit() and indicateIfSafeToExit(), which use a latch to

wait to shut down if there are active fragments

- waitForExit() times out after 5 seconds

Drillbit

- call WorkManager.waitForExit() in close()

DRILL-2547: Don't allow Drill to shut down while queries are still executing This will cause Drillbit.close() to block until all currently executing fragments have completed.

WorkManager

- added waitForExit() and indicateIfSafeToExit(), which use a latch to

wait to shut down if there are active fragments

- waitForExit() times out after 5 seconds

Drillbit

- call WorkManager.waitForExit() in close()