drill

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[maven-release-plugin] prepare release drill-1.16.0

    • -1
    • +1
    /contrib/data/tpch-sample-data/pom.xml
  1. … 17 more files in changeset.
DRILL-7212: Add gpg key with apache.org email for sorabh Note: Revert "Add public gpg key for Sorabh" This reverts commit 5a0155977daabe33422aafa96ba04f880d8e7b04.

DRILL-7207: Update the copyright year in NOTICE.txt file

DRILL-7201: Strange symbols in error window (Windows)

Looks like some unicode characters creeped in, causing the rendering to be messed up ONLY for Windows OS. This PR patches that issue and ensures that the Alert symbol also appears correctly.

DRILL-7213: Use dependencySets tag for including artifacts in assembly to consider dependencies from the distribution module

    • -66
    • +14
    /distribution/src/assemble/component.xml
DRILL-7202: Failed query shows warning that fragments made no progress

This bug arises because of the `toggleWarning()` javascript function that shows the warning if the number of slow major fragments matches the number of major fragments.

For failed queries, the number of major fragments = 0; and that matches the number of tags (which is also zero for a non-running query). Hence the warning shows.

DRILL-7190: Missing backward compatibility for REST API with DRILL-6562

DRILL-7186: Add back storage.json REST endpoint (regression after DRILL-6562)

Fixed Error for Long Packets

DRILL-7183: TPCDS query 10, 35, 69 take longer with sf 1000 when Statistics are disabled. This commit reverts the changes done for DRILL-6997.

DRILL-7182: Incorrect access specifier for Join DrillRelMdDistinctRowCount

DRILL-7166: Count query with wildcard should skip reading of metadata summary file

DRILL-7165: Redundant Checksum calculating for ASC files

- change 'checksum-maven-plugin' 'goal' - 'artifacts' -> 'files'

- specify 'includes' in 'fileSet' for 'checksum-maven-plugin'

DRILL-7160: e.q.max_rows QUERY-level option shown even if not set

The fix is to force setting to zero IFF autoLimit was intended to be set originally but is inapplicable; such as 'SHOW DATABASES'. If autolimit was not intended to be applied, setting the value to zero is not required.

WebUI is also patched to not show the zero value set in such scenarios.

DRILL-7188: Revert DRILL-6642: Update protocol-buffers version

1. Updated protobuf to version 3.6.1

2. Added protobuf to the root pom dependency management

3. Added classes BoundedByteString and LiteralByteString for compatibility with HBase

4. Added ProtobufPatcher to provide compatibility with MapR-DB and HBase

    • -2362
    • +1822
    /contrib/native/client/src/protobuf/BitControl.pb.cc
    • -1724
    • +1034
    /contrib/native/client/src/protobuf/BitControl.pb.h
    • -966
    • +786
    /contrib/native/client/src/protobuf/BitData.pb.cc
    • -667
    • +339
    /contrib/native/client/src/protobuf/BitData.pb.h
    • -581
    • +455
    /contrib/native/client/src/protobuf/GeneralRPC.pb.cc
    • -410
    • +245
    /contrib/native/client/src/protobuf/GeneralRPC.pb.h
  1. … 26 more files in changeset.
DRILL-7189: Revert DRILL-7105 Error while building the Drill native client

This reverts commit a72f1700a8d260a2f92ba8955c77df6428feb919.

DRILL-7159: Fix typeString method to return correct name for MAP (aka STRUCT) closes #1741

DRILL-7157: Wrap SchemaParsingException into UserException when creating schema

closes #1740

DRILL-7049: REST API returns the toString of byte arrays (VARBINARY types)

closes #1739

DRILL-7154: TPCH query 4, 17 and 18 take longer with sf 1000 when Statistics are disabled.

closes #1737

DRILL-7048: Implement JDBC Statement.setMaxRows() with System Option

This introduces support for JDBC's Statement.setMaxRows(int) API, which can help Drill execute a query much faster if it knows that not ALL the records in the resultset will be consumed upfront.

This Commit introduces the core changes to support the feature within Drill's execution engine

Protobuf Changes

1. RunQuery: Added "autolimit_rowcount"

2. QueryProfile: Added "autoLimit"

3. Regenerated Java and C++ client files

REST API support

1. Support for REST server to interpret a submitted query and also for rendering this information for an executed query

2. Updates to the Freemarker templates (for WebUI)

3. Safety check within Javascript (for WebUI)

JDBC API support

1. Introduces backend execution of 'ALTER SESSION' to apply the auto-limiting of resultset size

2. Added Unit Tests for PreparedStatement and Statement objects

3. Added getter setter methods to be skipped in testing for org.apache.drill.jdbc.test.Drill2489CallsAfterCloseThrowExceptionsTest.testclosedPreparedStmtOfOpenConnMethodsThrowRight()

Updates based on review comments

Additional Updates

Test Cleanup

1. Revert Drill2489 hack

2. Formatting in *StatementTest

3. Removal f redundant `statement.close()`

4. Manage new Exception thrown when setting invalid maxRow values

Final updates

1. Test changes

2. Trim trailing spaces in auto-limit value (Javascript)

3. Before & After annotations to synchronize changes to system values for MaxRows(auto-limit)

Reorganized tests due to synchronized locking

Removed conflicting JsonCreator in QueryWrapper

Additional test cleanup

closes #1714

    • -6
    • +40
    /contrib/native/client/src/protobuf/User.pb.h
  1. … 20 more files in changeset.
DRILL-7153: Drill Fails to Build using JDK 1.8.0_65 closes #1731

DRILL-7152: During histogram creation handle the case when all values of a column are NULLs.

close apache/drill#1730

DRILL-7045: Updates to address review comments

closes #7134

DRILL-7150: Fix timezone conversion for timestamp from MaprDB after the transition from PDT to PST closes #1729

DRILL-7146: Query failing with NPE when ZK queue is enabled.

DRILL-7145: Exceptions happened during retrieving values from ValueVector are not being displayed at the Drill Web UI closes #1727

DRILL-7143: Support default value for empty columns

Modifies the prior work to add default values for columns. The prior work added defaults

when the entire column is missing from a reader (the old Nullable Int column). The Row

Set mechanism now will also "fill empty" slots with the default value.

Added default support for the column writers. The writers automatically obtain the

default value from the column schema. The default can also be set explicitly on

the column writer.

Updated the null column mechanism to use this feature rather than the ad-hoc

implemention in the prior commit.

Semantics changed a bit. Only Required columns take a default. The default value

is ignored or nullable columns since nullable columns already have a file default: NULL.

Other changes:

* Updated the CSV-with-schema tests to illustrate the new behavior.

* Made multiple fixes for Boolean and Decimal columns and added unit tests.

* Upgraded Fremarker to version 2.3.28 to allow use of the continue statement.

* Reimplemented the Bit column reader and writer to use the BitVector directly since this vector is rather special.

* Added get/set Boolean methods for column accessors

* Moved the BooleanType class to the common package

* Added more CSV unit tests to explore decimal types, booleans, and defaults

* Add special handling for blank fields in from-string conversions

* Added options to the conversion factory to specify blank-handling behavior.

CSV uses a mapping of blanks to null (nullable) or default value (non-nullable)

closes #1726

  1. … 58 more files in changeset.
DRILL-7142: Add space after > in SqlLine prompt

closes #1721

DRILL-7140: RM: Drillbits fail with "No enum constant org.apache.drill.exec.resourcemgr.config.selectionpolicy.QueueSelectionPolicy.SelectionPolicy.bestfit"

closes #1720