Clone Tools
  • last updated 15 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-7337: Add vararg UDFs support

  1. … 36 more files in changeset.
DRILL-7307: casthigh for decimal type can lead to the issues with VarDecimalHolder

- Fixed code-gen for VarDecimal type

- Fixed code-gen issue with nullable holders for simple cast functions

with passed constants as arguments.

- Code-gen now honnoring DataType.Optional type defined by UDF for

NULL-IF-NULL functions.

  1. … 9 more files in changeset.
DRILL-4456: Add Hive translate UDF

closes #1527

  1. … 1 more file in changeset.
DRILL-6422: Replace guava imports with shaded ones

  1. … 984 more files in changeset.
DRILL-6320: Fixed license headers.

closes #1207

    • -1
    • +1
    ./fn/impl/hive/AbstractDrillPrimitiveObjectInspector.java
    • -1
    • +1
    ./fn/impl/hive/DrillDeferredObject.java
  1. … 2063 more files in changeset.
DRILL-6094: Decimal data type enhancements

Add ExprVisitors for VARDECIMAL

Modify writers/readers to support VARDECIMAL

- Added usage of VarDecimal for parquet, hive, maprdb, jdbc;

- Added options to store decimals as int32 and int64 or fixed_len_byte_array or binary;

Add UDFs for VARDECIMAL data type

- modify type inference rules

- remove UDFs for obsolete DECIMAL types

Enable DECIMAL data type by default

Add unit tests for DECIMAL data type

Fix mapping for NLJ when literal with non-primitive type is used in join conditions

Refresh protobuf C++ source files

Changes in C++ files

Add support for decimal logical type in Avro.

Add support for date, time and timestamp logical types.

Update Avro version to 1.8.2.

  1. … 201 more files in changeset.
DRILL-6375 : Support for ANY_VALUE aggregate function

closes #1256

  1. … 36 more files in changeset.
DRILL-5399: Fix race condition in DrillComplexWriterFuncHolder

  1. … 10 more files in changeset.
DRILL-4618: Correct the usage of random flag in Hive function registry

+ Function visitor should not use previous function holder if this function is non-deterministic

closes #509

  1. … 4 more files in changeset.
DRILL-4372: (continued) Support for Window functions: - CUME_DIST - DENSE_RANK - PERCENT_RANK - RANK - ROW_NUMBER - NTILE - LEAD - LAG - FIRST_VALUE - LAST_VALUE

  1. … 25 more files in changeset.
DRILL-4459: Resolve SchemaChangeException while querying hive json table

- Replace drill var16char to varchar datatype for hive string datatype

- Change testGenericUDF() and testUDF() to use VarChar instead of Var16Char

- Add unit test for hive GET_JSON_OBJECT UDF

closes #431

  1. … 10 more files in changeset.
DRILL-4372: (continued) Add option to disable/enable function output type inference

  1. … 15 more files in changeset.
DRILL-4372: (continued) Type inference for HiveUDFs

  1. … 2 more files in changeset.
DRILL-3742: Classpath scanning and build improvement

Makes the classpath scanning a build time class discovery

Makes the fmpp generation incremental

Removes some slowness in DrillBit closing

Reduces the build time by 30%

This closes #148

  1. … 143 more files in changeset.
DRILL-3273: Pass an empty DeferredObject to Hive UDFs for null argument value

+ Handle nulls in ObjectInspector implementations for Drill types.

  1. … 6 more files in changeset.
DRILL-2269: Add default implementation for estimating cost of evaluating an expression, in stead of throwing Exception.

Set default cost of evaluating a HiveFuncHolder expression.

  1. … 5 more files in changeset.
DRILL-1402: Add check-style rules for trailing space, TABs and blocks without braces

  1. … 441 more files in changeset.
DRILL-634: Cleanup/organize Java imports and trailing whitespaces from Drill code

  1. … 767 more files in changeset.
DRILL-1347: Update Hive storage plugin to Hive version 0.13.1 from current version 0.12.0.

    • -2
    • +2
    ./fn/impl/hive/AbstractDrillPrimitiveObjectInspector.java
  1. … 7 more files in changeset.
Fix issues with Hive function generation to support DrillBuf

  1. … 2 more files in changeset.
Allow implicit cast of VARCHAR type arg to VAR16CHAR type when resolving Hive UDFs

  1. … 5 more files in changeset.
DRILL-1192: Hive Scalar UDFs: Add Date, TimeStamp and Decimal type support

Also following refactoring:

+ Minimize the number of variables in HiveTypes.tdd

+ Make use of Hive TypeEntries and Hive AbstractPrimitiveObjectInspector to simplify Drill ObjectInspectors implementations.

Test:

+ Add Hive UDF test implementations and testcases to cover all supported types (passing data into Hive UDF and reading data returned from Hive UDF).

    • -0
    • +39
    ./fn/impl/hive/AbstractDrillPrimitiveObjectInspector.java
  1. … 11 more files in changeset.
DRILL-1024: Move hive storage code out of 'exec/java-exec' into 'contrib/storage-hive' module.

+ Create two modules in contrib/storage-hive

++ contrib/storage-hive/hive-exec-shade: creates shaded hive-exec.jar

++ contrib/storage-hive/core: contains Hive storage code (schema, record reader and functions)

+ Update TestHiveUDFs.java to use BaseTestQuery instead of SimpleRootExec

    • -0
    • +76
    ./HiveFuncHolderExpr.java
    • -0
    • +272
    ./fn/HiveFuncHolder.java
    • -0
    • +165
    ./fn/HiveFunctionRegistry.java
    • -0
    • +70
    ./fn/impl/hive/AbstractPrimitiveObjectInspector.java
    • -0
    • +34
    ./fn/impl/hive/DrillDeferredObject.java
  1. … 66 more files in changeset.